How to Install Perf-Tools from GitHub on Debian Latest

Perf-Tools is a collection of performance analysis tools for Linux which includes top-like, tracing, and latency analysis. It can be installed on Debian Latest by following these steps:

Step 1: Install Pre-Requisites

Before installing Perf-Tools, you will need to install some pre-requisites:

sudo apt-get update
sudo apt-get install -y build-essential git flex bison libssl-dev libelf-dev libclang-dev llvm llvm-dev libdw-dev libiberty-dev pkg-config zlib1g-dev perl

Step 2: Clone Perf-Tools Repository

The next step is to clone the Perf-Tools repository from GitHub. You can achieve this by using the following command:

git clone https://github.com/brendangregg/perf-tools.git

This command will download the Perf-Tools repository into your current directory.

Step 3: Build and Install Perf-Tools

The next step is to build and install the Perf-Tools. You can achieve this by running the following commands:

cd perf-tools
make
sudo make install

The above commands will build the tools and install them to your system. You can verify the installation by checking the version of any tool. For example, to check the version of the offcputime tool, you can run the following command:

offcputime -V

This will show you the version of the offcputime tool.

Conclusion

Perf-Tools is a powerful collection of performance analysis tools for Linux that can help you to analyze and improve the performance of your system. By following the above steps, you can easily install Perf-Tools on Debian Latest and start using it.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!