How To Install uuid on CentOS 7

In this tutorial we learn how to install uuid on CentOS 7. uuid is Universally Unique Identifier library

Introduction

In this tutorial we learn how to install uuid on CentOS 7.

What is uuid

OSSP uuid is a ISO-C and corresponding command line interface (CLI) for the generation of DCE 1.1, ISO/IEC 11578 Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based, MD5), version 4 (random number based) and version 5 (name based, SHA-1). Additional API bindings are provided for the languages ISO-C++ exists for the ISO-C DCE-1.1 and Perl Data OSSP uuid is a ISO-C and corresponding command line interface (CLI) for the generation of DCE 1.1, ISO/IEC 11578 Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based, MD5), version 4 (random number based) and version 5 (name based, SHA-1). Additional API bindings are provided for the languages ISO-C++ exists for the ISO-C DCE-1.1 and Perl Data

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

Install uuid on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install uuid using yum by running the following command:

sudo yum -y install uuid

Install uuid 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 uuid using dnf by running the following command:

sudo dnf -y install uuid

How To Uninstall uuid on CentOS 7

To uninstall only the uuid package we can use the following command:

sudo dnf remove uuid

References

Summary

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