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

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

Introduction

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

What is gperftools-libs.x86_64

Libraries provided by gperftools, including libtcmalloc and libprofiler.

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

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

sudo yum -y install gperftools-libs.x86_64

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

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

sudo yum remove gperftools-libs.x86_64

gperftools-libs.x86_64 Package Contents on Amazon Linux 2

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

References

Summary

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