How To Install popularity-contest on Debian 9
Introduction
In this tutorial we learn how to install popularity-contest
on Debian 9.
What is popularity-contest
popularity-contest is:
The popularity-contest package sets up a cron job that will periodically anonymously submit to the Debian developers statistics about the most used Debian packages on this system.
This information helps Debian make decisions such as which packages should go on the first CD. It also lets Debian improve future versions of the distribution so that the most popular packages are the ones which are installed automatically for new users.
There are three methods to install popularity-contest
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install popularity-contest Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install popularity-contest
using apt-get
by running the following command:
sudo apt-get -y install popularity-contest
Install popularity-contest Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install popularity-contest
using apt
by running the following command:
sudo apt -y install popularity-contest
Install popularity-contest 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 popularity-contest
using aptitude
by running the following command:
sudo aptitude -y install popularity-contest
How To Uninstall popularity-contest on Debian 9
To uninstall only the popularity-contest
package we can use the following command:
sudo apt-get remove popularity-contest
Uninstall popularity-contest And Its Dependencies
To uninstall popularity-contest
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove popularity-contest
Remove popularity-contest Configurations and Data
To remove popularity-contest
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge popularity-contest
Remove popularity-contest configuration, data, and all of its dependencies
We can use the following command to remove popularity-contest
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge popularity-contest
Dependencies
popularity-contest have the following dependencies:
References
Summary
In this tutorial we learn how to install popularity-contest
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.