How To Install aptitude-common on Debian 10

Learn how to install aptitude-common on Debian 10 with this tutorial. aptitude-common is architecture independent files for the aptitude package manager

Introduction

In this tutorial we learn how to install aptitude-common on Debian 10.

What is aptitude-common

aptitude-common is:

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

This package contains the data files and translations used by aptitude.

There are three methods to install aptitude-common on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install aptitude-common Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install aptitude-common

Install aptitude-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install aptitude-common

Install aptitude-common Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install aptitude-common

How To Uninstall aptitude-common on Debian 10

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

sudo apt-get remove aptitude-common

Uninstall aptitude-common And Its Dependencies

To uninstall aptitude-common and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove aptitude-common

Remove aptitude-common Configurations and Data

To remove aptitude-common configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge aptitude-common

Remove aptitude-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge aptitude-common

Dependencies

aptitude-common have the following dependencies:

References

Summary

In this tutorial we learn how to install aptitude-common package on Debian 10 using different package management tools: apt, apt-get and aptitude.