How to Install and Uninstall gcc-bpf Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 08,2024

1. Install "gcc-bpf" package

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

$ sudo apt update $ sudo apt install gcc-bpf

2. Uninstall "gcc-bpf" package

This guide let you learn how to uninstall gcc-bpf on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gcc-bpf $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-bpf package on Ubuntu 21.04 (Hirsute Hippo)

Package: gcc-bpf
Architecture: amd64
Version: 10.3.0-1ubuntu1+1ubuntu1
Built-Using: gcc-10 (= 10.3.0-1ubuntu1)
Priority: optional
Section: universe/devel
Source: gcc-bpf (5ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20810
Depends: libc6 (>= 2.33), libgmp10, libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4), binutils-bpf
Filename: pool/universe/g/gcc-bpf/gcc-bpf_10.3.0-1ubuntu1+1ubuntu1_amd64.deb
Size: 6248868
MD5sum: 2fe819d76872913d994742a07a47ba5e
SHA1: 36547ed188dc1b99db0de6080e886b3dd6643615
SHA256: 31ba37db542ca6ae5b9cb72116a568aa3bbab2f408abc17ce8f44646be8ac83e
SHA512: 4a909f7c49bb49f74fde77519d53ffd14a76b69edb08dc421f1227affb2ae077f97b058719b9f1ce044069d7617414b72ec59cf213633040c13a477035c3b76a
Homepage: https://gcc.gnu.org/
Description-en: GNU C compiler for bpf
Cross compiler for the bpf target. This package is primarily for
those developing for BPF and is not needed by normal
users or developers.
Description-md5: bf73980f156e85c78d4ea933767f3884