How To Install aptitude on Ubuntu 18.04 – 20.04

This tutorial teaches us how to install aptitude on Ubuntu 18.04 – 20.04. aptitude is a terminal-based package manager

Introduction

This tutorial teaches us how to install aptitude on Ubuntu 18.04 – 20.04.

What is aptitude

Aptitude is a package manager with several valuable features, including a mutt-like syntax for matching packages in a flexible manner, deselect-like persistence of user actions, and the ability to retrieve and display the Debian changelog of most packages, and a command-line mode similar to that of apt-get.

Aptitude is also Y2K-compliant, non-fattening, naturally cleansing, and housebroken. There are three ways to install aptitude Ubuntu 18.04 – 20.04. We can use apt-get, and apt. In the next steps, we will describe each method. After that, you can choose one of them.

Install aptitude Using apt-get

Update the apt database with apt-get using the command.

sudo apt-get update

After updating the apt database, We can install aptitude using apt-get by running the following command:

sudo apt-get -y install aptitude

Install aptitude Using apt

Update the apt database with apt using the following command.

sudo apt update

After updating the apt database, We can install aptitude using apt by running the following command:

sudo apt -y install aptitude

How To Uninstall aptitude on Ubuntu 18.04 – 20.04

To uninstall only the aptitude package, we can use the following command:

sudo apt-get remove aptitude

Uninstall aptitude And Its Dependencies

To uninstall aptitude and its dependencies that are no longer needed by Ubuntu 18.04 – 20.04, we can use the command below:

sudo apt-get -y autoremove aptitude

Remove aptitude Configurations and Data.

To remove aptitude configuration and data from Ubuntu 18.04 – 20.04, we can use the following command:

sudo apt-get -y purge aptitude

Remove aptitude configuration, data, and all of its dependencies.

We can use the following command to remove aptitude configurations, data, and all of its dependencies. We can use the following command:

sudo apt-get -y autoremove --purge aptitude

References

Summary

This tutorial teaches us how to install aptitude on Ubuntu 18.04 – 20.04 using different package management tools like apt, and apt-get.

Recent Articles

Related Stories

Stay on op - Ge the daily news in your inbox