How To Install pkgconf-pkg-config on Rocky Linux 8

In this tutorial we learn how to install pkgconf-pkg-config on Rocky Linux 8. pkgconf-pkg-config is pkgconf shim to provide /usr/bin/pkg-config

Introduction

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

What is pkgconf-pkg-config

This package provides the shim links for pkgconf to be automatically used in place of pkgconfig. This ensures that pkgconf is used as the system provider of pkg-config.

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

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

sudo dnf -y install pkgconf-pkg-config

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

sudo yum -y install pkgconf-pkg-config

How To Uninstall pkgconf-pkg-config on Rocky Linux 8

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

sudo dnf remove pkgconf-pkg-config

pkgconf-pkg-config Package Contents on Rocky Linux 8

/usr/bin/i686-redhat-linux-gnu-pkg-config
/usr/bin/pkg-config
/usr/lib/pkgconfig
/usr/share/man/man1/pkg-config.1.gz
/usr/share/pkgconfig
/usr/bin/pkg-config
/usr/bin/x86_64-redhat-linux-gnu-pkg-config
/usr/lib64/pkgconfig
/usr/share/man/man1/pkg-config.1.gz
/usr/share/pkgconfig

References

Summary

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