How To Install pkgconfig.i686 on Amazon Linux 2

In this tutorial we learn how to install pkgconfig.i686 in Amazon Linux 2. pkgconfig.i686 is A tool for determining compilation options

Introduction

In this tutorial we learn how to install pkgconfig.i686 on Amazon Linux 2.

What is pkgconfig.i686

The pkgconfig tool determines compilation options. For each required library, it reads the configuration file and outputs the necessary compiler and linker flags.

We can use yum to install pkgconfig.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pkgconfig.i686.

Install pkgconfig.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install pkgconfig.i686 using yum by running the following command:

sudo yum -y install pkgconfig.i686

How To Uninstall pkgconfig.i686 on Amazon Linux 2

To uninstall only the pkgconfig.i686 package we can use the following command:

sudo yum remove pkgconfig.i686

pkgconfig.i686 Package Contents on Amazon Linux 2

/usr/bin/pkg-config
/usr/lib/pkgconfig
/usr/share/aclocal/pkg.m4
/usr/share/doc/pkgconfig-0.27.1
/usr/share/doc/pkgconfig-0.27.1/AUTHORS
/usr/share/doc/pkgconfig-0.27.1/COPYING
/usr/share/doc/pkgconfig-0.27.1/NEWS
/usr/share/doc/pkgconfig-0.27.1/README
/usr/share/doc/pkgconfig-0.27.1/pkg-config-guide.html
/usr/share/man/man1/pkg-config.1.gz
/usr/share/pkgconfig

References

Summary

In this tutorial we learn how to install pkgconfig.i686 on Amazon Linux 2 using yum.