# Install gdal with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, winget, zypper

Geospatial Data Abstraction Library. Version 3.13.1 via Homebrew; verified 2026-07-05.

## Install

```sh
sudo av install brew:gdal
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install gdal
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gdal
```

  Evidence: MacPorts ports tree: gis/gdal/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gdal
```

  Evidence: Alpine Linux edge package indexes: gdal from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install gdal-bin
```

  Evidence: Debian stable package indexes: gdal-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install gdal
```

  Evidence: Fedora Rawhide package metadata: gdal from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gdal
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gd/gdal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gdal
```

  Evidence: Arch Linux sync databases: gdal from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gdal
```

  Evidence: openSUSE Tumbleweed package metadata: gdal from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id GISInternals.GDAL -e
```

  Evidence: Windows Package Manager source index: GISInternals.GDAL from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:gdal
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/gdal>
- **Version:** 3.13.1
- **Source summary:** Geospatial Data Abstraction Library
- **Homepage:** <https://gdal.org/en/stable/>
- **Repository:** <https://github.com/OSGeo/gdal>
- **Upstream docs:** <https://gdal.org/en/stable>
- **License:** MIT
- **Source archive:** <https://github.com/OSGeo/gdal/releases/download/v3.13.1/gdal-3.13.1.tar.gz>
- **Last updated:** 2026-07-05T23:07:18Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gdal (cli)
- gdal-config (cli)
- gdal2tiles (cli)
- gdal2tiles.py (cli)
- gdal2xyz (cli)
- gdal2xyz.py (cli)
- gdal_calc (cli)
- gdal_calc.py (cli)
- gdal_contour (cli)
- gdal_create (cli)
- gdal_edit (cli)
- gdal_edit.py (cli)
- gdal_fillnodata (cli)
- gdal_fillnodata.py (cli)
- gdal_footprint (cli)
- gdal_grid (cli)
- gdal_merge (cli)
- gdal_merge.py (cli)
- gdal_pansharpen (cli)
- gdal_pansharpen.py (cli)
- gdal_polygonize (cli)
- gdal_polygonize.py (cli)
- gdal_proximity (cli)
- gdal_proximity.py (cli)
- gdal_rasterize (cli)
- gdal_retile (cli)
- gdal_retile.py (cli)
- gdal_sieve (cli)
- gdal_sieve.py (cli)
- gdal_translate (cli)
- gdal_viewshed (cli)
- gdaladdo (cli)
- gdalattachpct (cli)
- gdalattachpct.py (cli)
- gdalbuildvrt (cli)
- gdalcompare (cli)
- gdalcompare.py (cli)
- gdaldem (cli)
- gdalenhance (cli)
- gdalinfo (cli)
- gdallocationinfo (cli)
- gdalmanage (cli)
- gdalmdiminfo (cli)
- gdalmdimtranslate (cli)
- gdalmove (cli)
- gdalmove.py (cli)
- gdalsrsinfo (cli)
- gdaltindex (cli)
- gdaltransform (cli)
- gdalwarp (cli)
- gnmanalyse (cli)
- gnmmanage (cli)
- nearblack (cli)
- ogr2ogr (cli)
- ogr_layer_algebra (cli)
- ogr_layer_algebra.py (cli)
- ogrinfo (cli)
- ogrlineref (cli)
- ogrmerge (cli)
- ogrmerge.py (cli)
- ogrtindex (cli)
- pct2rgb (cli)
- pct2rgb.py (cli)
- rgb2pct (cli)
- rgb2pct.py (cli)
- sozip (cli)
- gdal (alias)
- gdal-config (alias)
- gdal2tiles (alias)
- gdal2tiles.py (alias)
- gdal2xyz (alias)
- gdal2xyz.py (alias)
- gdal_calc (alias)
- gdal_calc.py (alias)
- gdal_contour (alias)
- gdal_create (alias)
- gdal_edit (alias)
- gdal_edit.py (alias)
- gdal_fillnodata (alias)
- gdal_fillnodata.py (alias)
- gdal_footprint (alias)
- gdal_grid (alias)
- gdal_merge (alias)
- gdal_merge.py (alias)
- gdal_pansharpen (alias)
- gdal_pansharpen.py (alias)
- gdal_polygonize (alias)
- gdal_polygonize.py (alias)
- gdal_proximity (alias)
- gdal_proximity.py (alias)
- gdal_rasterize (alias)
- gdal_retile (alias)
- gdal_retile.py (alias)
- gdal_sieve (alias)
- gdal_sieve.py (alias)
- gdal_translate (alias)
- gdal_viewshed (alias)
- gdaladdo (alias)
- gdalattachpct (alias)
- gdalattachpct.py (alias)
- gdalbuildvrt (alias)
- gdalcompare (alias)
- gdalcompare.py (alias)
- gdaldem (alias)
- gdalenhance (alias)
- gdalinfo (alias)
- gdallocationinfo (alias)
- gdalmanage (alias)
- gdalmdiminfo (alias)
- gdalmdimtranslate (alias)
- gdalmove (alias)
- gdalmove.py (alias)
- gdalsrsinfo (alias)
- gdaltindex (alias)
- gdaltransform (alias)
- gdalwarp (alias)
- gnmanalyse (alias)
- gnmmanage (alias)
- nearblack (alias)
- ogr2ogr (alias)
- ogr_layer_algebra (alias)
- ogr_layer_algebra.py (alias)
- ogrinfo (alias)
- ogrlineref (alias)
- ogrmerge (alias)
- ogrmerge.py (alias)
- ogrtindex (alias)
- pct2rgb (alias)
- pct2rgb.py (alias)
- rgb2pct (alias)
- rgb2pct.py (alias)
- sozip (alias)

## Dependencies

- 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

## Build dependencies

- boost
- cmake
- pkgconf
- python-setuptools
- swig

## Uses from macOS

- curl
- expat

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.13.1
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://github.com/OSGeo/gdal
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption 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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

- <https://gdal.org/en/stable/about.html>
- <https://gdal.org/en/stable/development/rfc/rfc46_gdal_ogr_unification.html>
- <https://gdal.org/en/stable/development/rfc/rfc71_github_migration.html>
- <https://gdal.org/en/stable/development/rfc/rfc78_gdal_utils_package.html>
- <https://gdal.org/en/stable/faq.html>
- <https://gdal.org/en/stable/programs/index.html>
- <https://gdal.org/en/stable/software_using_gdal.html>


## Security Notes

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


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gdal
- **Version Scheme:** 0
- **Revision:** 3
- **Head Version:** HEAD
- **Conflicts With:** avce00, cpl
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - gdal-bin - 3.10.3+dfsg-1: normalized package name match | Debian stable package indexes: gdal-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geospatial Data Abstraction Library - Utility programs | http://www.gdal.org/
- Debian apt - gdal-data - 3.10.3+dfsg-1: normalized package name match | Debian stable package indexes: gdal-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geospatial Data Abstraction Library - Data files | http://www.gdal.org/
- Debian apt - gdal-plugins - 3.10.3+dfsg-1: normalized package name match | Debian stable package indexes: gdal-plugins from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geospatial Data Abstraction Library - Plugins | http://www.gdal.org/
- Debian apt - libgdal-dev - 3.10.3+dfsg-1: normalized package name match | Debian stable package indexes: libgdal-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geospatial Data Abstraction Library - Development files | http://www.gdal.org/
- Debian apt - libgdal36 - 3.10.3+dfsg-1: normalized package name match | Debian stable package indexes: libgdal36 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geospatial Data Abstraction Library | http://www.gdal.org/
- Debian apt - python3-gdal - 3.10.3+dfsg-1: normalized package name match | Debian stable package indexes: python3-gdal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 3 bindings to the Geospatial Data Abstraction Library | http://www.gdal.org/
- Nix - gdal: normalized package name match | nixpkgs package indexes: pkgs/by-name/gd/gdal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gdal-bin - 3.8.4+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gdal-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geospatial Data Abstraction Library - Utility programs | http://www.gdal.org/
- Ubuntu apt - gdal-data - 3.8.4+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gdal-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geospatial Data Abstraction Library - Data files | http://www.gdal.org/
- Ubuntu apt - gdal-plugins - 3.8.4+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gdal-plugins from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geospatial Data Abstraction Library - Plugins | http://www.gdal.org/
- Ubuntu apt - libgdal-dev - 3.8.4+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdal-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geospatial Data Abstraction Library - Development files | http://www.gdal.org/
- Ubuntu apt - libgdal34t64 - 3.8.4+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdal34t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geospatial Data Abstraction Library | http://www.gdal.org/
- Ubuntu apt - python3-gdal - 3.8.4+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-gdal from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python 3 bindings to the Geospatial Data Abstraction Library | http://www.gdal.org/
- apk - gdal - 3.13.0-r1: normalized package name match | Alpine Linux edge package indexes: gdal from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A translator library for raster and vector geospatial data formats | https://gdal.org/
- apk - gdal-bash-completion - 3.13.0-r1: normalized package name match | Alpine Linux edge package indexes: gdal-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for gdal | https://gdal.org/
- apk - gdal-dev - 3.13.0-r1: normalized package name match | Alpine Linux edge package indexes: gdal-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A translator library for raster and vector geospatial data formats (development files) | https://gdal.org/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [apache-arrow](https://www.automicvault.com/pkg/brew/apache-arrow/) - Runtime dependency declared by Homebrew.
- [cfitsio](https://www.automicvault.com/pkg/brew/cfitsio/) - Runtime dependency declared by Homebrew.
- [epsilon](https://www.automicvault.com/pkg/brew/epsilon/) - Runtime dependency declared by Homebrew.
- [geos](https://www.automicvault.com/pkg/brew/geos/) - Runtime dependency declared by Homebrew.
- [giflib](https://www.automicvault.com/pkg/brew/giflib/) - Runtime dependency declared by Homebrew.
- [hdf5](https://www.automicvault.com/pkg/brew/hdf5/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [gmt](https://www.automicvault.com/pkg/brew/gmt/) - Popular package that depends on this formula.
- [mapnik](https://www.automicvault.com/pkg/brew/mapnik/) - Popular package that depends on this formula.
- [mapserver](https://www.automicvault.com/pkg/brew/mapserver/) - Popular package that depends on this formula.
- [osmcoastline](https://www.automicvault.com/pkg/brew/osmcoastline/) - Popular package that depends on this formula.
- [pdal](https://www.automicvault.com/pkg/brew/pdal/) - Popular package that depends on this formula.
- [postgis](https://www.automicvault.com/pkg/brew/postgis/) - Popular package that depends on this formula.
- [rasterio](https://www.automicvault.com/pkg/brew/rasterio/) - Popular package that depends on this formula.
- [geoserver](https://www.automicvault.com/pkg/brew/geoserver/) - Shares av.db curated category or tags: cli, data, geospatial, gis.
- [h3](https://www.automicvault.com/pkg/brew/h3/) - Shares av.db curated category or tags: cli, data, geospatial, gis.
- [libgeotiff](https://www.automicvault.com/pkg/brew/libgeotiff/) - Shares av.db curated category or tags: cli, data, geospatial, gis.
- [librasterlite2](https://www.automicvault.com/pkg/brew/librasterlite2/) - Shares av.db curated category or tags: cli, data, geospatial, raster.
- [mapproxy](https://www.automicvault.com/pkg/brew/mapproxy/) - Shares av.db curated category or tags: cli, data, geospatial, gis.

## Combined YAML source

View the package source record on GitHub. [combined/gdal.yml](https://github.com/automic-vault/db/blob/main/combined/gdal.yml)


## Sources

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