How To Install pkg-perl-autopkgtest on Debian 9
Introduction
In this tutorial we learn how to install pkg-perl-autopkgtest on Debian 9.
What is pkg-perl-autopkgtest
pkg-perl-autopkgtest is:
This package contains test runners to be used with the autopkgtest infrastructure for perl packages.
Packages using the tests with autopkgtests in this package need to depend on it in their debian/tests/control file, not in their debian/control file.
There are three methods to install pkg-perl-autopkgtest 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 pkg-perl-autopkgtest Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install pkg-perl-autopkgtest using apt-get by running the following command:
sudo apt-get -y install pkg-perl-autopkgtest
Install pkg-perl-autopkgtest Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install pkg-perl-autopkgtest using apt by running the following command:
sudo apt -y install pkg-perl-autopkgtest
Install pkg-perl-autopkgtest 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 pkg-perl-autopkgtest using aptitude by running the following command:
sudo aptitude -y install pkg-perl-autopkgtest
How To Uninstall pkg-perl-autopkgtest on Debian 9
To uninstall only the pkg-perl-autopkgtest package we can use the following command:
sudo apt-get remove pkg-perl-autopkgtest
Uninstall pkg-perl-autopkgtest And Its Dependencies
To uninstall pkg-perl-autopkgtest and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove pkg-perl-autopkgtest
Remove pkg-perl-autopkgtest Configurations and Data
To remove pkg-perl-autopkgtest configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge pkg-perl-autopkgtest
Remove pkg-perl-autopkgtest configuration, data, and all of its dependencies
We can use the following command to remove pkg-perl-autopkgtest configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pkg-perl-autopkgtest
Dependencies
pkg-perl-autopkgtest have the following dependencies:
References
Summary
In this tutorial we learn how to install pkg-perl-autopkgtest package on Debian 9 using different package management tools: apt, apt-get and aptitude.