udunits2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
udunits2: command not found
or when using sudo you get the following error message
sudo: udunits2: command not found
Solutions to udunits2: command not found
How To Fix udunits2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu udunits2 is provided by udunits-bin package.
udunits-bin is:
udunits is a utility for handling units of physical quantities. It supports conversion between string and binary representations of units, arithmetic manipulation of units, and conversion of numeric values between compatible units. The package is written in the C programming language.
To fix this problem, we can install more using the command below.
sudo apt-get -y install udunits-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install udunits-bin.
sudo apt -y install udunits-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install udunits-bin
Summary
In this tutorial we learn how to fix udunits2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.