How to Install and Uninstall bpftrace Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: April 19,2024

1. Install "bpftrace" package

In this section, we are going to explain the necessary steps to install bpftrace on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install bpftrace

2. Uninstall "bpftrace" package

Learn how to uninstall bpftrace on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove bpftrace $ sudo apt autoclean && sudo apt autoremove

3. Information about the bpftrace package on Ubuntu 20.10 (Groovy Gorilla)

Package: bpftrace
Architecture: amd64
Version: 0.11.0-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Vincent Bernat
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1726
Depends: libbpfcc (>= 0.12.0), libc6 (>= 2.27), libclang1-9 (>= 1:9~svn359771-1~), libgcc-s1 (>= 3.0), libllvm9 (>= 1:9~svn298832-1~), libstdc++6 (>= 5.2)
Filename: pool/universe/b/bpftrace/bpftrace_0.11.0-1_amd64.deb
Size: 520556
MD5sum: daa2c070e8f82d5df11700b7a1948e79
SHA1: a0c0e9cf737c9dd0eb2d96ed97ba2091e51e9539
SHA256: 8ecf993c29928a9d24b102d8ff1bf5c83d601c7c4ebe5c2ffac10360d1c2c413
SHA512: 676bd07a56491b63ddc19e45744e206f383f24b93e94fdf250d6e4ab5031962f3d46d32b020dd8242b5faba94f6900cd2a70ed0401cae3b86886b572b7cab9b2
Homepage: https://github.com/iovisor/bpftrace
Description-en: high-level tracing language for Linux eBPF
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.
Description-md5: 77220d45de965013d79717740b8659e5