How To Install gnulib-devel on CentOS 7

In this tutorial we learn how to install gnulib-devel on CentOS 7. gnulib-devel is Devel files of gnulib

Introduction

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

What is gnulib-devel

The GNU portability library is a macro system and C declarations and definitions for commonly-used API elements and abstracted system behaviors. It can be used to improve portability and other functionality in your programs. This package contains devel files of gnulib.

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

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

sudo yum -y install gnulib-devel

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

sudo dnf -y install gnulib-devel

How To Uninstall gnulib-devel on CentOS 7

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

sudo dnf remove gnulib-devel

References

Summary

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