How to Install and Uninstall bpftrace Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 25,2024

1. Install "bpftrace" package

Here is a brief guide to show you how to install bpftrace on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install bpftrace

2. Uninstall "bpftrace" package

Learn how to uninstall bpftrace on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the bpftrace package on Ubuntu 21.04 (Hirsute Hippo)

Package: bpftrace
Architecture: amd64
Version: 0.11.3-5
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Vincent Bernat
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1830
Depends: libbpf0 (>= 1:0.0.8), libbpfcc (>= 0.18.0+ds), libc6 (>= 2.27), libclang1-11 (>= 1:9~svn359771-1~), libgcc-s1 (>= 3.0), libllvm11 (>= 1:9~svn298832-1~), libstdc++6 (>= 9)
Filename: pool/universe/b/bpftrace/bpftrace_0.11.3-5_amd64.deb
Size: 539784
MD5sum: cc68d3a96f23193b5cf5f41d922c6704
SHA1: 423a7d4c0f939ff7d84227e8d85af124759390d2
SHA256: f1850ae509cd34226bee62376e0a7dd08010b64563cb55ce080f9d59a3990ca7
SHA512: 30d1359a627b980aa481ecd15eb230a793d396bf17e61e3c8473246cd416b82b024fb00bdd02cbf636082e4090524e7a1e2eca6d33bbf6798da6bea736b944c4
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