Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, zypper, apt 安装 mapserver

查看 mapserver 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mapserver

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mapserver

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add mapserver

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

Fedora dnf已验证 · 92%
sudo dnf install mapserver

Fedora Rawhide package metadata · mapserver · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#mapserver

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

openSUSE zypper已验证 · 92%
sudo zypper install mapserver

openSUSE Tumbleweed package metadata · mapserver · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install cgi-mapserver

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

概览

软件包摘要

Publish spatial data and interactive mapping apps to the web

命令和别名

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

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 mapserver 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 14 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
coshpcli全局可执行文件
legendcli全局可执行文件
map2imgcli全局可执行文件
mapservcli全局可执行文件
msencryptcli全局可执行文件
scalebarcli全局可执行文件
shptreecli全局可执行文件
shptreetstcli全局可执行文件
shptreeviscli全局可执行文件
sortshpcli全局可执行文件
tile4mscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本8.6.2
管理器更新时间2026-05-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://mapserver.org/

安装元数据

软件包元数据

软件包键brew:mapserver
版本8.6.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mapserver
主页https://mapserver.org/
仓库https://github.com/MapServer/MapServer
上游文档https://mapserver.org/documentation.html
许可证MIT
源码归档https://download.osgeo.org/mapserver/mapserver-8.6.2.tar.gz
最后更新2026-05-09T14:00:18Z
Pulseupdated
依赖cairo, fcgi, freetype, gdal, geos, giflib, jpeg-turbo, libpng, libpq, libxml2, pcre2, proj, protobuf-c, python@3.14
构建依赖cmake, pkgconf, swig
macOS 提供的库curl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 5 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式: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 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 5 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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