units_cur command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
units_cur: command not found
or when using sudo you get the following error message
sudo: units_cur: command not found
Solutions to units_cur: command not found
How To Fix units_cur: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu units_cur is provided by units package.
units is:
GNU ‘units’ program converts quantities expressed in various scales to their equivalents in other scales. The ‘units’ program can only handle multiplicative scale changes directly. It uses a functional notation for non-proportional conversions such a Fahrenheit temperature to Celsius temperature.
This package includes the units_cur script to update currency conversion information; this script requires a Python 3 interpreter and the python3-requests library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install units
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install units.
sudo apt -y install units
Or if you have aptitude installed you can use the following command.
sudo aptitude install units
Summary
In this tutorial we learn how to fix units_cur command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.