How To Install libxdp on Rocky Linux 8
Introduction
In this tutorial we learn how to install libxdp on Rocky Linux 8.
What is libxdp
The libxdp package contains the libxdp library for managing XDP programs, used by the xdp-tools package
We can use yum or dnf to install libxdp on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libxdp.
Install libxdp on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libxdp using dnf by running the following command:
sudo dnf -y install libxdp
Install libxdp on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libxdp using yum by running the following command:
sudo yum -y install libxdp
How To Uninstall libxdp on Rocky Linux 8
To uninstall only the libxdp package we can use the following command:
sudo dnf remove libxdp
libxdp Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/d732d6b52599eb147fbcf13bf4572d37ccb40d
/usr/lib64/bpf/xdp-dispatcher.o
/usr/lib64/libxdp.so.1
/usr/lib64/libxdp.so.1.0.0
/usr/lib64/libxdp.so.1.1.0
/usr/share/man/man3/libxdp.3.gz
/usr/lib/.build-id
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/c6ba6f638f140e50fd672b707eabc30e837180
/usr/lib/bpf/xdp-dispatcher.o
/usr/lib/libxdp.so.1
/usr/lib/libxdp.so.1.0.0
/usr/lib/libxdp.so.1.1.0
/usr/share/man/man3/libxdp.3.gz
References
Summary
In this tutorial we learn how to install libxdp on Rocky Linux 8 using yum and dnf.