macOS
brew install mapniklocal Homebrew formula metadata
sudo port install mapnikMacPorts ports tree · gis/mapnik/Portfile · source: api.github.com
brew
Toolkit for developing mapping applications. Version 4.2.2 via Homebrew; verified 2026-05-09.
install
brew install mapniklocal Homebrew formula metadata
sudo port install mapnikMacPorts ports tree · gis/mapnik/Portfile · source: api.github.com
sudo apk add mapnikAlpine Linux edge package indexes · mapnik · source: dl-cdn.alpinelinux.org
sudo apt install libmapnik-devDebian stable package indexes · libmapnik-dev · source: deb.debian.org
sudo dnf install mapnikFedora Rawhide package metadata · mapnik · source: dl.fedoraproject.org
nix profile install nixpkgs#mapniknixpkgs package indexes · pkgs/by-name/ma/mapnik/package.nix · source: api.github.com
sudo pacman -S mapnikArch Linux sync databases · mapnik · source: geo.mirror.pkgbuild.com
overview
Toolkit for developing mapping applications
history
Mapnik is an open-source C++ toolkit for high-quality map rendering, exposed to package users through command-line tools and language bindings for Python, Node.js, and C++.
The Mapnik documentation history says Artem Pavlenko started the project in 2005. Early project news records show public activity and releases in 2005, including a BerliOS development move, early release notes, and continued 0.x releases through 2006 and 2007.
Mapnik grew around the idea that cartographic rendering should be programmable and high quality. The official docs emphasize use of established libraries such as Boost rather than reinventing common C++ infrastructure, while the homepage presents Mapnik as a core geospatial visualization and processing project.
By the 4.x era, Mapnik had a long-running release stream: the official site listed 4.2.0 in December 2025, 4.2.1 in January 2026, and 4.2.2 in March 2026. That longevity matters because many renderer packages disappear once their bindings or compiler stack age; Mapnik kept moving across several generations of C++, Python, and Node packaging.
Mapnik became a common dependency in geospatial packaging because it is a library and toolkit rather than a single end-user app. The input package metadata lists packages in Homebrew, Debian, Ubuntu, Fedora, Arch, MacPorts, Nix, and Alpine, reflecting broad distribution across Unix-like systems.
Its official homepage advertises direct code examples in Python, Node.js, and C++, which explains why package managers often split Mapnik into libraries, development headers, data plugins, and CLI utilities. The same native renderer can be embedded in applications or invoked through tools like mapnik-render and shapeindex.
A typical Mapnik workflow defines map styling and data sources, loads a stylesheet or constructs the map programmatically, and renders image output. The homepage examples show creating a map, loading a style file, zooming to data, and rendering to PNG from Python and Node.js.
Homebrew exposes practical command-line utilities such as mapnik-render, mapnik-index, shapeindex, svg2png, pgsql2sqlite, and geometry_to_wkb. For package users, that makes Mapnik useful both as a dependency for larger map stacks and as a toolbox for testing styles and geospatial assets.
Mapnik is significant because it sits at the uncomfortable but important intersection of C++ ABI compatibility, geospatial native dependencies, scripting-language bindings, and cartographic output quality. It is the sort of package that stresses formula maintenance more than its simple description suggests.
For package historians, Mapnik also marks the era when open-source web cartography moved from server-generated raster maps toward programmable rendering engines backed by reusable geospatial libraries.
security posture
No matching local secret-handling manifest was found for mapnik. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
geometry_to_wkb | cli | global executable | |
mapnik-index | cli | global executable | |
mapnik-render | cli | global executable | |
pgsql2sqlite | cli | global executable | |
shapeindex | cli | global executable | |
svg2png | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/mapnik/mapnik
install metadata
| Package key | brew:mapnik |
|---|---|
| Version | 4.2.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mapnik |
| Homepage | https://mapnik.org/ |
| Repository | https://github.com/mapnik/mapnik |
| Upstream docs | https://github.com/mapnik/mapnik/wiki |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/mapnik/mapnik/releases/download/v4.2.2/mapnik-v4.2.2.tar.bz2 |
| Last updated | 2026-05-09T14:00:18Z |
| Pulse | updated |
| Dependencies | boost, cairo, freetype, gdal, harfbuzz, icu4c@78, jpeg-turbo, libavif, libpng, libpq, libtiff, libxml2, openssl@3, proj, protozero, sqlite, webp |
| Build dependencies | cmake, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mapnik |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libmapnik-dev 4.0.7+ds-1
C++ toolkit for developing GIS applications (devel)
sudo apt install libmapnik-devlibmapnik4.0 4.0.7+ds-1
C++ toolkit for developing GIS applications (libraries)
sudo apt install libmapnik4.0mapnik-doc 4.0.7+ds-1
C++ toolkit for developing GIS applications (doc)
sudo apt install mapnik-docmapnik-utils 4.0.7+ds-1
C++ toolkit for developing GIS applications (utilities)
sudo apt install mapnik-utilsmapnik
nix profile install nixpkgs#mapniklibmapnik-dev 3.1.0+ds-7ubuntu2
C++ toolkit for developing GIS applications (devel)
sudo apt install libmapnik-devlibmapnik3.1t64 3.1.0+ds-7ubuntu2
C++ toolkit for developing GIS applications (libraries)
sudo apt install libmapnik3.1t64mapnik-doc 3.1.0+ds-7ubuntu2
C++ toolkit for developing GIS applications (doc)
sudo apt install mapnik-docmapnik-utils 3.1.0+ds-7ubuntu2
C++ toolkit for developing GIS applications (utilities)
sudo apt install mapnik-utilsmapnik 4.1.4-r3
An open source toolkit for developing mapping applications
sudo apk add mapnikmapnik-dev 4.1.4-r3
Mapnik development files
sudo apk add mapnik-devmapnik-doc 4.1.4-r3
Mapnik documentation
sudo apk add mapnik-docmapnik 4.2.2-2.fc45
Free Toolkit for developing mapping applications
sudo dnf install mapnikmapnik-demo 4.2.2-2.fc45
Demo utility and some sample data distributed with mapnik
sudo dnf install mapnik-demomapnik-devel 4.2.2-2.fc45
Mapnik is a Free toolkit for developing mapping applications
sudo dnf install mapnik-develmapnik-static 4.2.2-2.fc45
Static libraries for the Mapnik spatial visualization library
sudo dnf install mapnik-staticsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.