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

Geometry Engine. Version 3.14.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:geos
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install geos
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install geos
```

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

### Linux

- apk (92%):

```sh
sudo apk add geos
```

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

- Debian apt (92%):

```sh
sudo apt install geos-bin
```

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

- dnf (92%):

```sh
sudo dnf install geos
```

  Evidence: Fedora Rawhide package metadata: geos 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#geos
```

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

- pacman (92%):

```sh
sudo pacman -S geos
```

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

- zypper (92%):

```sh
sudo zypper install geos
```

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

## Package facts

- **Package key:** brew:geos
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/geos>
- **Version:** 3.14.1
- **Source summary:** Geometry Engine
- **Homepage:** <https://libgeos.org/>
- **Repository:** <https://github.com/libgeos/geos>
- **Upstream docs:** <https://libgeos.org/doxygen>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://download.osgeo.org/geos/geos-3.14.1.tar.bz2>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- geos-config (cli)
- geosop (cli)
- geos-config (alias)
- geosop (alias)

## Build dependencies

- cmake

## 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.14.1
- Local data: ok
- Upstream repository: https://libgeos.org/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

GEOS, the Geometry Engine, Open Source, is a C and C++ computational-geometry library focused on algorithms used in GIS software. It implements the OGC Simple Features geometry model, spatial predicates and operations, spatial indexes, WKT and WKB I/O, and C and C++ APIs.

### Project history

GEOS began as a direct C++ port of the Java JTS Topology Suite and remains closely tied to JTS. The project documentation says most core algorithms are developed in JTS and ported to GEOS after completion, while the two projects share testing data to distinguish implementation differences from algorithmic behavior.

GEOS is governed by a Project Steering Committee and is an OSGeo project. The official GitHub repository is the project source tree and includes the C API, C++ implementation, examples, Doxygen documentation, tools, and packaging metadata.

### Adoption history

GEOS became a central dependency in the open-source geospatial stack. The official site names PostGIS, QGIS, GDAL, Shapely, and many others as core users, while the repository README also names the R `sf` package. That adoption made GEOS the shared geometry engine underneath SQL, desktop GIS, Python, R, and data-processing workflows.

### How it is used

Practitioners use GEOS through stable C API bindings, C++ code, or higher-level wrappers to compute intersections, unions, buffers, predicates such as contains and intersects, geometry validity, simplification, convex hulls, distances, areas, lengths, and spatial-index queries. Package users also get `geos-config` for compiler and linker flags and `geosop` as a command-line operator for GEOS geometry operations.

### Why package nerds care

For package managers, GEOS is infrastructure: ABI stability of the C API matters because many dependent packages dynamically link to it. A GEOS upgrade can affect PostGIS, GDAL, QGIS, Shapely, R `sf`, and language bindings, so distributions treat it as a foundational geospatial library rather than a leaf package.

### Timeline

- JTS origin: GEOS started as a direct C++ port of the JTS Topology Suite.
- OSGeo governance: GEOS became an OSGeo project run by a Project Steering Committee.
- 2025: The official citation entry described GEOS as an Open Source Geospatial Foundation computational geometry library.

### Related projects

- Related projects include JTS Topology Suite, PostGIS, QGIS, GDAL, Shapely, R `sf`, and language bindings that expose GEOS operations outside C and C++.

### Sources

- <https://github.com/libgeos/geos>
- <https://libgeos.org/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** geos
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - geos-bin - 3.13.1-1: normalized package name match | Debian stable package indexes: geos-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geometry engine for Geographic Information Systems - Utilities | https://trac.osgeo.org/geos/
- Debian apt - libgeos++-dev - 3.13.1-1: normalized package name match | Debian stable package indexes: libgeos++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geometry engine for GIS - C++ development files | https://trac.osgeo.org/geos/
- Debian apt - libgeos-c1t64 - 3.13.1-1: normalized package name match | Debian stable package indexes: libgeos-c1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geometry engine for Geographic Information Systems - C Library | https://trac.osgeo.org/geos/
- Debian apt - libgeos-dev - 3.13.1-1: normalized package name match | Debian stable package indexes: libgeos-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geometry engine for GIS - Development files | https://trac.osgeo.org/geos/
- Debian apt - libgeos-doc - 3.13.1-1: normalized package name match | Debian stable package indexes: libgeos-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation for the GEOS GIS geometry engine library | https://trac.osgeo.org/geos/
- Debian apt - libgeos3.13.1 - 3.13.1-1: normalized package name match | Debian stable package indexes: libgeos3.13.1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Geometry engine for Geographic Information Systems - C++ Library | https://trac.osgeo.org/geos/
- Nix - geos: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/geos/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - geos-bin - 3.12.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: geos-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geometry engine for Geographic Information Systems - Utilities | https://trac.osgeo.org/geos/
- Ubuntu apt - libgeos++-dev - 3.12.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeos++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geometry engine for GIS - C++ development files | https://trac.osgeo.org/geos/
- Ubuntu apt - libgeos-c1t64 - 3.12.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeos-c1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geometry engine for Geographic Information Systems - C Library | https://trac.osgeo.org/geos/
- Ubuntu apt - libgeos-dev - 3.12.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeos-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geometry engine for GIS - Development files | https://trac.osgeo.org/geos/
- Ubuntu apt - libgeos-doc - 3.12.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeos-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Documentation for the GEOS GIS geometry engine library | https://trac.osgeo.org/geos/
- Ubuntu apt - libgeos3.12.1t64 - 3.12.1-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeos3.12.1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Geometry engine for Geographic Information Systems - C++ Library | https://trac.osgeo.org/geos/
- apk - geos - 3.14.1-r0: normalized package name match | Alpine Linux edge package indexes: geos from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GEOS is a library providing OpenGIS and JTS spatial operations in C++. | https://libgeos.org/
- apk - geos-dev - 3.14.1-r0: normalized package name match | Alpine Linux edge package indexes: geos-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GEOS is a library providing OpenGIS and JTS spatial operations in C++. (development files) | https://libgeos.org/
- dnf - geos - 3.14.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: geos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | GEOS is a C++ port of the Java Topology Suite | http://trac.osgeo.org/geos/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [gdal](https://www.automicvault.com/pkg/brew/gdal/) - Popular package that depends on this formula.
- [gmt](https://www.automicvault.com/pkg/brew/gmt/) - Popular package that depends on this formula.
- [imposm3](https://www.automicvault.com/pkg/brew/imposm3/) - Popular package that depends on this formula.
- [librasterlite2](https://www.automicvault.com/pkg/brew/librasterlite2/) - Popular package that depends on this formula.
- [mapproxy](https://www.automicvault.com/pkg/brew/mapproxy/) - Popular package that depends on this formula.
- [mapserver](https://www.automicvault.com/pkg/brew/mapserver/) - Popular package that depends on this formula.
- [sfcgal](https://www.automicvault.com/pkg/brew/sfcgal/) - Shares av.db curated category or tags: c-plus-plus, cli, geospatial, library, science.
- [geographiclib](https://www.automicvault.com/pkg/brew/geographiclib/) - Shares av.db curated category or tags: c-plus-plus, cli, geospatial, science.
- [proj](https://www.automicvault.com/pkg/brew/proj/) - Shares av.db curated category or tags: cli, geospatial, gis, science.
- [geomview](https://www.automicvault.com/pkg/brew/geomview/) - Shares av.db curated category or tags: cli, geometry, science.
- [clhep](https://www.automicvault.com/pkg/brew/clhep/) - Shares av.db curated category or tags: c-plus-plus, cli, library, science.
- [ginac](https://www.automicvault.com/pkg/brew/ginac/) - Shares av.db curated category or tags: c-plus-plus, cli, library, science.
- [kim-api](https://www.automicvault.com/pkg/brew/kim-api/) - Shares av.db curated category or tags: c-plus-plus, cli, library, science.

## Combined YAML source

View the package source record on GitHub. [combined/geos.yml](https://github.com/automic-vault/db/blob/main/combined/geos.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
