How To Install libuuid on Rocky Linux 8
Introduction
In this tutorial we learn how to install libuuid
on Rocky Linux 8.
What is libuuid
This is the universally unique ID library, part of util-linux. The libuuid library generates and parses 128-bit universally unique id’s (UUID’s). A UUID is an identifier that is unique across both space and time, with respect to the space of all UUIDs. A UUID can be used for multiple purposes, from tagging objects with an extremely short lifetime, to reliably identifying very persistent objects across a network. See also the “uuid” package, which is a separate implementation.
We can use yum
or dnf
to install libuuid
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libuuid.
Install libuuid 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 libuuid
using dnf
by running the following command:
sudo dnf -y install libuuid
Install libuuid 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 libuuid
using yum
by running the following command:
sudo yum -y install libuuid
How To Uninstall libuuid on Rocky Linux 8
To uninstall only the libuuid
package we can use the following command:
sudo dnf remove libuuid
libuuid Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/de889c37318d7798ce5dd241795298f9342808
/usr/lib64/libuuid.so.1
/usr/lib64/libuuid.so.1.3.0
/usr/share/licenses/libuuid
/usr/share/licenses/libuuid/COPYING
/usr/share/licenses/libuuid/COPYING.BSD-3
/usr/lib/.build-id
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/1697ab3cd680083ff022dc085dc8a577532210
/usr/lib/libuuid.so.1
/usr/lib/libuuid.so.1.3.0
/usr/share/licenses/libuuid
/usr/share/licenses/libuuid/COPYING
/usr/share/licenses/libuuid/COPYING.BSD-3
References
Summary
In this tutorial we learn how to install libuuid
on Rocky Linux 8 using yum and dnf.