How To Install bcc-devel on Fedora 36

In this tutorial we learn how to install bcc-devel in Fedora 36. bcc-devel is Shared library for BPF Compiler Collection (BCC)

Introduction

In this tutorial we learn how to install bcc-devel on Fedora 36.

What is bcc-devel

The bcc-devel package contains libraries and header files for developing application that use BPF Compiler Collection (BCC).

We can use yum or dnf to install bcc-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install bcc-devel.

Install bcc-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install bcc-devel using dnf by running the following command:

sudo dnf -y install bcc-devel

Install bcc-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install bcc-devel using yum by running the following command:

sudo yum -y install bcc-devel

How To Uninstall bcc-devel on Fedora 36

To uninstall only the bcc-devel package we can use the following command:

sudo dnf remove bcc-devel

bcc-devel Package Contents on Fedora 36

/usr/include/bcc
/usr/include/bcc/BPF.h
/usr/include/bcc/BPFTable.h
/usr/include/bcc/bcc_common.h
/usr/include/bcc/bcc_elf.h
/usr/include/bcc/bcc_exception.h
/usr/include/bcc/bcc_proc.h
/usr/include/bcc/bcc_syms.h
/usr/include/bcc/bcc_usdt.h
/usr/include/bcc/bcc_version.h
/usr/include/bcc/bpf_module.h
/usr/include/bcc/compat
/usr/include/bcc/compat/linux
/usr/include/bcc/file_desc.h
/usr/include/bcc/libbpf.h
/usr/include/bcc/perf_reader.h
/usr/include/bcc/table_desc.h
/usr/include/bcc/table_storage.h
/usr/lib64/libbcc.so
/usr/lib64/libbcc_bpf.so
/usr/lib64/pkgconfig/libbcc.pc

References

Summary

In this tutorial we learn how to install bcc-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).