Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt, winget 安装 gdal

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gdal

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gdal

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

Linux

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

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

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

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

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

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

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

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

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

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

Debian apt已验证 · 92%
sudo apt install gdal-bin

Debian stable package indexes · gdal-bin · 来源: deb.debian.org

Windows

Windows Package Manager已验证 · 92%
winget install --id GISInternals.GDAL -e

Windows Package Manager source index · GISInternals.GDAL · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Geospatial Data Abstraction Library

命令和别名

  • gdal
  • gdal-config
  • gdal2tiles
  • gdal2tiles.py
  • gdal2xyz
  • gdal2xyz.py
  • gdal_calc
  • gdal_calc.py
  • gdal_contour
  • gdal_create
  • gdal_edit
  • gdal_edit.py
  • gdal_fillnodata
  • gdal_fillnodata.py
  • gdal_footprint
  • gdal_grid
  • gdal_merge
  • gdal_merge.py
  • gdal_pansharpen
  • gdal_pansharpen.py
  • gdal_polygonize
  • gdal_polygonize.py
  • gdal_proximity
  • gdal_proximity.py
  • gdal_rasterize
  • gdal_retile
  • gdal_retile.py
  • gdal_sieve
  • gdal_sieve.py
  • gdal_translate
  • gdal_viewshed
  • gdaladdo

历史

项目历史与用法

GDAL, the Geospatial Data Abstraction Library, is a long-running open source library and command-line toolkit for reading, writing, translating, and processing raster and vector geospatial data formats.

项目历史

The GDAL FAQ says Frank Warmerdam started work on the GDAL/OGR library in late 1998. The project later became an Open Source Geospatial Foundation project and presents common raster and vector data models to applications while also shipping many command-line utilities.

OGR began as a separate vector I/O library inspired by OpenGIS Simple Features. The GDAL documentation states that GDAL and OGR were integrated together with the GDAL 2.0 release.

GDAL development has moved through several infrastructure eras. RFC 71 records the 2018 decision to move the source tree and new issue tracking from OSGeo-hosted Subversion and Trac to GitHub while preserving full source history.

采用历史

GDAL became a foundation package in open source GIS and geospatial data processing because it hides many raster and vector file-format differences behind shared APIs and utilities.

The upstream list of software using GDAL includes desktop GIS, web mapping servers, scientific tools, spatial databases, Python libraries, and remote-sensing applications such as QGIS, GRASS GIS, MapServer, PostGIS raster components, Rasterio, Fiona, GeoDjango, and NASA-related tooling.

使用方式

Package users commonly install GDAL for command-line tools such as gdalinfo, gdal_translate, gdalwarp, ogrinfo, and ogr2ogr, as well as for the C/C++ library and language bindings used by higher-level geospatial software.

Starting with GDAL 3.11, the project documents a new single gdal command with subcommands as a provisional alternative interface alongside the traditional utilities.

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

GDAL matters to package managers because it is both an end-user CLI suite and a low-level dependency for a large geospatial stack. Packaging it correctly often means coordinating native libraries, format drivers, PROJ integration, Python bindings, and downstream ABI expectations.

RFC 78 shows the packaging pressure around Python utilities: GDAL 3.3 implemented a gdal-utils package path so users could upgrade Python utility modules without necessarily upgrading the compiled bindings.

时间线

  • 1998: Frank Warmerdam starts work on the GDAL/OGR library.
  • GDAL 2.0: GDAL and OGR are integrated into one project.
  • 2018: RFC 71 proposes and adopts migration of source development to GitHub.
  • 2021: RFC 78 records the adopted gdal-utils package plan for GDAL 3.3.
  • 2025: GDAL documents command-line interface modernization for the new gdal front-end.
  • 2026: GDAL documentation references the 3.13.1 release.

Related projects

  • OGR is the vector-data component that was historically separate and is now part of GDAL.
  • Related geospatial projects using or surrounding GDAL include PROJ, QGIS, GRASS GIS, MapServer, PostGIS, Rasterio, Fiona, and DuckDB Spatial.

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gdalcli全局可执行文件
gdal-configcli全局可执行文件
gdal2tilescli全局可执行文件
gdal2tiles.pycli全局可执行文件
gdal2xyzcli全局可执行文件
gdal2xyz.pycli全局可执行文件
gdal_calccli全局可执行文件
gdal_calc.pycli全局可执行文件
gdal_contourcli全局可执行文件
gdal_createcli全局可执行文件
gdal_editcli全局可执行文件
gdal_edit.pycli全局可执行文件
gdal_fillnodatacli全局可执行文件
gdal_fillnodata.pycli全局可执行文件
gdal_footprintcli全局可执行文件
gdal_gridcli全局可执行文件
gdal_mergecli全局可执行文件
gdal_merge.pycli全局可执行文件
gdal_pansharpencli全局可执行文件
gdal_pansharpen.pycli全局可执行文件
gdal_polygonizecli全局可执行文件
gdal_polygonize.pycli全局可执行文件
gdal_proximitycli全局可执行文件
gdal_proximity.pycli全局可执行文件
gdal_rasterizecli全局可执行文件
gdal_retilecli全局可执行文件
gdal_retile.pycli全局可执行文件
gdal_sievecli全局可执行文件
gdal_sieve.pycli全局可执行文件
gdal_translatecli全局可执行文件
gdal_viewshedcli全局可执行文件
gdaladdocli全局可执行文件
gdalattachpctcli全局可执行文件
gdalattachpct.pycli全局可执行文件
gdalbuildvrtcli全局可执行文件
gdalcomparecli全局可执行文件
gdalcompare.pycli全局可执行文件
gdaldemcli全局可执行文件
gdalenhancecli全局可执行文件
gdalinfocli全局可执行文件
gdallocationinfocli全局可执行文件
gdalmanagecli全局可执行文件
gdalmdiminfocli全局可执行文件
gdalmdimtranslatecli全局可执行文件
gdalmovecli全局可执行文件
gdalmove.pycli全局可执行文件
gdalsrsinfocli全局可执行文件
gdaltindexcli全局可执行文件
gdaltransformcli全局可执行文件
gdalwarpcli全局可执行文件
gnmanalysecli全局可执行文件
gnmmanagecli全局可执行文件
nearblackcli全局可执行文件
ogr2ogrcli全局可执行文件
ogr_layer_algebracli全局可执行文件
ogr_layer_algebra.pycli全局可执行文件
ogrinfocli全局可执行文件
ogrlinerefcli全局可执行文件
ogrmergecli全局可执行文件
ogrmerge.pycli全局可执行文件
ogrtindexcli全局可执行文件
pct2rgbcli全局可执行文件
pct2rgb.pycli全局可执行文件
rgb2pctcli全局可执行文件
rgb2pct.pycli全局可执行文件
sozipcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/OSGeo/gdal

安装元数据

软件包元数据

软件包键brew:gdal
版本3.13.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gdal
主页https://gdal.org/en/stable/
仓库https://github.com/OSGeo/gdal
上游文档https://gdal.org/en/stable
许可证MIT
源码归档https://github.com/OSGeo/gdal/releases/download/v3.13.1/gdal-3.13.1.tar.gz
最后更新2026-07-05T23:07:18Z
Pulseupdated
依赖apache-arrow, c-blosc, cfitsio, epsilon, freexl, geos, giflib, hdf5, imath, jpeg-turbo, jpeg-xl, json-c, libaec, libarchive, libdeflate, libgeotiff, libheif, libkml, liblerc, libpng, libpq, libspatialite, libtiff, libxml2, lz4, minizip, netcdf, numpy, openexr, openjpeg, openssl@3, pcre2, poppler, proj, python@3.14, qhull, sfcgal, sqlite, unixodbc, uriparser, webp, xerces-c, xz, zstd
构建依赖boost, cmake, pkgconf, python-setuptools, swig
macOS 提供的库curl, expat
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegdal
Version Scheme0
Revision3
Head VersionHEAD
Conflicts With
  • avce00
  • cpl
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

gdal-bin 3.10.3+dfsg-1

Geospatial Data Abstraction Library - Utility programs

http://www.gdal.org/

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

gdal-data 3.10.3+dfsg-1

Geospatial Data Abstraction Library - Data files

http://www.gdal.org/

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

gdal-plugins 3.10.3+dfsg-1

Geospatial Data Abstraction Library - Plugins

http://www.gdal.org/

sudo apt install gdal-plugins
  • Section: science
  • Architecture: amd64
  • Source Package: gdal
  • normalized package name match
  • 匹配方式:Gdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdal-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgdal-dev 3.10.3+dfsg-1

Geospatial Data Abstraction Library - Development files

http://www.gdal.org/

sudo apt install libgdal-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gdal
  • 32 依赖
  • normalized package name match
  • 匹配方式:Gdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgdal-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgdal36 3.10.3+dfsg-1

Geospatial Data Abstraction Library

http://www.gdal.org/

sudo apt install libgdal36
  • Section: libs
  • Architecture: amd64
  • Source Package: gdal
  • 32 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgdal36 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-gdal 3.10.3+dfsg-1

Python 3 bindings to the Geospatial Data Abstraction Library

http://www.gdal.org/

sudo apt install python3-gdal
  • Section: python
  • Architecture: amd64
  • Source Package: gdal
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gdal
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-gdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gdal

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

gdal-bin 3.8.4+dfsg-3ubuntu3

Geospatial Data Abstraction Library - Utility programs

http://www.gdal.org/

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

gdal-data 3.8.4+dfsg-3ubuntu3

Geospatial Data Abstraction Library - Data files

http://www.gdal.org/

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

gdal-plugins 3.8.4+dfsg-3ubuntu3

Geospatial Data Abstraction Library - Plugins

http://www.gdal.org/

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

libgdal-dev 3.8.4+dfsg-3ubuntu3

Geospatial Data Abstraction Library - Development files

http://www.gdal.org/

sudo apt install libgdal-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: gdal
  • 32 依赖
  • normalized package name match
  • 匹配方式:Gdal
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgdal-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgdal34t64 3.8.4+dfsg-3ubuntu3

Geospatial Data Abstraction Library

http://www.gdal.org/

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

python3-gdal 3.8.4+dfsg-3ubuntu3

Python 3 bindings to the Geospatial Data Abstraction Library

http://www.gdal.org/

sudo apt install python3-gdal
  • Section: universe/python
  • Architecture: amd64
  • Source Package: gdal
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gdal
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-gdal from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gdal 3.13.0-r1

A translator library for raster and vector geospatial data formats

https://gdal.org/

sudo apk add gdal
  • License: MIT
  • Architecture: x86_64
  • Source Package: gdal
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gdal
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdal from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gdal-bash-completion 3.13.0-r1

Bash completions for gdal

https://gdal.org/

sudo apk add gdal-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: gdal
  • normalized package name match
  • 匹配方式:Gdal
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdal-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gdal-dev 3.13.0-r1

A translator library for raster and vector geospatial data formats (development files)

https://gdal.org/

sudo apk add gdal-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: gdal
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gdal
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdal-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment