How To Install reprotest on Kali Linux
Introduction
In this tutorial we learn how to install reprotest on Kali Linux.
What is reprotest
reprotest is:
reprotest builds the same source code twice in different environments, and then checks the binaries produced by each build for differences. If any are found, then diffoscope (or if unavailable then diff) is used to display them in detail for later analysis.
It supports different types of environment such as a “null” environment (i.e. doing the builds directly in /tmp) or various other virtual servers, for example schroot, ssh, qemu, and several others.
reprotest is developed as part of the ??reproducible builds?? Debian project.
There are three methods to install reprotest 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 reprotest Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install reprotest using apt-get by running the following command:
sudo apt-get -y install reprotestInstall reprotest Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install reprotest using apt by running the following command:
sudo apt -y install reprotestInstall reprotest 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 reprotest using aptitude by running the following command:
sudo aptitude -y install reprotestHow To Uninstall reprotest on Kali Linux
To uninstall only the reprotest package we can use the following command:
sudo apt-get remove reprotestUninstall reprotest And Its Dependencies
To uninstall reprotest and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove reprotestRemove reprotest Configurations and Data
To remove reprotest configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge reprotestRemove reprotest configuration, data, and all of its dependencies
We can use the following command to remove reprotest configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge reprotestDependencies
reprotest have the following dependencies:
References
Summary
In this tutorial we learn how to install reprotest package on Kali Linux using different package management tools: apt, apt-get and aptitude.