slabratetop-bpfcc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
slabratetop-bpfcc: command not found
or when using sudo you get the following error message
sudo: slabratetop-bpfcc: command not found
Solutions to slabratetop-bpfcc: command not found
How To Fix slabratetop-bpfcc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu slabratetop-bpfcc is provided by bpfcc-tools package.
bpfcc-tools is:
BPF Compiler Collection (BCC) is a toolkit for creating efficient kernel tracing and manipulation programs
It makes use of extended BPF (Berkeley Package Filter) and provides tools for BPF based Linux IO analysis, networking, monitoring and more
This package provides the command-line tools and examples
To fix this problem, we can install more using the command below.
sudo apt-get -y install bpfcc-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bpfcc-tools.
sudo apt -y install bpfcc-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install bpfcc-tools
Summary
In this tutorial we learn how to fix slabratetop-bpfcc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.