How To Install mapnik on Fedora 36
Introduction
In this tutorial we learn how to install mapnik
on Fedora 36.
What is mapnik
Mapnik is a Free Toolkit for developing mapping applications. It’s written in C++ and there are Python bindings to facilitate fast-paced agile development. It can comfortably be used for both desktop and web development, which was something I wanted from the beginning. Mapnik is about making beautiful maps. It uses the AGG library and offers world class anti-aliasing rendering with subpixel accuracy for geographic data. It is written from scratch in modern C++ and doesn’t suffer from design decisions made a decade ago. When it comes to handling common software tasks such as memory management, filesystem access, regular expressions, parsing and so on, Mapnik doesn’t re-invent the wheel, but utilises best of breed industry standard libraries from boost.org
We can use yum
or dnf
to install mapnik
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mapnik.
Install 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 mapnik
using dnf
by running the following command:
sudo dnf -y install mapnik
Install 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 mapnik
using yum
by running the following command:
sudo yum -y install mapnik
How To Uninstall mapnik on Fedora 36
To uninstall only the mapnik
package we can use the following command:
sudo dnf remove mapnik
mapnik Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/67759a77c22583217d2fa2343ce228b832622b
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/bc9d7ef1071a9f0db16ee4a3ca12835c3b0716
/usr/lib/.build-id/50
/usr/lib/.build-id/50/0345cd54df53eecf8cf449eacd6b7d4bab0d4e
/usr/lib/.build-id/69
/usr/lib/.build-id/69/3ba7c7924799c4cea465e3c6fcb7c42937ff24
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/5b91f08bf552780c41887f5402c6d0381ba6b4
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/355968e727933d6baf20b64ca8064d6c085252
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/e80c6977883e4336e8ff5f94371bc1a395a354
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/eb3f5fc266b3ffbe06b9571e77dcaa445e7f95
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/f3aa626b406917c8a188f9b22e8f7e0ee146fb
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/73c9a3c832485d32e9d0cfbb4b670bb03273e6
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/5daaf679c9140572ed434db6a5d05c7ae73229
/usr/lib/libmapnik.so.3.1
/usr/lib/libmapnik.so.3.1.0
/usr/lib/mapnik
/usr/lib/mapnik/input
/usr/lib/mapnik/input/csv.input
/usr/lib/mapnik/input/gdal.input
/usr/lib/mapnik/input/geojson.input
/usr/lib/mapnik/input/ogr.input
/usr/lib/mapnik/input/pgraster.input
/usr/lib/mapnik/input/postgis.input
/usr/lib/mapnik/input/raster.input
/usr/lib/mapnik/input/shape.input
/usr/lib/mapnik/input/sqlite.input
/usr/lib/mapnik/input/topojson.input
/usr/share/doc/mapnik
/usr/share/doc/mapnik/AUTHORS.md
/usr/share/doc/mapnik/CHANGELOG.md
/usr/share/doc/mapnik/README.md
/usr/share/licenses/mapnik
/usr/share/licenses/mapnik/COPYING
References
Summary
In this tutorial we learn how to install mapnik
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install mapnik on Fedora 36” linkTitle: “mapnik” type: “docs” description: “In this tutorial we learn how to install mapnik in Fedora 36. mapnik is Free Toolkit for developing mapping applications” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/mapnik-featured.png
Introduction
In this tutorial we learn how to install mapnik
on Fedora 36.
What is mapnik
Mapnik is a Free Toolkit for developing mapping applications. It’s written in C++ and there are Python bindings to facilitate fast-paced agile development. It can comfortably be used for both desktop and web development, which was something I wanted from the beginning. Mapnik is about making beautiful maps. It uses the AGG library and offers world class anti-aliasing rendering with subpixel accuracy for geographic data. It is written from scratch in modern C++ and doesn’t suffer from design decisions made a decade ago. When it comes to handling common software tasks such as memory management, filesystem access, regular expressions, parsing and so on, Mapnik doesn’t re-invent the wheel, but utilises best of breed industry standard libraries from boost.org
We can use yum
or dnf
to install mapnik
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mapnik.
Install 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 mapnik
using dnf
by running the following command:
sudo dnf -y install mapnik
Install 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 mapnik
using yum
by running the following command:
sudo yum -y install mapnik
How To Uninstall mapnik on Fedora 36
To uninstall only the mapnik
package we can use the following command:
sudo dnf remove mapnik
mapnik Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/497e9efc0ca0cb72a3b1651d81c3493767665e
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/b6f3047b0212952e5332b6f812b945246af4c0
/usr/lib/.build-id/37
/usr/lib/.build-id/37/399154dc96c88b39b70823f697def53a7db9c7
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/8c6831bcfa066987276bc4b143b753273563a8
/usr/lib/.build-id/94
/usr/lib/.build-id/94/5ece61314700cd5c9764a2c805577ce562331c
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/1025f4231f1ff223fb1bfa060e19a9b38f47b4
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/5873c7b2bb197e483acc4c6c5d8beea8b1487c
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/6be06706c7c296fe3ff88a7ece2811ed8dc3c4
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/9418a76bccfd0bacf7282551e82cb8208dad92
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/52647ef08f4d9d064108d5893a55768da8918e
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/d80005a00518bb38a11b953e70a50761f44b2d
/usr/lib64/libmapnik.so.3.1
/usr/lib64/libmapnik.so.3.1.0
/usr/lib64/mapnik
/usr/lib64/mapnik/input
/usr/lib64/mapnik/input/csv.input
/usr/lib64/mapnik/input/gdal.input
/usr/lib64/mapnik/input/geojson.input
/usr/lib64/mapnik/input/ogr.input
/usr/lib64/mapnik/input/pgraster.input
/usr/lib64/mapnik/input/postgis.input
/usr/lib64/mapnik/input/raster.input
/usr/lib64/mapnik/input/shape.input
/usr/lib64/mapnik/input/sqlite.input
/usr/lib64/mapnik/input/topojson.input
/usr/share/doc/mapnik
/usr/share/doc/mapnik/AUTHORS.md
/usr/share/doc/mapnik/CHANGELOG.md
/usr/share/doc/mapnik/README.md
/usr/share/licenses/mapnik
/usr/share/licenses/mapnik/COPYING
References
Summary
In this tutorial we learn how to install mapnik
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).