How To Install piuparts on Kali Linux
Introduction
In this tutorial we learn how to install piuparts on Kali Linux.
What is piuparts
piuparts is:
piuparts tests that .deb packages (as used by Debian) handle installation, upgrading, and removal correctly. It does this by creating a minimal Debian installation in a chroot, and installing, upgrading, and removing packages in that environment, and comparing the state of the directory tree before and after. piuparts reports any files that have been added, removed, or modified during this process.
piuparts is meant as a quality assurance tool for people who create .deb packages to test them before they upload them to the Debian package archive.
There are three methods to install piuparts 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 piuparts Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install piuparts using apt-get by running the following command:
sudo apt-get -y install piupartsInstall piuparts Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install piuparts using apt by running the following command:
sudo apt -y install piupartsInstall piuparts 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 piuparts using aptitude by running the following command:
sudo aptitude -y install piupartsHow To Uninstall piuparts on Kali Linux
To uninstall only the piuparts package we can use the following command:
sudo apt-get remove piupartsUninstall piuparts And Its Dependencies
To uninstall piuparts and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove piupartsRemove piuparts Configurations and Data
To remove piuparts configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge piupartsRemove piuparts configuration, data, and all of its dependencies
We can use the following command to remove piuparts configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge piupartsDependencies
piuparts have the following dependencies:
References
Summary
In this tutorial we learn how to install piuparts package on Kali Linux using different package management tools: apt, apt-get and aptitude.