trydiffoscope command not found

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

Introduction

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

trydiffoscope: command not found

or when using sudo you get the following error message

sudo: trydiffoscope: command not found

Solutions to trydiffoscope: command not found

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

In Ubuntu trydiffoscope is provided by trydiffoscope package.

trydiffoscope is:

diffoscope will try to get to the bottom of what makes files or directories different. It will recursively unpack archives of many kinds and transform various binary formats into more human readable form to compare them. It can compare two tarballs, ISO images, or PDF just as easily. The differences can be shown in a text or HTML report.

diffoscope is developed as part of the “reproducible builds” Debian project.

This package contains the https://try.diffoscope.org/ command-line client.

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

sudo apt-get -y install trydiffoscope

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

You can also use apt command to install trydiffoscope.

sudo apt -y install trydiffoscope

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

sudo aptitude install trydiffoscope

Summary

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