How To Install libuuid-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libuuid-devel.x86_64 in Amazon Linux 2. libuuid-devel.x86_64 is Universally unique ID library

Introduction

In this tutorial we learn how to install libuuid-devel.x86_64 on Amazon Linux 2.

What is libuuid-devel.x86_64

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 to install libuuid-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libuuid-devel.x86_64.

Install libuuid-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libuuid-devel.x86_64

How To Uninstall libuuid-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libuuid-devel.x86_64

libuuid-devel.x86_64 Package Contents on Amazon Linux 2

/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.x86_64 on Amazon Linux 2 using yum.