Automic VaultAutomic Vault

brew

Install mapserver with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Publish spatial data and interactive mapping apps to the web. Version 8.6.2 via Homebrew; verified 2026-05-09.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mapserver

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mapserver

MacPorts ports tree · gis/mapserver/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add mapserver

Alpine Linux edge package indexes · mapserver · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install cgi-mapserver

Debian stable package indexes · cgi-mapserver · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install mapserver

Fedora Rawhide package metadata · mapserver · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#mapserver

nixpkgs package indexes · pkgs/by-name/ma/mapserver/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install libjavamapscript

openSUSE Tumbleweed package metadata · libjavamapscript · source: download.opensuse.org

overview

Package summary

Publish spatial data and interactive mapping apps to the web

Commands and aliases

  • coshp
  • legend
  • map2img
  • mapserv
  • msencrypt
  • scalebar
  • shptree
  • shptreetst
  • shptreevis
  • sortshp
  • tile4ms

history

Project history and usage

MapServer is a long-running open-source web mapping engine for publishing spatial data and interactive mapping applications, administered in the OSGeo ecosystem and configured primarily through .map files.

Project history

OSGeo's project page says MapServer was originally developed in the mid-1990s at the University of Minnesota and is known as a fast open-source platform for publishing spatial data and interactive mapping applications to the web. The official GitHub repository credits Stephen Lime as the original author and notes major NASA funding through cooperative agreements with the University of Minnesota Department of Forest Resources.

MapServer predates many modern web-map stacks. It began as a C-based CGI-era map engine and grew into a standards-heavy server that can publish raster and vector data through OGC protocols. OSGeo lists support for GDAL/OGR data access, PROJ projections, WMS, WFS, WCS, SOS, GML, GeoJSON, KML, SLD, and related web mapping standards.

The current GitHub repository was created in April 2012, reflecting migration of an older project into GitHub-hosted development rather than the beginning of the software itself. Releases in the 8.6 line were still being published in 2025 and 2026, showing unusually long continuity for a web mapping engine.

Adoption history

MapServer's adoption is institutional and infrastructure-oriented: public agencies, universities, and GIS teams use it to publish spatial services rather than to run a desktop UI. OSGeo says it is supported by a diverse group of organizations and administered by the MapServer Project Steering Committee.

The input package metadata lists MapServer packages across Homebrew, Debian, Ubuntu, Fedora, Alpine, MacPorts, Nix, and openSUSE-style packaging. That broad packaging footprint is typical for mature GIS infrastructure with native dependencies and server deployment needs.

How it is used

Users configure MapServer with mapfiles, conventionally named with a .map extension, then run tools such as mapserv, map2img, shp utilities, legend, scalebar, and related helpers. OSGeo's feature list specifically notes that MapServer is easily configured through .map files.

Package users care about both the CGI/server binary and the helper utilities. mapserv is the recognizable runtime, but tools such as map2img and shptree make it possible to test rendering and prepare data from the command line.

Why package nerds care

MapServer is package-nerd important because it is old, native, standards-heavy GIS infrastructure that still ships. It pulls together C, GDAL/OGR, PROJ, image libraries, optional scripting environments, and web-server deployment conventions.

It is also historically important as one of the classic open-source web mapping engines, surviving the transition from CGI map servers to modern OGC and tile-oriented web GIS stacks.

Timeline

  • Mid-1990s: Project originated at the University of Minnesota.
  • 1990s: NASA funding supported development through University of Minnesota forestry-related work.
  • 2012: Current GitHub repository created.
  • 2025: MapServer 8.6.0 released.
  • 2026: MapServer 8.6.4 released.

Related projects

  • MapCache is listed by OSGeo as a MapServer sub-project for tile caching.
  • GDAL/OGR and PROJ are central supporting geospatial libraries.
  • GeoServer, MapGuide Open Source, and deegree are listed by OSGeo as similar web mapping projects.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for mapserver. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 14 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
*.map

executables

Installed executables

CommandKindExposureNote
coshpcliglobal executable
legendcliglobal executable
map2imgcliglobal executable
mapservcliglobal executable
msencryptcliglobal executable
scalebarcliglobal executable
shptreecliglobal executable
shptreetstcliglobal executable
shptreeviscliglobal executable
sortshpcliglobal executable
tile4mscliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version8.6.2
manager updated2026-05-09
local dataok
upstreamnot checked
latest detectednot detected

https://mapserver.org/

install metadata

Package metadata

Package keybrew:mapserver
Version8.6.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mapserver
Homepagehttps://mapserver.org/
Repositoryhttps://github.com/MapServer/MapServer
Upstream docshttps://mapserver.org/documentation.html
LicenseMIT
Source archivehttps://download.osgeo.org/mapserver/mapserver-8.6.2.tar.gz
Last updated2026-05-09T14:00:18Z
Pulseupdated
Dependenciescairo, fcgi, freetype, gdal, geos, giflib, jpeg-turbo, libpng, libpq, libxml2, pcre2, proj, protobuf-c, python@3.14
Build dependenciescmake, pkgconf, swig
Uses from macOScurl
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemapserver
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

cgi-mapserver 8.4.0-4+deb13u2

CGI executable for MapServer

https://mapserver.org

sudo apt install cgi-mapserver
  • Section: web
  • Architecture: amd64
  • Source Package: mapserver
  • 1 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cgi-mapserver from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmapscript-java 8.4.0-4+deb13u2

Java library for MapServer

https://mapserver.org

sudo apt install libmapscript-java
  • Section: java
  • Architecture: amd64
  • Source Package: mapserver
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmapscript-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmapscript-perl 8.4.0-4+deb13u2

Perl MapServer module

https://mapserver.org

sudo apt install libmapscript-perl
  • Section: perl
  • Architecture: amd64
  • Source Package: mapserver
  • 5 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmapscript-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmapserver-dev 8.4.0-4+deb13u2

Shared library development files for MapServer

https://mapserver.org

sudo apt install libmapserver-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mapserver
  • 1 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmapserver-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmapserver2t64 8.4.0-4+deb13u2

Shared library for MapServer

https://mapserver.org

sudo apt install libmapserver2t64
  • Section: libs
  • Architecture: amd64
  • Source Package: mapserver
  • 20 dependencies
  • 1 provides
  • 5 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmapserver2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mapserver-bin 8.4.0-4+deb13u2

MapServer utilities

https://mapserver.org

sudo apt install mapserver-bin
  • Section: misc
  • Architecture: amd64
  • Source Package: mapserver
  • 3 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mapserver-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mapserver-doc 8.4.0-4+deb13u2

documentation for MapServer

https://mapserver.org

sudo apt install mapserver-doc
  • Section: doc
  • Architecture: all
  • Source Package: mapserver
  • 4 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mapserver-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

php-mapscript-ng 8.4.0-4+deb13u2

PHP MapServer module (SWIG)

https://mapserver.org

sudo apt install php-mapscript-ng
  • Section: php
  • Architecture: amd64
  • Source Package: mapserver
  • 4 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: php-mapscript-ng from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-mapscript 8.4.0-4+deb13u2

Python library for MapServer

https://mapserver.org

sudo apt install python3-mapscript
  • Section: python
  • Architecture: amd64
  • Source Package: mapserver
  • 4 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Mapserver
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-mapscript from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mapserver

nix profile install nixpkgs#mapserver
  • normalized package name match
  • Matched by: Mapserver
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/mapserver/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cgi-mapserver 8.0.1-4ubuntu2

CGI executable for MapServer

https://mapserver.org

sudo apt install cgi-mapserver
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: mapserver
  • 1 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: Mapserver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cgi-mapserver from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmapscript-java 8.0.1-4ubuntu2

Java library for MapServer

https://mapserver.org

sudo apt install libmapscript-java
  • Section: universe/java
  • Architecture: amd64
  • Source Package: mapserver
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Mapserver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmapscript-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmapscript-perl 8.0.1-4ubuntu2

Perl MapServer module

https://mapserver.org

sudo apt install libmapscript-perl
  • Section: universe/perl
  • Architecture: amd64
  • Source Package: mapserver
  • 5 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Mapserver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmapscript-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmapserver-dev 8.0.1-4ubuntu2

Shared library development files for MapServer

https://mapserver.org

sudo apt install libmapserver-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mapserver
  • 1 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Mapserver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmapserver-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmapserver2t64 8.0.1-4ubuntu2

Shared library for MapServer

https://mapserver.org

sudo apt install libmapserver2t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mapserver
  • 19 dependencies
  • 1 provides
  • 5 optional deps
  • normalized package name match
  • Matched by: Mapserver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmapserver2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mapserver-bin 8.0.1-4ubuntu2

MapServer utilities

https://mapserver.org

sudo apt install mapserver-bin
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: mapserver
  • 3 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Mapserver
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mapserver-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment