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

Geospatial Data Abstraction Library. Version 3.13.2 via Homebrew; verified 2026-08-03. Also installable with debian: sudo apt install gdal-bin.

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- 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

### 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
- **Version:** 3.13.2
- **Source summary:** Geospatial Data Abstraction Library
- **Homepage:** <https://gdal.org/en/stable/>
- **Repository:** <https://github.com/OSGeo/gdal>
- **Last updated:** 2026-08-03T05:15:38Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.13.2
## 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.


## 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.2-r0: 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.2-r0: 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.2-r0: 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/


## Combined YAML source

View the package source record on GitHub. [combined/gdal.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gdal.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
