Debian apt-get
Debian apt-get allows you to install, upgrade and remove debian packages on a debian based distros such as Edubuntu, Ubuntu or Xubuntu.You could also use aptitude
If you are behind a proxy server use HttpProxy or edit apt.conf
apt.conf
Edit /etc/apt/apt.conf# vi /etc/apt/apt.conf
and add
Acquire::http::Proxy "http://myproxy.co.uk:8080";
sources.list
# grep ^deb sources.list deb http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse deb http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse deb http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse
apt-get error
If you getPackage aptitude is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package aptitude has no installation candidate
try a
# apt-get update
Update package index and Upgrade the package files
$ sudo apt-get update $ sudo apt-get upgrade
Install a new package
$ sudo apt-get install gzip
Remove a package
$ sudo apt-get remove gzip
REFERRERS
DebianPackageTools