reprotest command not found

In this troubleshooting guide we learn how to fix reprotest command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

reprotest: command not found

or when using sudo you get the following error message

sudo: reprotest: command not found

Solutions to reprotest: command not found

How To Fix reprotest: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu reprotest is provided by reprotest package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install reprotest

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install reprotest.

sudo apt -y install reprotest

Or if you have aptitude installed you can use the following command.

sudo aptitude install reprotest

Summary

In this tutorial we learn how to fix reprotest command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.