< Previous | Contents | Next >
4.1. Command Line Aptitude
You can also use Aptitude as a command-line tool, similar to apt. To install the nmap package with all necessary dependencies, as in the apt example, you would use the following command:
sudo aptitude install nmap
To remove the same package, you would use the command:
sudo aptitude remove nmap
Consult the man pages for more details of command line options for Aptitude.