How To Install units.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install units.x86_64
on Amazon Linux 2.
What is units.x86_64
Units converts an amount from one unit to another, or tells you what mathematical operation you need to perform to convert from one unit to another. The units program can handle multiplicative scale changes as well as conversions such as Fahrenheit to Celsius.
We can use yum
to install units.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install units.x86_64.
Install units.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install units.x86_64
using yum
by running the following command:
sudo yum -y install units.x86_64
How To Uninstall units.x86_64 on Amazon Linux 2
To uninstall only the units.x86_64
package we can use the following command:
sudo yum remove units.x86_64
units.x86_64 Package Contents on Amazon Linux 2
/usr/bin/units
/usr/bin/units_cur
/usr/share/doc/units-2.01
/usr/share/doc/units-2.01/COPYING
/usr/share/doc/units-2.01/ChangeLog
/usr/share/doc/units-2.01/NEWS
/usr/share/doc/units-2.01/README
/usr/share/info/units.info.gz
/usr/share/man/man1/units.1.gz
/usr/share/man/man1/units_cur.1.gz
/usr/share/units
/usr/share/units/currency.units
/usr/share/units/definitions.units
/usr/share/units/locale.map
References
Summary
In this tutorial we learn how to install units.x86_64
on Amazon Linux 2 using yum.