How To Install libuuid-devel on CentOS 7

In this tutorial we learn how to install libuuid-devel on CentOS 7. libuuid-devel is Universally unique ID library

Introduction

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

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. 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 7. 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 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libuuid-devel

Install libuuid-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libuuid-devel

How To Uninstall libuuid-devel on CentOS 7

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

sudo dnf remove libuuid-devel

References

Summary

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