How To Install autopkgtest on Kali Linux
Introduction
In this tutorial we learn how to install autopkgtest on Kali Linux.
What is autopkgtest
autopkgtest is:
autopkgtest runs tests on binary packages. The tests are run on the package as installed on a testbed system (which may be found via a virtualisation or containment system). The tests are expected to be supplied in the corresponding Debian source package.
See autopkgtest(1) and /usr/share/doc/autopkgtest. Depending on which virtualization server you want to use, you need to install additional packages (schroot, lxc, lxd, or qemu-system)
For generating tests of well-known source packages such as Perl and Ruby libraries you should install the autodep8 package.
There are three methods to install autopkgtest on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install autopkgtest Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install autopkgtest using apt-get by running the following command:
sudo apt-get -y install autopkgtestInstall autopkgtest Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install autopkgtest using apt by running the following command:
sudo apt -y install autopkgtestInstall autopkgtest Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install autopkgtest using aptitude by running the following command:
sudo aptitude -y install autopkgtestHow To Uninstall autopkgtest on Kali Linux
To uninstall only the autopkgtest package we can use the following command:
sudo apt-get remove autopkgtestUninstall autopkgtest And Its Dependencies
To uninstall autopkgtest and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove autopkgtestRemove autopkgtest Configurations and Data
To remove autopkgtest configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge autopkgtestRemove autopkgtest configuration, data, and all of its dependencies
We can use the following command to remove autopkgtest configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge autopkgtestDependencies
autopkgtest have the following dependencies:
References
Summary
In this tutorial we learn how to install autopkgtest package on Kali Linux using different package management tools: apt, apt-get and aptitude.