GEOS
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

Install Packages

Red Hat

There is a GEOS package in the EPEL (Extra Packages for Enterprise Linux) repository.

# Add the EPEL repository
yum -y install epel-release

# Install the GEOS runtime and development packages
rpm -Uvh geos geos-devel

Ubuntu

The Ubuntu GIS project maintains a collection of repositories with builds of common open source geospatial projects, including GEOS.

# Add the Ubuntu GIS PPA
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ubuntugis/ppa

# Install the packages
sudo apt-get install geos

Debian

The Debian GIS project maintains GEOS packages and pushes them into the appropriate Debian respositories.

sudo apt-get install geos

Amazon Linux

Amazon Linux is based on RH7, and can read from the EPEL repository. To enable using Amazon tools, use the amazon-linux-extras utility.

sudo yum install -y amazon-linux-extras
sudo amazon-linux-extras enable epel
sudo yum search geos
sudo yum install geos geos-devel

Homebrew

For MacOS, GEOS can be installed using the Homebrew package repository, which downloads source packages and builds them in place using a recipe to ensure all packages integrate with each other nicely.

First install Homebrew. Then:

brew install geos

Macports

For MacOS, GEOS can be installed using the MacPorts package repository, which downloads source packages and builds them in place using a recipe to ensure all packages integrate with each other nicely.

First install MacPorts. Then:

port install geos