How to Install and Uninstall bpftrace.x86_64 Package on Amazon Linux 2

Last updated: November 26,2024

1. Install "bpftrace.x86_64" package

This is a short guide on how to install bpftrace.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install bpftrace.x86_64

2. Uninstall "bpftrace.x86_64" package

Please follow the guidance below to uninstall bpftrace.x86_64 on Amazon Linux 2:

$ sudo yum remove bpftrace.x86_64 $ sudo yum autoremove

3. Information about the bpftrace.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : bpftrace
Arch : x86_64
Version : 0.11.4
Release : 8.amzn2.0.2
Size : 990 k
Repo : amzn2-core/2/x86_64
Summary : High-level tracing language for Linux eBPF
URL : https://github.com/iovisor/bpftrace
License : ASL 2.0
Description : 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