ndselect command not found

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

Introduction

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

ndselect: command not found

or when using sudo you get the following error message

sudo: ndselect: command not found

Solutions to ndselect: command not found

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

In Ubuntu ndselect 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 ndselect command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.