How To Install python3-ldns on Fedora 36

In this tutorial we learn how to install python3-ldns in Fedora 36. python3-ldns is Python3 extensions for ldns

Introduction

In this tutorial we learn how to install python3-ldns on Fedora 36.

What is python3-ldns

Python3 extensions for ldns

We can use yum or dnf to install python3-ldns on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-ldns.

Install python3-ldns on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-ldns using dnf by running the following command:

sudo dnf -y install python3-ldns

Install python3-ldns on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-ldns using yum by running the following command:

sudo yum -y install python3-ldns

How To Uninstall python3-ldns on Fedora 36

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

sudo dnf remove python3-ldns

python3-ldns Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/07e19260449e0e54b4c0f5d21c73a8fa168e3e
/usr/lib64/python3.10/site-packages/__pycache__
/usr/lib64/python3.10/site-packages/__pycache__/ldns.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/ldns.cpython-310.pyc
/usr/lib64/python3.10/site-packages/__pycache__/ldnsx.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/ldnsx.cpython-310.pyc
/usr/lib64/python3.10/site-packages/_ldns.so
/usr/lib64/python3.10/site-packages/_ldns.so.3
/usr/lib64/python3.10/site-packages/_ldns.so.3.2.0
/usr/lib64/python3.10/site-packages/ldns
/usr/lib64/python3.10/site-packages/ldns.py
/usr/lib64/python3.10/site-packages/ldnsx.py
/usr/share/doc/python3-ldns
/usr/share/doc/python3-ldns/Changelog
/usr/share/doc/python3-ldns/README.ldnsx
/usr/share/licenses/python3-ldns
/usr/share/licenses/python3-ldns/LICENSE.ldnsx

References

Summary

In this tutorial we learn how to install python3-ldns on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).