How To Install libnl3 on Rocky Linux 8

In this tutorial we learn how to install libnl3 on Rocky Linux 8. libnl3 is Convenience library for kernel netlink sockets

Introduction

In this tutorial we learn how to install libnl3 on Rocky Linux 8.

What is libnl3

This package contains a convenience library to simplify using the Linux kernel’s netlink sockets interface for network manipulation

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

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

sudo dnf -y install libnl3

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

sudo yum -y install libnl3

How To Uninstall libnl3 on Rocky Linux 8

To uninstall only the libnl3 package we can use the following command:

sudo dnf remove libnl3

libnl3 Package Contents on Rocky Linux 8

/etc/libnl
/etc/libnl/classid
/etc/libnl/pktloc
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/deab08ad9ed0325a396b7b95c6df3cb0330d87
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/6b38ecd917c5e601089e4659c4b9f5048e7c19
/usr/lib/.build-id/56
/usr/lib/.build-id/56/5bb8afbcb4df1373dc6b8c22eee820526aa19d
/usr/lib/.build-id/69
/usr/lib/.build-id/69/4ea365f01e84ffc87d9e167f6bacf035f387c2
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/e225e631a9baa886685aada4003d22921b43bf
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/d7e6518be5c6392aa11220a3c3e6246923e0cb
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/4ccfdfa0f6e056997eecd19c7adb88fc3bd63b
/usr/lib/libnl-3.so.200
/usr/lib/libnl-3.so.200.26.0
/usr/lib/libnl-genl-3.so.200
/usr/lib/libnl-genl-3.so.200.26.0
/usr/lib/libnl-idiag-3.so.200
/usr/lib/libnl-idiag-3.so.200.26.0
/usr/lib/libnl-nf-3.so.200
/usr/lib/libnl-nf-3.so.200.26.0
/usr/lib/libnl-route-3.so.200
/usr/lib/libnl-route-3.so.200.26.0
/usr/lib/libnl-xfrm-3.so.200
/usr/lib/libnl-xfrm-3.so.200.26.0
/usr/share/doc/libnl3
/usr/share/doc/libnl3/COPYING
/etc/libnl
/etc/libnl/classid
/etc/libnl/pktloc
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/f03ad0704b569db40d881dbe2d1567982526c6
/usr/lib/.build-id/26
/usr/lib/.build-id/26/19af409dcdc4e32acb35b887f81af9da04b2be
/usr/lib/.build-id/36
/usr/lib/.build-id/36/05c74918b0f17b026dcee3f4c979dcc5b2cf59
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/6fafae87c718bbe915f8d8d318cc1ed4d38100
/usr/lib/.build-id/89
/usr/lib/.build-id/89/be0bab83cf6016b942aef7e8081efc831db971
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/4df7f3479392ea231a4a091a38e0a29fbc09fd
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/17a5dfdeaf9320fb861a543cf3c21ba005ee91
/usr/lib64/libnl-3.so.200
/usr/lib64/libnl-3.so.200.26.0
/usr/lib64/libnl-genl-3.so.200
/usr/lib64/libnl-genl-3.so.200.26.0
/usr/lib64/libnl-idiag-3.so.200
/usr/lib64/libnl-idiag-3.so.200.26.0
/usr/lib64/libnl-nf-3.so.200
/usr/lib64/libnl-nf-3.so.200.26.0
/usr/lib64/libnl-route-3.so.200
/usr/lib64/libnl-route-3.so.200.26.0
/usr/lib64/libnl-xfrm-3.so.200
/usr/lib64/libnl-xfrm-3.so.200.26.0
/usr/share/doc/libnl3
/usr/share/doc/libnl3/COPYING

References

Summary

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