Making use of aptitude
The aptitude
command is a very useful, text-based utility for managing packages on your server. Some administrators use it as an alternative to apt
, and it even has additional features that you won't find anywhere else. To get started, you'll need to install aptitude
, if it isn't already:
# apt-get install aptitude
The most basic usage of aptitude
allows you to perform functions you would normally be able to perform with apt
. In the following table, I outline several example aptitude
commands, as well as their apt
equivalent:
|
apt equivalent |
---|---|
|
|
|
|
|
Get Mastering Ubuntu Server now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.