How To Install gnulib-docs on Rocky Linux 8

In this tutorial we learn how to install gnulib-docs on Rocky Linux 8. gnulib-docs is Documentation for gnulib modules

Introduction

In this tutorial we learn how to install gnulib-docs on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gnulib-docs.

Install gnulib-docs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gnulib-docs using dnf by running the following command:

sudo dnf -y install gnulib-docs

Install gnulib-docs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gnulib-docs using yum by running the following command:

sudo yum -y install gnulib-docs

How To Uninstall gnulib-docs on Rocky Linux 8

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

sudo dnf remove gnulib-docs

gnulib-docs Package Contents on Rocky Linux 8

/usr/share/doc/gnulib/MODULES.html
/usr/share/doc/gnulib/gnulib.html
/usr/share/info/gnulib.info.gz

References

Summary

In this tutorial we learn how to install gnulib-docs on Rocky Linux 8 using yum and dnf.