How To Install pkgconf-m4 on Rocky Linux 8

In this tutorial we learn how to install pkgconf-m4 on Rocky Linux 8. pkgconf-m4 is m4 macros for pkgconf

Introduction

In this tutorial we learn how to install pkgconf-m4 on Rocky Linux 8.

What is pkgconf-m4

This package includes m4 macros used to support PKG_CHECK_MODULES when using pkgconf with autotools.

We can use yum or dnf to install pkgconf-m4 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pkgconf-m4.

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

sudo dnf -y install pkgconf-m4

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

sudo yum -y install pkgconf-m4

How To Uninstall pkgconf-m4 on Rocky Linux 8

To uninstall only the pkgconf-m4 package we can use the following command:

sudo dnf remove pkgconf-m4

pkgconf-m4 Package Contents on Rocky Linux 8

/usr/share/aclocal/pkg.m4
/usr/share/man/man7/pkg.m4.7.gz

References

Summary

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