How To Install iproute-devel on Rocky Linux 8

In this tutorial we learn how to install iproute-devel on Rocky Linux 8. iproute-devel is iproute development files

Introduction

In this tutorial we learn how to install iproute-devel on Rocky Linux 8.

What is iproute-devel

The libnetlink static library.

We can use yum or dnf to install iproute-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install iproute-devel.

Install iproute-devel 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 iproute-devel using dnf by running the following command:

sudo dnf -y install iproute-devel

Install iproute-devel 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 iproute-devel using yum by running the following command:

sudo yum -y install iproute-devel

How To Uninstall iproute-devel on Rocky Linux 8

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

sudo dnf remove iproute-devel

iproute-devel Package Contents on Rocky Linux 8

/usr/include/iproute2/bpf_elf.h
/usr/include/libnetlink.h
/usr/lib/libnetlink.a
/usr/share/licenses/iproute-devel
/usr/share/licenses/iproute-devel/COPYING
/usr/share/man/man3/libnetlink.3.gz
/usr/include/iproute2/bpf_elf.h
/usr/include/libnetlink.h
/usr/lib64/libnetlink.a
/usr/share/licenses/iproute-devel
/usr/share/licenses/iproute-devel/COPYING
/usr/share/man/man3/libnetlink.3.gz

References

Summary

In this tutorial we learn how to install iproute-devel on Rocky Linux 8 using yum and dnf.