# 安装 gmt

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

## 安装

```sh
sudo av install brew:gmt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gmt
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install gmt
```

  证据: Debian stable package indexes: gmt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install GMT
```

  证据: Fedora Rawhide package metadata: GMT from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gmt
```

  证据: nixpkgs package indexes: pkgs/by-name/gm/gmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gmt
```

  证据: Arch Linux sync databases: gmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- winget (92%):

```sh
winget install --id GenericMappingTools.gmt -e
```

  证据: Windows Package Manager source index: GenericMappingTools.gmt from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:gmt
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gmt>
- **版本:** 6.6.0
- **来源摘要:** Tools for manipulating and plotting geographic and Cartesian data
- **主页:** <https://www.generic-mapping-tools.org/>
- **仓库:** <https://github.com/GenericMappingTools/gmt>
- **上游文档:** <https://www.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-05-09T14:00:18Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- fz_funcs (cli)
- fz_funcs.sh (cli)
- fzmodeler (cli)
- fzprofiler (cli)
- gmt (cli)
- gmt-config (cli)
- gmt_shell_functions.sh (cli)
- gmtswitch (cli)
- isogmt (cli)
- fz_funcs (别名)
- fz_funcs.sh (别名)
- fzmodeler (别名)
- fzprofiler (别名)
- gmt (别名)
- gmt-config (别名)
- gmt_shell_functions.sh (别名)
- gmtswitch (别名)
- isogmt (别名)

## 依赖

- fftw
- gdal
- geos
- netcdf
- openblas
- pcre2

## 构建依赖

- cmake

## macOS 提供的库

- curl

## 安装行为

- post-install 钩子: 未定义
- Caveats: 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'.
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 6.6.0
- 管理器更新时间: 2026-05-09
- 本地数据: ok
- 上游仓库: https://github.com/GenericMappingTools/gmt
- info: No cached GitHub release or tag data was available.

## 安全说明

no executable entrypoint in the package index.

- **Geiger 风险:** green / low
- no executable entrypoint in the package index

## 相关链接

- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [openblas](https://www.automicvault.com/pkg/brew/openblas/) - Runtime dependency declared by Homebrew.
- [gdal](https://www.automicvault.com/pkg/brew/gdal/) - Runtime dependency declared by Homebrew.
- [fftw](https://www.automicvault.com/pkg/brew/fftw/) - Runtime dependency declared by Homebrew.
- [netcdf](https://www.automicvault.com/pkg/brew/netcdf/) - Runtime dependency declared by Homebrew.
- [geos](https://www.automicvault.com/pkg/brew/geos/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
