How To Install python3-unbound on Rocky Linux 8

In this tutorial we learn how to install python3-unbound on Rocky Linux 8. python3-unbound is Python 3 modules and extensions for unbound

Introduction

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

What is python3-unbound

Python 3 modules and extensions for unbound

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

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

sudo dnf -y install python3-unbound

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

sudo yum -y install python3-unbound

How To Uninstall python3-unbound on Rocky Linux 8

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

sudo dnf remove python3-unbound

python3-unbound Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/355bcffc4ae17ecd3a55a5831ab97ca5c6a6c9
/usr/lib64/python3.6/site-packages/__pycache__
/usr/lib64/python3.6/site-packages/__pycache__/unbound.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/unbound.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/unboundmodule.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/unboundmodule.cpython-36.pyc
/usr/lib64/python3.6/site-packages/_unbound.so
/usr/lib64/python3.6/site-packages/unbound.py
/usr/lib64/python3.6/site-packages/unboundmodule.py
/usr/share/doc/python3-unbound
/usr/share/doc/python3-unbound/async-lookup.py
/usr/share/doc/python3-unbound/calc.py
/usr/share/doc/python3-unbound/dict.py
/usr/share/doc/python3-unbound/dict_data.txt
/usr/share/doc/python3-unbound/dns-lookup.py
/usr/share/doc/python3-unbound/dnssec-valid.py
/usr/share/doc/python3-unbound/dnssec_test.py
/usr/share/doc/python3-unbound/edns.py
/usr/share/doc/python3-unbound/example8-1.py
/usr/share/doc/python3-unbound/idn-lookup.py
/usr/share/doc/python3-unbound/inplace_callbacks.py
/usr/share/doc/python3-unbound/log.py
/usr/share/doc/python3-unbound/mx-lookup.py
/usr/share/doc/python3-unbound/ns-lookup.py
/usr/share/doc/python3-unbound/resgen.py
/usr/share/doc/python3-unbound/resip.py
/usr/share/doc/python3-unbound/resmod.py
/usr/share/doc/python3-unbound/reverse-lookup.py
/usr/share/licenses/python3-unbound
/usr/share/licenses/python3-unbound/LICENSE

References

Summary

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