How To Install libuuid-devel on CentOS 8

libuuid-devel is Universally unique ID library Universally unique ID library

Introduction

In this tutorial we learn how to install libuuid-devel on CentOS 8.

What is libuuid-devel

This is the universally unique ID development library and headers, 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-devel” package, which is a separate implementation. libuuid-devel 2.32.1 27.el8 x86_64 97 k util-linux-2.32.1-27.el8.src.rpm baseos Universally unique ID library http BSD This is the universally unique ID development library and headers, 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-devel” package, which is a separate implementation.

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

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

sudo dnf -y install libuuid-devel

Install libuuid-devel 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-devel using yum by running the following command:

sudo yum -y install libuuid-devel

How To Uninstall libuuid-devel on CentOS 8

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

sudo dnf remove libuuid-devel

libuuid-devel Package Contents on CentOS 8

/usr/include/uuid
/usr/include/uuid/uuid.h
/usr/lib/libuuid.so
/usr/lib/pkgconfig/uuid.pc
/usr/share/man/man3/uuid.3.gz
/usr/share/man/man3/uuid_clear.3.gz
/usr/share/man/man3/uuid_compare.3.gz
/usr/share/man/man3/uuid_copy.3.gz
/usr/share/man/man3/uuid_generate.3.gz
/usr/share/man/man3/uuid_generate_random.3.gz
/usr/share/man/man3/uuid_generate_time.3.gz
/usr/share/man/man3/uuid_generate_time_safe.3.gz
/usr/share/man/man3/uuid_is_null.3.gz
/usr/share/man/man3/uuid_parse.3.gz
/usr/share/man/man3/uuid_time.3.gz
/usr/share/man/man3/uuid_unparse.3.gz
/usr/include/uuid
/usr/include/uuid/uuid.h
/usr/lib64/libuuid.so
/usr/lib64/pkgconfig/uuid.pc
/usr/share/man/man3/uuid.3.gz
/usr/share/man/man3/uuid_clear.3.gz
/usr/share/man/man3/uuid_compare.3.gz
/usr/share/man/man3/uuid_copy.3.gz
/usr/share/man/man3/uuid_generate.3.gz
/usr/share/man/man3/uuid_generate_random.3.gz
/usr/share/man/man3/uuid_generate_time.3.gz
/usr/share/man/man3/uuid_generate_time_safe.3.gz
/usr/share/man/man3/uuid_is_null.3.gz
/usr/share/man/man3/uuid_parse.3.gz
/usr/share/man/man3/uuid_time.3.gz
/usr/share/man/man3/uuid_unparse.3.gz

References

Summary

In this tutorial we learn how to install libuuid-devel on CentOS 8 using yum and dnf.