How To Install libconfig.i686 on Amazon Linux 2

In this tutorial we learn how to install libconfig.i686 in Amazon Linux 2. libconfig.i686 is C/C++ configuration file library

Introduction

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

What is libconfig.i686

Libconfig is a simple library for manipulating structured configuration files. This file format is more compact and more readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code.

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

Install libconfig.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 libconfig.i686 using yum by running the following command:

sudo yum -y install libconfig.i686

How To Uninstall libconfig.i686 on Amazon Linux 2

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

sudo yum remove libconfig.i686

libconfig.i686 Package Contents on Amazon Linux 2

/usr/lib/libconfig++.so.9
/usr/lib/libconfig++.so.9.1.3
/usr/lib/libconfig.so.9
/usr/lib/libconfig.so.9.1.3
/usr/share/doc/libconfig-1.4.9
/usr/share/doc/libconfig-1.4.9/AUTHORS
/usr/share/doc/libconfig-1.4.9/COPYING.LIB
/usr/share/doc/libconfig-1.4.9/ChangeLog
/usr/share/doc/libconfig-1.4.9/README

References

Summary

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