How To Install uuid on Rocky Linux 8

In this tutorial we learn how to install uuid on Rocky Linux 8. uuid is Universally Unique Identifier library

Introduction

In this tutorial we learn how to install uuid on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install uuid.

Install uuid on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove uuid

uuid Package Contents on Rocky Linux 8

/usr/bin/uuid
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/d059ae12c988fd8122192426ae2d0965fcd992
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/e3ebcdd0c670ff6bd6004201462fdc63db62fd
/usr/lib/libossp-uuid.so.16
/usr/lib/libossp-uuid.so.16.0.22
/usr/share/doc/uuid
/usr/share/doc/uuid/AUTHORS
/usr/share/doc/uuid/ChangeLog
/usr/share/doc/uuid/HISTORY
/usr/share/doc/uuid/NEWS
/usr/share/doc/uuid/PORTING
/usr/share/doc/uuid/README
/usr/share/doc/uuid/SEEALSO
/usr/share/doc/uuid/THANKS
/usr/share/doc/uuid/TODO
/usr/share/doc/uuid/USERS
/usr/share/man/man1/uuid.1.gz
/usr/bin/uuid
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/6615f5ad453812434dbe2c348f00342519891c
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/d45192e55f3f547b2cb194643a77cdfae3addd
/usr/lib64/libossp-uuid.so.16
/usr/lib64/libossp-uuid.so.16.0.22
/usr/share/doc/uuid
/usr/share/doc/uuid/AUTHORS
/usr/share/doc/uuid/ChangeLog
/usr/share/doc/uuid/HISTORY
/usr/share/doc/uuid/NEWS
/usr/share/doc/uuid/PORTING
/usr/share/doc/uuid/README
/usr/share/doc/uuid/SEEALSO
/usr/share/doc/uuid/THANKS
/usr/share/doc/uuid/TODO
/usr/share/doc/uuid/USERS
/usr/share/man/man1/uuid.1.gz

References

Summary

In this tutorial we learn how to install uuid on Rocky Linux 8 using yum and dnf.