Last active
December 12, 2023 13:38
-
-
Save keesj/b1b1693c1ccf88659b56a69fa18b50bc to your computer and use it in GitHub Desktop.
Install the LTR version of QGiS on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# It happend again the instruction for installing gqis are very hard to understand | |
# To much formation and half baked scripts and instructions. | |
# In my experience .. the people using qgis are not the root/vi type of people | |
# hence the instructions on that page do not work | |
# In a similar way they do not work for me becasue TLDR. I want clear | |
# instructions on doing stuff and specially choosing how to install | |
# longer term release is .. bad. | |
# https://www.qgis.org/nl/site/forusers/alldownloads.html#debian-ubuntu | |
set -x | |
set -o | |
apt-get install -y gnupg software-properties-common | |
rm -rf /etc/apt/keyrings/qgis-archive-keyring.gpg | |
wget -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg | |
cat <<HERE > /etc/apt/sources.list.d/qgis.sources | |
Types: deb deb-src | |
URIs: https://qgis.org/debian-ltr | |
Suites: `lsb_release -c` | |
Architectures: amd64 | |
Components: main | |
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg | |
HERE | |
apt-get update | |
apt-cache policy qgis | grep qris.org || exit 1 | |
apt-get install qgis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment