How To Install uom-lib on CentOS 7

In this tutorial we learn how to install uom-lib on CentOS 7. uom-lib is Java Unit of Measurement Libraries (JSR 363)

Introduction

In this tutorial we learn how to install uom-lib on CentOS 7.

What is uom-lib

Units of Measurement Libraries - extending and complementing JSR 363.

We can use yum or dnf to install uom-lib on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install uom-lib.

Install uom-lib on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install uom-lib using yum by running the following command:

sudo yum -y install uom-lib

Install uom-lib on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install uom-lib using dnf by running the following command:

sudo dnf -y install uom-lib

How To Uninstall uom-lib on CentOS 7

To uninstall only the uom-lib package we can use the following command:

sudo dnf remove uom-lib

References

Summary

In this tutorial we learn how to install uom-lib on CentOS 7 using yum and dnf.