How to Install and Uninstall libbpf-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "libbpf-dev" package

In this section, we are going to explain the necessary steps to install libbpf-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libbpf-dev

2. Uninstall "libbpf-dev" package

Please follow the steps below to uninstall libbpf-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libbpf-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libbpf-dev package on Ubuntu 21.10 (Impish Indri)

Package: libbpf-dev
Architecture: amd64
Version: 1:0.4.0-1ubuntu1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libbpf (0.4.0-1ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sudip Mukherjee
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 706
Depends: libbpf0 (= 1:0.4.0-1ubuntu1), libelf-dev, zlib1g-dev
Filename: pool/main/libb/libbpf/libbpf-dev_0.4.0-1ubuntu1_amd64.deb
Size: 170876
MD5sum: 1b2e15eeb221c7483de06c1337dee33f
SHA1: abc02fe16709bcd45e965c32ed4815aad61c3db4
SHA256: 5d4fe3f000dbfdc6634d08392dea9537134c68f9f36c6d5491868e39fd322525
SHA512: b9abcd0de334d0257a3e74c3de9a86ab432a0137c8fd51e8949bfe6daf834d95ab685a354484faf4e57e3c7166e42697dbdd6cceec4b7beb5ba7f96392189668
Description-en: eBPF helper library (development files)
libbpf is a library for loading eBPF programs and reading and
manipulating eBPF objects from user-space.
.
This package is needed to compile programs against libbpf.
Description-md5: ebc34420621f1d340dda3a2cc4306fbc