loads.bt command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
loads.bt: command not found
or when using sudo you get the following error message
sudo: loads.bt: command not found
Solutions to loads.bt: command not found
How To Fix loads.bt: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu loads.bt is provided by bpftrace package.
bpftrace is:
BPFtrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter (eBPF) available in recent Linux kernels (4.x). BPFtrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing capabilities: kernel dynamic tracing (kprobes), user-level dynamic tracing (uprobes), and tracepoints. The BPFtrace language is inspired by awk and C, and predecessor tracers such as DTrace and SystemTap.
To fix this problem, we can install more using the command below.
sudo apt-get -y install bpftrace
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bpftrace.
sudo apt -y install bpftrace
Or if you have aptitude installed you can use the following command.
sudo aptitude install bpftrace
Summary
In this tutorial we learn how to fix loads.bt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.