Aptitude is the superior way to install, remove, upgrade, and otherwise administer packages on you system with apt. For one, since its inception, aptitude has been solving orphaned dependencies.
Read the comments here
So, as any new user to the world of apt learns, apt-get is the way to install software in your system. After working on a Debian-based system that uses apt, such as Ubuntu, you also learn the various tools:
* apt-get: Installing and removing packages from your system, as well as updating package lists and upgrading the software itself.
* apt-cache: Search for packages in the package list maintained by apt on the local system
* dpkg- Used for various administrative tasks to your system, such as reconfiguring Xorg.