How To Install reprotest on Debian 9

In this tutorial we learn how to install reprotest on Debian 9. reprotest is Build software and check it for reproducibility.

Introduction

In this tutorial we learn how to install reprotest on Debian 9.

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 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 reprotest Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install reprotest using apt-get by running the following command:

sudo apt-get -y install reprotest

Install reprotest Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install reprotest using apt by running the following command:

sudo apt -y install reprotest

Install reprotest 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 reprotest using aptitude by running the following command:

sudo aptitude -y install reprotest

How To Uninstall reprotest on Debian 9

To uninstall only the reprotest package we can use the following command:

sudo apt-get remove reprotest

Uninstall reprotest And Its Dependencies

To uninstall reprotest and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove reprotest

Remove reprotest Configurations and Data

To remove reprotest configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge reprotest

Remove 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 reprotest

Dependencies

reprotest have the following dependencies:

References

Summary

In this tutorial we learn how to install reprotest package on Debian 9 using different package management tools: apt, apt-get and aptitude.