How To Install apr.i686 on Amazon Linux 2

In this tutorial we learn how to install apr.i686 in Amazon Linux 2. apr.i686 is Apache Portable Runtime library

Introduction

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

What is apr.i686

The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines, forming a system portability layer to as many operating systems as possible, including Unices, MS Win32, BeOS and OS/2.

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

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

sudo yum -y install apr.i686

How To Uninstall apr.i686 on Amazon Linux 2

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

sudo yum remove apr.i686

apr.i686 Package Contents on Amazon Linux 2

/usr/lib/libapr-1.so.0
/usr/lib/libapr-1.so.0.7.0
/usr/share/doc/apr-1.7.0
/usr/share/doc/apr-1.7.0/CHANGES
/usr/share/doc/apr-1.7.0/LICENSE
/usr/share/doc/apr-1.7.0/NOTICE

References

Summary

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