How To Install libgudev1.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libgudev1.x86_64 in Amazon Linux 2. libgudev1.x86_64 is Libraries for adding libudev support to applications that use glib

Introduction

In this tutorial we learn how to install libgudev1.x86_64 on Amazon Linux 2.

What is libgudev1.x86_64

This package contains the libraries that make it easier to use libudev functionality from applications that use glib.

We can use yum to install libgudev1.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libgudev1.x86_64.

Install libgudev1.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 libgudev1.x86_64 using yum by running the following command:

sudo yum -y install libgudev1.x86_64

How To Uninstall libgudev1.x86_64 on Amazon Linux 2

To uninstall only the libgudev1.x86_64 package we can use the following command:

sudo yum remove libgudev1.x86_64

libgudev1.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/girepository-1.0/GUdev-1.0.typelib
/usr/lib64/libgudev-1.0.so.0
/usr/lib64/libgudev-1.0.so.0.2.0

References

Summary

In this tutorial we learn how to install libgudev1.x86_64 on Amazon Linux 2 using yum.