How To Install python3-libnl3 on Rocky Linux 8

In this tutorial we learn how to install python3-libnl3 on Rocky Linux 8. python3-libnl3 is libnl3 binding for Python 3

Introduction

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

What is python3-libnl3

Python 3 bindings for libnl3

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

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

sudo dnf -y install python3-libnl3

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

sudo yum -y install python3-libnl3

How To Uninstall python3-libnl3 on Rocky Linux 8

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

sudo dnf remove python3-libnl3

python3-libnl3 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/48bc35fda9e53d259dc758decb5c9e8a406b9a
/usr/lib/.build-id/79
/usr/lib/.build-id/79/f3bae29c443652c14e1ffcc326ebca9983174e
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/07ba2155b8b8510dd61d3bb16ceb112bab64c4
/usr/lib64/python3.6/site-packages/netlink
/usr/lib64/python3.6/site-packages/netlink-1.0-py3.6.egg-info
/usr/lib64/python3.6/site-packages/netlink/__init__.py
/usr/lib64/python3.6/site-packages/netlink/__pycache__
/usr/lib64/python3.6/site-packages/netlink/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/__pycache__/capi.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/__pycache__/capi.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/__pycache__/core.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/__pycache__/util.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/_capi.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/netlink/capi.py
/usr/lib64/python3.6/site-packages/netlink/core.py
/usr/lib64/python3.6/site-packages/netlink/genl
/usr/lib64/python3.6/site-packages/netlink/genl/__init__.py
/usr/lib64/python3.6/site-packages/netlink/genl/__pycache__
/usr/lib64/python3.6/site-packages/netlink/genl/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/genl/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/genl/__pycache__/capi.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/genl/__pycache__/capi.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/genl/_capi.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/netlink/genl/capi.py
/usr/lib64/python3.6/site-packages/netlink/route
/usr/lib64/python3.6/site-packages/netlink/route/__init__.py
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/address.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/address.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/capi.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/capi.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/link.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/link.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/tc.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/__pycache__/tc.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/_capi.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/netlink/route/address.py
/usr/lib64/python3.6/site-packages/netlink/route/capi.py
/usr/lib64/python3.6/site-packages/netlink/route/link.py
/usr/lib64/python3.6/site-packages/netlink/route/links
/usr/lib64/python3.6/site-packages/netlink/route/links/__init__.py
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__/dummy.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__/dummy.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__/inet.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__/inet.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__/vlan.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/links/__pycache__/vlan.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/links/dummy.py
/usr/lib64/python3.6/site-packages/netlink/route/links/inet.py
/usr/lib64/python3.6/site-packages/netlink/route/links/vlan.py
/usr/lib64/python3.6/site-packages/netlink/route/qdisc
/usr/lib64/python3.6/site-packages/netlink/route/qdisc/__init__.py
/usr/lib64/python3.6/site-packages/netlink/route/qdisc/__pycache__
/usr/lib64/python3.6/site-packages/netlink/route/qdisc/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/qdisc/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/qdisc/__pycache__/htb.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/netlink/route/qdisc/__pycache__/htb.cpython-36.pyc
/usr/lib64/python3.6/site-packages/netlink/route/qdisc/htb.py
/usr/lib64/python3.6/site-packages/netlink/route/tc.py
/usr/lib64/python3.6/site-packages/netlink/util.py

References

Summary

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