How To Install python3-mapnik on Fedora 36

In this tutorial we learn how to install python3-mapnik in Fedora 36. python3-mapnik is Python bindings for Mapnik

Introduction

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

What is python3-mapnik

Python bindings for Mapnik.

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

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

sudo dnf -y install python3-mapnik

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

sudo yum -y install python3-mapnik

How To Uninstall python3-mapnik on Fedora 36

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

sudo dnf remove python3-mapnik

python3-mapnik Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/fd24a2b4352c0f8897968389af44dc4667afb2
/usr/lib64/python3.10/site-packages/mapnik
/usr/lib64/python3.10/site-packages/mapnik-3.0.23-py3.10.egg-info
/usr/lib64/python3.10/site-packages/mapnik-3.0.23-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/mapnik-3.0.23-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/mapnik-3.0.23-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/mapnik-3.0.23-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/mapnik/__init__.py
/usr/lib64/python3.10/site-packages/mapnik/__pycache__
/usr/lib64/python3.10/site-packages/mapnik/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapnik/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapnik/__pycache__/mapnik_settings.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapnik/__pycache__/mapnik_settings.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapnik/__pycache__/paths.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapnik/__pycache__/paths.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapnik/_mapnik.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/mapnik/mapnik_settings.py
/usr/lib64/python3.10/site-packages/mapnik/paths.py
/usr/lib64/python3.10/site-packages/mapnik/printing
/usr/lib64/python3.10/site-packages/mapnik/printing/__init__.py
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__/conversions.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__/conversions.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__/formats.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__/formats.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__/scales.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapnik/printing/__pycache__/scales.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapnik/printing/conversions.py
/usr/lib64/python3.10/site-packages/mapnik/printing/formats.py
/usr/lib64/python3.10/site-packages/mapnik/printing/scales.py
/usr/share/doc/python3-mapnik
/usr/share/doc/python3-mapnik/AUTHORS.md
/usr/share/doc/python3-mapnik/CHANGELOG.md
/usr/share/doc/python3-mapnik/CONTRIBUTING.md
/usr/share/doc/python3-mapnik/README.md
/usr/share/licenses/python3-mapnik
/usr/share/licenses/python3-mapnik/COPYING

References

Summary

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