How To Install mapnik-demo on Fedora 36

In this tutorial we learn how to install mapnik-demo in Fedora 36. mapnik-demo is Demo utility and some sample data distributed with mapnik

Introduction

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

What is mapnik-demo

Demo application and sample vector datas distributed with the Mapnik spatial visualization library.

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

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

sudo dnf -y install mapnik-demo

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

sudo yum -y install mapnik-demo

How To Uninstall mapnik-demo on Fedora 36

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

sudo dnf remove mapnik-demo

mapnik-demo Package Contents on Fedora 36

/usr/share/doc/mapnik-demo
/usr/share/doc/mapnik-demo/c++
/usr/share/doc/mapnik-demo/c++/Makefile
/usr/share/doc/mapnik-demo/c++/README.md
/usr/share/doc/mapnik-demo/c++/build.py
/usr/share/doc/mapnik-demo/c++/common.gypi
/usr/share/doc/mapnik-demo/c++/rundemo.cpp
/usr/share/doc/mapnik-demo/c++/rundemo.gyp
/usr/share/doc/mapnik-demo/data
/usr/share/doc/mapnik-demo/data/COPYRIGHT.txt
/usr/share/doc/mapnik-demo/data/boundaries.dbf
/usr/share/doc/mapnik-demo/data/boundaries.shp
/usr/share/doc/mapnik-demo/data/boundaries.shx
/usr/share/doc/mapnik-demo/data/boundaries_l.dbf
/usr/share/doc/mapnik-demo/data/boundaries_l.shp
/usr/share/doc/mapnik-demo/data/boundaries_l.shx
/usr/share/doc/mapnik-demo/data/mapnik-data.license
/usr/share/doc/mapnik-demo/data/ontdrainage.dbf
/usr/share/doc/mapnik-demo/data/ontdrainage.shp
/usr/share/doc/mapnik-demo/data/ontdrainage.shx
/usr/share/doc/mapnik-demo/data/popplaces.dbf
/usr/share/doc/mapnik-demo/data/popplaces.shp
/usr/share/doc/mapnik-demo/data/popplaces.shx
/usr/share/doc/mapnik-demo/data/qcdrainage.dbf
/usr/share/doc/mapnik-demo/data/qcdrainage.shp
/usr/share/doc/mapnik-demo/data/qcdrainage.shx
/usr/share/doc/mapnik-demo/data/roads.dbf
/usr/share/doc/mapnik-demo/data/roads.shp
/usr/share/doc/mapnik-demo/data/roads.shx
/usr/share/doc/mapnik-demo/python
/usr/share/doc/mapnik-demo/python/README.txt
/usr/share/doc/mapnik-demo/python/rundemo.py
/usr/share/doc/mapnik-demo/simple-renderer
/usr/share/doc/mapnik-demo/simple-renderer/render.py
/usr/share/licenses/mapnik-demo
/usr/share/licenses/mapnik-demo/mapnik-data.license

References

Summary

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