How To Install libgudev1-devel on CentOS 7

In this tutorial we learn how to install libgudev1-devel on CentOS 7. libgudev1-devel is Header files for adding libudev support to applications that use

Introduction

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

What is libgudev1-devel

This package contains the header and pkg-config files for developing glib-based applications using libudev functionality. This package contains the header and pkg-config files for developing glib-based applications using libudev functionality.

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

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

sudo yum -y install libgudev1-devel

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

sudo dnf -y install libgudev1-devel

How To Uninstall libgudev1-devel on CentOS 7

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

sudo dnf remove libgudev1-devel

References

Summary

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