How To Install gnulib-docs on CentOS 7

In this tutorial we learn how to install gnulib-docs on CentOS 7. gnulib-docs is Documentation for gnulib modules

Introduction

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

What is gnulib-docs

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 documentation for gnulib.

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

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

sudo yum -y install gnulib-docs

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

sudo dnf -y install gnulib-docs

How To Uninstall gnulib-docs on CentOS 7

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

sudo dnf remove gnulib-docs

References

Summary

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