How To Install pprof.noarch on Amazon Linux 2
In this tutorial we learn how to install pprof.noarch in Amazon Linux 2. pprof.noarch is CPU and Heap Profiler tool
Introduction
In this tutorial we learn how to install pprof.noarch
on Amazon Linux 2.
What is pprof.noarch
Pprof is a heap and CPU profiler tool, part of the gperftools suite.
We can use yum
to install pprof.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pprof.noarch.
Install pprof.noarch 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 pprof.noarch
using yum
by running the following command:
sudo yum -y install pprof.noarch
How To Uninstall pprof.noarch on Amazon Linux 2
To uninstall only the pprof.noarch
package we can use the following command:
sudo yum remove pprof.noarch
pprof.noarch Package Contents on Amazon Linux 2
/usr/bin/pprof
/usr/share/man/man1/pprof.1.gz
References
Summary
In this tutorial we learn how to install pprof.noarch
on Amazon Linux 2 using yum.