How To Install python3-maxminddb on Fedora 36

In this tutorial we learn how to install python3-maxminddb in Fedora 36. python3-maxminddb is Documentation for maxminddb

Introduction

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

What is python3-maxminddb

This is a Python module for reading MaxMind DB files. The module includes both a pure Python reader and an optional C extension. MaxMind DB is a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6).

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

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

sudo dnf -y install python3-maxminddb

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

sudo yum -y install python3-maxminddb

How To Uninstall python3-maxminddb on Fedora 36

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

sudo dnf remove python3-maxminddb

python3-maxminddb Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/a06560aeda006bab9d7644533d480d0b8b1a6a
/usr/lib64/python3.10/site-packages/maxminddb
/usr/lib64/python3.10/site-packages/maxminddb-2.2.0.dist-info
/usr/lib64/python3.10/site-packages/maxminddb-2.2.0.dist-info/INSTALLER
/usr/lib64/python3.10/site-packages/maxminddb-2.2.0.dist-info/LICENSE
/usr/lib64/python3.10/site-packages/maxminddb-2.2.0.dist-info/METADATA
/usr/lib64/python3.10/site-packages/maxminddb-2.2.0.dist-info/WHEEL
/usr/lib64/python3.10/site-packages/maxminddb-2.2.0.dist-info/top_level.txt
/usr/lib64/python3.10/site-packages/maxminddb/__init__.py
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/const.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/const.cpython-310.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/decoder.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/decoder.cpython-310.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/errors.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/errors.cpython-310.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/file.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/file.cpython-310.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/reader.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/reader.cpython-310.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/types.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/maxminddb/__pycache__/types.cpython-310.pyc
/usr/lib64/python3.10/site-packages/maxminddb/const.py
/usr/lib64/python3.10/site-packages/maxminddb/decoder.py
/usr/lib64/python3.10/site-packages/maxminddb/errors.py
/usr/lib64/python3.10/site-packages/maxminddb/extension.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/maxminddb/extension.pyi
/usr/lib64/python3.10/site-packages/maxminddb/file.py
/usr/lib64/python3.10/site-packages/maxminddb/py.typed
/usr/lib64/python3.10/site-packages/maxminddb/reader.py
/usr/lib64/python3.10/site-packages/maxminddb/types.py
/usr/share/doc/python3-maxminddb
/usr/share/doc/python3-maxminddb/README.rst
/usr/share/licenses/python3-maxminddb
/usr/share/licenses/python3-maxminddb/LICENSE

References

Summary

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