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

Last updated: November 28,2024

1. Install "libbpf.x86_64" package

Please follow the guidelines below to install libbpf.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install libbpf.x86_64

2. Uninstall "libbpf.x86_64" package

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

$ sudo yum remove libbpf.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : libbpf
Arch : x86_64
Version : 0.3.0
Release : 2.amzn2.0.3
Size : 102 k
Repo : amzn2-core/2/x86_64
Summary : Libbpf library
URL : https://github.com/libbpf/libbpf
License : LGPLv2 or BSD
Description : A mirror of bpf-next linux tree bpf-next/tools/lib/bpf directory
: plus its supporting header files. The version of the package
: reflects the version of ABI.