How To Install libuuid on CentOS 8

libuuid is Universally unique ID library Universally unique ID library Universally unique ID library

Introduction

In this tutorial we learn how to install libuuid on CentOS 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. libuuid 2.32.1 27.el8 i686 96 k util-linux-2.32.1-27.el8.src.rpm baseos Universally unique ID library http BSD 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. libuuid 2.32.1 27.el8 x86_64 95 k util-linux-2.32.1-27.el8.src.rpm baseos Universally unique ID library http BSD 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libuuid.

Install libuuid on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install libuuid

Install libuuid on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove libuuid

libuuid Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/da/5fa0c4ace4e5217f3b7822b1b0041370566f2e
/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/dc
/usr/lib/.build-id/dc/148c395ad8836958183310e41b1af54a2e6e74
/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 CentOS 8 using yum and dnf.