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.