How To Install apr-util.x86_64 on Amazon Linux 2

In this tutorial we learn how to install apr-util.x86_64 in Amazon Linux 2. apr-util.x86_64 is Apache Portable Runtime Utility library

Introduction

In this tutorial we learn how to install apr-util.x86_64 on Amazon Linux 2.

What is apr-util.x86_64

The mission of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines. This library contains additional utility interfaces for APR; including support for XML, LDAP, database interfaces, URI parsing and more.

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

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

sudo yum -y install apr-util.x86_64

How To Uninstall apr-util.x86_64 on Amazon Linux 2

To uninstall only the apr-util.x86_64 package we can use the following command:

sudo yum remove apr-util.x86_64

apr-util.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/apr-util-1
/usr/lib64/libaprutil-1.so.0
/usr/lib64/libaprutil-1.so.0.6.1
/usr/share/doc/apr-util-1.6.1
/usr/share/doc/apr-util-1.6.1/CHANGES
/usr/share/doc/apr-util-1.6.1/LICENSE
/usr/share/doc/apr-util-1.6.1/NOTICE

References

Summary

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