How To Install gperftools.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install gperftools.x86_64 on Amazon Linux 2.
What is gperftools.x86_64
Perf Tools is a collection of performance analysis tools, including a high-performance multi-threaded malloc() implementation that works particularly well with threads and STL, a thread-friendly heap-checker, a heap profiler, and a cpu-profiler. This is a metapackage which pulls in all of the gperftools (and pprof) binaries, libraries, and development headers, so that you can use them.
We can use yum to install gperftools.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.x86_64.
Install gperftools.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.x86_64 using yum by running the following command:
sudo yum -y install gperftools.x86_64
How To Uninstall gperftools.x86_64 on Amazon Linux 2
To uninstall only the gperftools.x86_64 package we can use the following command:
sudo yum remove gperftools.x86_64
gperftools.x86_64 Package Contents on Amazon Linux 2
References
Summary
In this tutorial we learn how to install gperftools.x86_64 on Amazon Linux 2 using yum.