How to Install and Uninstall libbpf-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 15,2024

1. Install "libbpf-dev" package

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

$ sudo apt update $ sudo apt install libbpf-dev

2. Uninstall "libbpf-dev" package

This is a short guide on how to uninstall libbpf-dev on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libbpf-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libbpf-dev
Architecture: amd64
Version: 1:0.3-2ubuntu1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libbpf (0.3-2ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sudip Mukherjee
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 625
Depends: libbpf0 (= 1:0.3-2ubuntu1), libelf-dev, zlib1g-dev
Filename: pool/main/libb/libbpf/libbpf-dev_0.3-2ubuntu1_amd64.deb
Size: 149780
MD5sum: 0553e20951360a85db81565138c2f833
SHA1: 5ecc5497a6ded888e5bea35f23f24084de9885e7
SHA256: 375bbe6af9901c80346c1ff67ab1a50ed1126474c7cc9f392974bf490cf6b526
SHA512: c54751e47e1c273d2a229b4d73ce9c059d19d8b1cfc864c4f51a5ca9beab051b7590ab19c8e8fd441d356bce24cfca2b0bdd5b5db260d104550a3d3be5c64bcc
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