How To Install iproute-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install iproute-devel.x86_64 in Amazon Linux 2. iproute-devel.x86_64 is iproute development files

Introduction

In this tutorial we learn how to install iproute-devel.x86_64 on Amazon Linux 2.

What is iproute-devel.x86_64

The libnetlink static library.

We can use yum to install iproute-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 iproute-devel.x86_64.

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

sudo yum -y install iproute-devel.x86_64

How To Uninstall iproute-devel.x86_64 on Amazon Linux 2

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

sudo yum remove iproute-devel.x86_64

iproute-devel.x86_64 Package Contents on Amazon Linux 2

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

References

Summary

In this tutorial we learn how to install iproute-devel.x86_64 on Amazon Linux 2 using yum.