How To Install gperftools-libs.i686 on Amazon Linux 2

In this tutorial we learn how to install gperftools-libs.i686 in Amazon Linux 2. gperftools-libs.i686 is Libraries provided by gperftools

Introduction

In this tutorial we learn how to install gperftools-libs.i686 on Amazon Linux 2.

What is gperftools-libs.i686

Libraries provided by gperftools, including libtcmalloc and libprofiler.

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

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

sudo yum -y install gperftools-libs.i686

How To Uninstall gperftools-libs.i686 on Amazon Linux 2

To uninstall only the gperftools-libs.i686 package we can use the following command:

sudo yum remove gperftools-libs.i686

gperftools-libs.i686 Package Contents on Amazon Linux 2

/usr/lib/libprofiler.so.0
/usr/lib/libprofiler.so.0.4.14
/usr/lib/libtcmalloc.so.4
/usr/lib/libtcmalloc.so.4.4.5
/usr/lib/libtcmalloc_and_profiler.so.4
/usr/lib/libtcmalloc_and_profiler.so.4.4.5
/usr/lib/libtcmalloc_debug.so.4
/usr/lib/libtcmalloc_debug.so.4.4.5
/usr/lib/libtcmalloc_minimal.so.4
/usr/lib/libtcmalloc_minimal.so.4.4.5
/usr/lib/libtcmalloc_minimal_debug.so.4
/usr/lib/libtcmalloc_minimal_debug.so.4.4.5

References

Summary

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