Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, Nix, pacman, winget 安装 gmt

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gmt

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install gmt

Debian stable package indexes · gmt · 来源: deb.debian.org

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

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

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S gmt

Arch Linux sync databases · gmt · 来源: geo.mirror.pkgbuild.com

Windows

Windows Package Manager已验证 · 92%
winget install --id GenericMappingTools.gmt -e

Windows Package Manager source index · GenericMappingTools.gmt · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Tools for manipulating and plotting geographic and Cartesian data

命令和别名

  • fz_funcs
  • fz_funcs.sh
  • fzmodeler
  • fzprofiler
  • gmt
  • gmt-config
  • gmt_shell_functions.sh
  • gmtswitch
  • isogmt

历史

项目历史与用法

GMT, the Generic Mapping Tools, is an open-source collection of command-line tools for manipulating geographic and Cartesian datasets and producing publication-quality maps, plots, illustrations, and animations. It is a long-running geoscience package with a strong scripting culture.

项目历史

GMT was initiated in late 1987 at Lamont-Doherty Earth Observatory, Columbia University, by graduate students Paul Wessel and Walter H. F. Smith. Version 1 was introduced to Lamont scientists in July 1988, then spread by word of mouth and tape to institutions in the United States, the United Kingdom, Japan, and France.

Version 2.0 was released with a 1991 EOS article and spread worldwide. Version 3.0 followed in 1993 and was described in a 1995 EOS article; a major GMT 4 upgrade arrived in October 2004.

GMT 5 was released in 2013 with broad backward compatibility for GMT 4 syntax. GMT 6 arrived in 2019 with modern mode, a major workflow change intended to make plotting scripts easier to write while retaining the classic command-line model.

The project also professionalized its research-software identity through citation records. The official citation page lists papers for GMT 2, GMT 3, GMT 5, GMT 6, GMT/MATLAB, animation support, and the project's origin story, along with Zenodo DOIs for releases.

采用历史

The official site describes GMT as widely used across Earth, ocean, and planetary sciences and beyond, with GMT-made illustrations appearing in scientific journals, meeting posters, Wikipedia pages, and other publications.

The README broadens that audience to medical research, engineering, physics, mathematics, social and biological sciences, geography, fisheries institutes, oil companies, government agencies, and hobbyists. The official About page describes tens of thousands of users worldwide.

Packaging helped that adoption because GMT is naturally scriptable. Scientists could install a stable command suite through Unix package managers, keep plotting recipes in shell scripts or Makefiles, and reproduce figures without a graphical GIS workflow.

使用方式

Practitioners use GMT modules for filtering, trend fitting, gridding, projecting, map projection transformations, contour maps, illuminated surfaces, 3D perspective views, and animations. The README describes about 100 core command-line tools plus around 50 specialized supplement tools.

A typical GMT workflow combines data tables or grids with commands that transform, grid, style, and render figures. The package also brings supporting data such as GSHHG coastlines, rivers, political boundaries, and optional Digital Chart of the World polygons.

Modern mode in GMT 6 lets users write more concise figure scripts, while classic mode remains important for long-lived shell pipelines and publications with reproducible plotting commands.

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

GMT is a canonical scientific CLI package: many small commands, strict text/data interfaces, stable documentation, optional datasets, and decades of scripts in the wild. Package managers keep that ecosystem available without each lab maintaining a custom build.

It also sits at the intersection of Unix plotting, cartography, and research reproducibility. A GMT package is not just an application install; it is often part of a paper's build chain.

时间线

  • 1987: GMT initiated at Lamont-Doherty Earth Observatory.
  • 1988: Version 1 introduced to Lamont scientists.
  • 1991: Version 2.0 released with an EOS article.
  • 1993: Version 3.0 released.
  • 2004: GMT 4.0 major upgrade released.
  • 2013: GMT 5 series released.
  • 2019: GMT 6 released with modern mode.
  • 2025: GMT 6.6.0 release published.

Related projects

  • GSHHG and DCW provide common support datasets used by GMT.
  • netCDF, GDAL, PCRE, FFTW, LAPACK, BLAS, GLib, Zlib, Ghostscript, FFmpeg, and GraphicsMagick are named by the README as important dependencies or external tools.
  • PyGMT, GMT/MATLAB, GMT.jl, and related interfaces make GMT available from Python, MATLAB/Octave, Julia, and other environments.

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

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
./gmt.conf$GMT_USERDIR/gmt.conf~/.gmt/gmt.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fz_funcscli全局可执行文件
fz_funcs.shcli全局可执行文件
fzmodelercli全局可执行文件
fzprofilercli全局可执行文件
gmtcli全局可执行文件
gmt-configcli全局可执行文件
gmt_shell_functions.shcli全局可执行文件
gmtswitchcli全局可执行文件
isogmtcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/GenericMappingTools/gmt

安装元数据

软件包元数据

软件包键brew:gmt
版本6.6.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gmt
主页https://www.generic-mapping-tools.org/
仓库https://github.com/GenericMappingTools/gmt
上游文档https://docs.generic-mapping-tools.org/
许可证LGPL-3.0-or-later
源码归档https://github.com/GenericMappingTools/gmt/releases/download/6.6.0/gmt-6.6.0-src.tar.xz
最后更新2026-06-22T14:03:35-07:00
Pulseupdated
依赖fftw, gdal, geos, netcdf, openblas, pcre2
构建依赖cmake
macOS 提供的库curl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项GMT needs Ghostscript for the 'psconvert' command to convert PostScript files to other formats. To use 'psconvert', please 'brew install ghostscript'. GMT needs FFmpeg for the 'movie' command to make movies in MP4 or WebM format. If you need this feature, please 'brew install ffmpeg'. GMT needs GraphicsMagick for the 'movie' command to make animated GIFs. If you need this feature, please 'brew install graphicsmagick'.

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

gmt 6.5.0+dfsg-4

Generic Mapping Tools

http://gmt.soest.hawaii.edu/

sudo apt install gmt
  • Section: science
  • Architecture: amd64
  • 4 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Gmt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gmt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gmt-common 6.5.0+dfsg-4

Generic Mapping Tools - Architecture-independent files

http://gmt.soest.hawaii.edu/

sudo apt install gmt-common
  • Section: science
  • Architecture: all
  • Source Package: gmt
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gmt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gmt-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgmt-dev 6.5.0+dfsg-4

Generic Mapping Tools Library - Development files

http://gmt.soest.hawaii.edu/

sudo apt install libgmt-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gmt
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gmt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgmt-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgmt6t64 6.5.0+dfsg-4

Generic Mapping Tools Library

http://gmt.soest.hawaii.edu/

sudo apt install libgmt6t64
  • Section: libs
  • Architecture: amd64
  • Source Package: gmt
  • 12 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gmt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgmt6t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gmt

nix profile install nixpkgs#gmt
  • normalized package name match
  • 匹配方式:Gmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gm/gmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gmt 6.5.0+dfsg-3build2

Generic Mapping Tools

http://gmt.soest.hawaii.edu/

sudo apt install gmt
  • Section: universe/science
  • Architecture: amd64
  • 4 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Gmt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gmt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gmt-common 6.5.0+dfsg-3build2

Generic Mapping Tools - Architecture-independent files

http://gmt.soest.hawaii.edu/

sudo apt install gmt-common
  • Section: universe/science
  • Architecture: all
  • Source Package: gmt
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gmt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gmt-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgmt-dev 6.5.0+dfsg-3build2

Generic Mapping Tools Library - Development files

http://gmt.soest.hawaii.edu/

sudo apt install libgmt-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: gmt
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gmt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgmt-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgmt6t64 6.5.0+dfsg-3build2

Generic Mapping Tools Library

http://gmt.soest.hawaii.edu/

sudo apt install libgmt6t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gmt
  • 12 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gmt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgmt6t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

GMT 6.6.0-5.fc44

Generic Mapping Tools

https://www.generic-mapping-tools.org/

sudo dnf install GMT
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: GMT
  • 24 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Gmt
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: GMT from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

GMT-common 6.6.0-5.fc44

Common files for GMT

https://www.generic-mapping-tools.org/

sudo dnf install GMT-common
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: GMT
  • 2 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Gmt
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: GMT-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

GMT-devel 6.6.0-5.fc44

Development files for GMT

https://www.generic-mapping-tools.org/

sudo dnf install GMT-devel
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: GMT
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gmt
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: GMT-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

GMT-doc 6.6.0-5.fc44

Documentation for GMT

https://www.generic-mapping-tools.org/

sudo dnf install GMT-doc
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: GMT
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Gmt
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: GMT-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gmt 6.6.0-4

Generic Mapping Tools for manipulating and plotting geographic and cartesian data

https://www.generic-mapping-tools.org

sudo pacman -S gmt
  • License: LGPL
  • Architecture: x86_64
  • 10 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Gmt
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
winget95%

GenericMappingTools.gmt

winget install --id GenericMappingTools.gmt -e
  • normalized package name match
  • 匹配方式:Gmt
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: GenericMappingTools.gmt from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 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