google-pprof command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
google-pprof: command not found
or when using sudo you get the following error message
sudo: google-pprof: command not found
Solutions to google-pprof: command not found
How To Fix google-pprof: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu google-pprof is provided by google-perftools package.
google-perftools is:
The gperftools, previously called google-perftools, package contains some utilities to improve and analyze the performance of C++ programs. This is a part of that package, and includes command line utilities.
To fix this problem, we can install more using the command below.
sudo apt-get -y install google-perftools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install google-perftools.
sudo apt -y install google-perftools
Or if you have aptitude installed you can use the following command.
sudo aptitude install google-perftools
Summary
In this tutorial we learn how to fix google-pprof command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.