Building aptitude from source code

You also can build aptitude from source; however, this is probably not a useful exercise unless apt is already available on your system. If it is, you can install aptitude from source with the following steps:

  1. Install the following pieces of software:

Once all the required components are available, open a terminal and execute the command tar zxf aptitude-0.4.11.2.tar.gz to unpack the source code. Once the source code is unpacked, type cd aptitude-0.4.11.2 && ./configure && make to compile aptitude. If this succeeds, make sure you are the root user (by using su, for instance), then type make install to install aptitude on your computer. Once aptitude is successfully installed, typing aptitude at a command prompt should start the program.