How To Install bcc-devel.x86_64 on Amazon Linux 2
In this tutorial we learn how to install bcc-devel.x86_64 in Amazon Linux 2. bcc-devel.x86_64 is Shared library for BPF Compiler Collection (BCC)
Introduction
In this tutorial we learn how to install bcc-devel.x86_64
on Amazon Linux 2.
What is bcc-devel.x86_64
The bcc-devel package contains libraries and header files for developing application that use BPF Compiler Collection (BCC).
We can use yum
to install bcc-devel.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install bcc-devel.x86_64.
Install bcc-devel.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install bcc-devel.x86_64
using yum
by running the following command:
sudo yum -y install bcc-devel.x86_64
How To Uninstall bcc-devel.x86_64 on Amazon Linux 2
To uninstall only the bcc-devel.x86_64
package we can use the following command:
sudo yum remove bcc-devel.x86_64
bcc-devel.x86_64 Package Contents on Amazon Linux 2
/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/compat/linux/bpf.h
/usr/include/bcc/compat/linux/bpf_common.h
/usr/include/bcc/compat/linux/btf.h
/usr/include/bcc/compat/linux/if_link.h
/usr/include/bcc/compat/linux/if_xdp.h
/usr/include/bcc/compat/linux/netlink.h
/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-no-libbpf.so
/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.x86_64
on Amazon Linux 2 using yum.