How To Install popularity-contest on Ubuntu 18.04
Introduction
In this tutorial we learn how to install popularity-contest
on Ubuntu 18.04.
What is popularity-contest
popularity-contest is:
The popularity-contest package sets up a cron job that will periodically anonymously submit to the Ubuntu developers statistics about the most used Ubuntu packages on this system.
This information helps Ubuntu make decisions such as which packages should go on the first CD. It also lets Ubuntu 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 Ubuntu 18.04. 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 Ubuntu. 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 Ubuntu 18.04
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 Ubuntu 18.04, 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 Ubuntu 18.04 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
References
Summary
In this tutorial we learn how to install popularity-contest
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.