How To Install python3-mapserver on Fedora 36

In this tutorial we learn how to install python3-mapserver in Fedora 36. python3-mapserver is Python/Mapscript map making extensions to Python

Introduction

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

What is python3-mapserver

The Python/Mapscript extension provides full map customization capabilities within the Python programming language.

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

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

sudo dnf -y install python3-mapserver

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

sudo yum -y install python3-mapserver

How To Uninstall python3-mapserver on Fedora 36

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

sudo dnf remove python3-mapserver

python3-mapserver Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/c691bc1f6f80ddbe4d8ae3b6136875b0ffaa98
/usr/lib64/python3.10/site-packages/mapscript
/usr/lib64/python3.10/site-packages/mapscript-7.6.4-py3.10.egg-info
/usr/lib64/python3.10/site-packages/mapscript-7.6.4-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/mapscript-7.6.4-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/mapscript-7.6.4-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/mapscript-7.6.4-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/mapscript/__init__.py
/usr/lib64/python3.10/site-packages/mapscript/__pycache__
/usr/lib64/python3.10/site-packages/mapscript/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/__pycache__/mapscript.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/__pycache__/mapscript.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/_mapscript.so
/usr/lib64/python3.10/site-packages/mapscript/examples
/usr/lib64/python3.10/site-packages/mapscript/examples/__init__.py
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/project_csv.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/project_csv.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/shpdump.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/shpdump.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/shpinfo.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/shpinfo.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/wxs.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/__pycache__/wxs.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/examples/project_csv.py
/usr/lib64/python3.10/site-packages/mapscript/examples/shpdump.py
/usr/lib64/python3.10/site-packages/mapscript/examples/shpinfo.py
/usr/lib64/python3.10/site-packages/mapscript/examples/wxs.py
/usr/lib64/python3.10/site-packages/mapscript/mapscript.py
/usr/lib64/python3.10/site-packages/mapscript/tests
/usr/lib64/python3.10/site-packages/mapscript/tests/__init__.py
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/class_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/class_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/clone_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/clone_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/cluster_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/cluster_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/color_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/color_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/font_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/font_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/hash_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/hash_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/image_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/image_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/label_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/label_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/layer_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/layer_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/line_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/line_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/map_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/map_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/outputformat_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/outputformat_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/ows_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/ows_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/parentreference_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/parentreference_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/pgtest.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/pgtest.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/point_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/point_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/rect_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/rect_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/refcount_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/refcount_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/resultcache_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/resultcache_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/shape_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/shape_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/shapefile_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/shapefile_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/style_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/style_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/symbol_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/symbol_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/symbolset_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/symbolset_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/testing.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/testing.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/thread_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/thread_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/zoom_test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/__pycache__/zoom_test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mapscript/tests/class_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/clone_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/cluster_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/color_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/data
/usr/lib64/python3.10/site-packages/mapscript/tests/data/cities.csv
/usr/lib64/python3.10/site-packages/mapscript/tests/data/fonts.txt
/usr/lib64/python3.10/site-packages/mapscript/tests/data/home.png
/usr/lib64/python3.10/site-packages/mapscript/tests/data/line.dbf
/usr/lib64/python3.10/site-packages/mapscript/tests/data/line.shp
/usr/lib64/python3.10/site-packages/mapscript/tests/data/line.shx
/usr/lib64/python3.10/site-packages/mapscript/tests/data/point.dbf
/usr/lib64/python3.10/site-packages/mapscript/tests/data/point.shp
/usr/lib64/python3.10/site-packages/mapscript/tests/data/point.shx
/usr/lib64/python3.10/site-packages/mapscript/tests/data/polygon.dbf
/usr/lib64/python3.10/site-packages/mapscript/tests/data/polygon.shp
/usr/lib64/python3.10/site-packages/mapscript/tests/data/polygon.shx
/usr/lib64/python3.10/site-packages/mapscript/tests/data/raster.tfw
/usr/lib64/python3.10/site-packages/mapscript/tests/data/raster.tif
/usr/lib64/python3.10/site-packages/mapscript/tests/data/symbols.txt
/usr/lib64/python3.10/site-packages/mapscript/tests/data/test.map
/usr/lib64/python3.10/site-packages/mapscript/tests/data/test.png
/usr/lib64/python3.10/site-packages/mapscript/tests/data/test_nofontset.map
/usr/lib64/python3.10/site-packages/mapscript/tests/data/vera
/usr/lib64/python3.10/site-packages/mapscript/tests/data/vera/COPYRIGHT.TXT
/usr/lib64/python3.10/site-packages/mapscript/tests/data/vera/README.TXT
/usr/lib64/python3.10/site-packages/mapscript/tests/data/vera/RELEASENOTES.TXT
/usr/lib64/python3.10/site-packages/mapscript/tests/data/vera/Vera.ttf
/usr/lib64/python3.10/site-packages/mapscript/tests/data/vera/VeraBd.ttf
/usr/lib64/python3.10/site-packages/mapscript/tests/data/xmarks.png
/usr/lib64/python3.10/site-packages/mapscript/tests/font_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/hash_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/image_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/label_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/layer_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/line_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/map_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/outputformat_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/ows_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/parentreference_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/pgtest.py
/usr/lib64/python3.10/site-packages/mapscript/tests/point_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/rect_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/refcount_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/resultcache_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/shape_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/shapefile_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/style_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/symbol_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/symbolset_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/testing.py
/usr/lib64/python3.10/site-packages/mapscript/tests/thread_test.py
/usr/lib64/python3.10/site-packages/mapscript/tests/zoom_test.py
/usr/share/doc/python3-mapserver
/usr/share/doc/python3-mapserver/README.rst
/usr/share/doc/python3-mapserver/examples
/usr/share/doc/python3-mapserver/examples/__init__.py
/usr/share/doc/python3-mapserver/examples/project_csv.py
/usr/share/doc/python3-mapserver/examples/shpdump.py
/usr/share/doc/python3-mapserver/examples/shpinfo.py
/usr/share/doc/python3-mapserver/examples/wxs.py
/usr/share/doc/python3-mapserver/tests
/usr/share/doc/python3-mapserver/tests/TESTING.txt
/usr/share/doc/python3-mapserver/tests/cases
/usr/share/doc/python3-mapserver/tests/cases/__init__.py
/usr/share/doc/python3-mapserver/tests/cases/class_test.py
/usr/share/doc/python3-mapserver/tests/cases/clone_test.py
/usr/share/doc/python3-mapserver/tests/cases/cluster_test.py
/usr/share/doc/python3-mapserver/tests/cases/color_test.py
/usr/share/doc/python3-mapserver/tests/cases/font_test.py
/usr/share/doc/python3-mapserver/tests/cases/hash_test.py
/usr/share/doc/python3-mapserver/tests/cases/image_test.py
/usr/share/doc/python3-mapserver/tests/cases/label_test.py
/usr/share/doc/python3-mapserver/tests/cases/layer_test.py
/usr/share/doc/python3-mapserver/tests/cases/line_test.py
/usr/share/doc/python3-mapserver/tests/cases/map_test.py
/usr/share/doc/python3-mapserver/tests/cases/outputformat_test.py
/usr/share/doc/python3-mapserver/tests/cases/ows_test.py
/usr/share/doc/python3-mapserver/tests/cases/parentreference_test.py
/usr/share/doc/python3-mapserver/tests/cases/pgtest.py
/usr/share/doc/python3-mapserver/tests/cases/point_test.py
/usr/share/doc/python3-mapserver/tests/cases/rect_test.py
/usr/share/doc/python3-mapserver/tests/cases/refcount_test.py
/usr/share/doc/python3-mapserver/tests/cases/resultcache_test.py
/usr/share/doc/python3-mapserver/tests/cases/shape_test.py
/usr/share/doc/python3-mapserver/tests/cases/shapefile_test.py
/usr/share/doc/python3-mapserver/tests/cases/style_test.py
/usr/share/doc/python3-mapserver/tests/cases/symbol_test.py
/usr/share/doc/python3-mapserver/tests/cases/symbolset_test.py
/usr/share/doc/python3-mapserver/tests/cases/testing.py
/usr/share/doc/python3-mapserver/tests/cases/thread_test.py
/usr/share/doc/python3-mapserver/tests/cases/zoom_test.py
/usr/share/doc/python3-mapserver/tests/fragments.txt
/usr/share/doc/python3-mapserver/tests/runalldoctests.py
/usr/share/doc/python3-mapserver/tests/rundoctests.dist
/usr/share/doc/python3-mapserver/tests/runtests.py
/usr/share/doc/python3-mapserver/tests/timing
/usr/share/doc/python3-mapserver/tests/timing/clonemaps.py
/usr/share/doc/python3-mapserver/tests/timing/drawshapes.py
/usr/share/doc/python3-mapserver/tests/timing/testing.py
/usr/share/doc/python3-mapserver/tests/timing/timing.map

References

Summary

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