How To Install uuid on AlmaLinux 8

In this tutorial we learn how to install uuid in AlmaLinux 8. uuid is Universally Unique Identifier library

Introduction

In this tutorial we learn how to install uuid on AlmaLinux 8.

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++ Optional backward compatibility exists for the ISO-C DCE-1.1 and Perl Data

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

Install uuid on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install uuid

Install uuid on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install uuid

How To Uninstall uuid on AlmaLinux 8

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 AlmaLinux 8 using yum and dnf.