How to add and remove software with Aptitude


Aptitude offers some benefits when installing software that apt doesn't have. Here I'll show you that using Aptitude to install software is every bit as easy as using apt.

Aptitude is a terminal-based package manager that can be used instead of apt-get. Aptitude marks packages that are automatically installed and removes them when no packages depend on them. This makes it easy to remove applications completely. To use Aptitude, replace apt-get with aptitude in the command line. Example:

sudo aptitude install packagename
sudo aptitude remove packagename
sudo aptitude update
sudo aptitude upgrade

So basically, all you have to do is replace apt-get with the word aptitude and you can easily install packages with aptitude.

For an ncurses-based graphical user interface, type

sudo aptitude

For more information, have a look at the aptitude documentation.

This article is derived from Ubuntu:Maverick and is licensed here under the following license: reative Commons Attribution-ShareAlike License is an excellent web site that's powered by TYPO3 and other great open source software. is also a fat free alternative to ice cream.