How To Install pkgme on Ubuntu 18.04
Introduction
In this tutorial we learn how to install pkgme on Ubuntu 18.04.
What is pkgme
pkgme is:
The pkgme program is a framework for generating Debian packaging artifacts from information gleaned from inspecting the code. The framework takes care of the common tasks, and knows about packaging in general. It is extensible so that programming language-specific conventions and rules can be supported.
There are three methods to install pkgme 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 pkgme Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install pkgme using apt-get by running the following command:
sudo apt-get -y install pkgme
Install pkgme Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install pkgme using apt by running the following command:
sudo apt -y install pkgme
Install pkgme 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 pkgme using aptitude by running the following command:
sudo aptitude -y install pkgme
How To Uninstall pkgme on Ubuntu 18.04
To uninstall only the pkgme package we can use the following command:
sudo apt-get remove pkgme
Uninstall pkgme And Its Dependencies
To uninstall pkgme and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove pkgme
Remove pkgme Configurations and Data
To remove pkgme configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge pkgme
Remove pkgme configuration, data, and all of its dependencies
We can use the following command to remove pkgme configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pkgme
References
Summary
In this tutorial we learn how to install pkgme package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.