Score:2

How to install GEOS on Ubuntu 20.04

ke flag

Can a kind soul help me install this dependence on Ubuntu? https://trac.osgeo.org/geos/

I'm still learning how to use Ubuntu and have no idea where to click or what to do. And I haven't found any tutorials online.

Thank you in advance.

Knud Larsen avatar
by flag
Ubuntu 20.04 : Your link points to https://packages.ubuntu.com/search?keywords=geos&searchon=sourcenames&suite=all&section=all → → https://packages.ubuntu.com/source/focal/geos → → https://packages.ubuntu.com/search?suite=focal&searchon=names&keywords=libgeos
guiverc avatar
cn flag
Please clarify your release of Ubuntu. The format used for Ubuntu releases is *year.month* showing the year & month of release; there aren't 14 months in a year (your title says 2020-14th month or 20.14) and it maybe you meant 21.04 (or the 2021-April release), but you also tagged 20.04.. Please clarify/correct.
Thdn avatar
ke flag
My bad, I mistyped, It is Ubuntu 20.04 LTS. How would I go about installing these packages?
guiverc avatar
cn flag
Please correct your question then. (I can then remove my comment)
Score:6
cn flag

I suggest that you install with the terminal:

sudo apt update
sudo apt install libgeos++-dev libgeos-3.8.0 libgeos-c1v5 libgeos-dev libgeos-doc

Several dependencies may also be installed.

Py-ser avatar
tr flag
3.10 is not available on Focal Fossa
Score:1
la flag

The version 3.9.1 is the available version for Ubuntu 20.04 (Focal Fossa).

Also you need to install some dependencies libgeos++-dev, libgeos-c1v5, libgeos-dev and libgeos-doc.

Some dependencies can be optional, but recommended.

You can install the following package version on the repository:

sudo apt install libgeos++-dev libgeos-3.9.1 libgeos-c1v5 libgeos-dev libgeos-doc

JamesT avatar
gf flag
Welcome! Other then the version, how is this any different to the answer above?
marcfreir avatar
la flag
@JamesT I just updated and clarified the answer. Also there was a typo in the command. Also I edited the "@chili55" answer.
greenie-beans avatar
gb flag
i like this answer better because it tells me what version of geos i'm about to get
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.