How To Install python3-whois on Fedora 36

In this tutorial we learn how to install python3-whois in Fedora 36. python3-whois is Python module for retrieving WHOIS information of domains

Introduction

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

What is python3-whois

Python wrapper for the “whois” command with a simple interface to access parsed WHOIS data for a given domain, able to extract data for all the popular TLDs (com, org, net, biz, info…).

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

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

sudo dnf -y install python3-whois

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

sudo yum -y install python3-whois

How To Uninstall python3-whois on Fedora 36

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

sudo dnf remove python3-whois

python3-whois Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/whois
/usr/lib/python3.10/site-packages/whois-0.9.10-py3.10.egg-info
/usr/lib/python3.10/site-packages/whois/_1_query.py
/usr/lib/python3.10/site-packages/whois/_2_parse.py
/usr/lib/python3.10/site-packages/whois/_3_adjust.py
/usr/lib/python3.10/site-packages/whois/__init__.py
/usr/lib/python3.10/site-packages/whois/__pycache__
/usr/lib/python3.10/site-packages/whois/__pycache__/_1_query.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/_1_query.cpython-310.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/_2_parse.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/_2_parse.cpython-310.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/_3_adjust.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/_3_adjust.cpython-310.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/tld_regexpr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/whois/__pycache__/tld_regexpr.cpython-310.pyc
/usr/lib/python3.10/site-packages/whois/exceptions.py
/usr/lib/python3.10/site-packages/whois/tld_regexpr.py
/usr/share/doc/python3-whois
/usr/share/doc/python3-whois/README
/usr/share/licenses/python3-whois
/usr/share/licenses/python3-whois/license

References

Summary

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