bps command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bps: command not found
or when using sudo you get the following error message
sudo: bps: command not found
Solutions to bps: command not found
How To Fix bps: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bps is provided by bpfcc-introspection package.
bpfcc-introspection 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 tools to introspect BPF programs. Currently following programs are provided as part of this package.
- bps: Lists all BPF programs loaded into the kernel.
ps
for BPF programs
To fix this problem, we can install more using the command below.
sudo apt-get -y install bpfcc-introspection
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bpfcc-introspection.
sudo apt -y install bpfcc-introspection
Or if you have aptitude installed you can use the following command.
sudo aptitude install bpfcc-introspection
Summary
In this tutorial we learn how to fix bps command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.