numdiff command not found

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

Introduction

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

numdiff: command not found

or when using sudo you get the following error message

sudo: numdiff: command not found

Solutions to numdiff: command not found

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

In Ubuntu numdiff is provided by numdiff package.

numdiff is:

Numdiff is a console application that can be used to compare putatively similar files line by line and field by field, ignoring small numeric differences or/and different numeric formats. It is similar diff or wdiff, but it is aware of floating point numbers including complex and multi-precision numbers. Numdiff is useful to compare text files containing numerical fields, when testing or doing quality control in scientific computing or in numerical analysis.

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

sudo apt-get -y install numdiff

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

You can also use apt command to install numdiff.

sudo apt -y install numdiff

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

sudo aptitude install numdiff

Summary

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