The instructions on the QGIS download site are not as intuitive as I'd like, but they do work when you know the command syntax:
First, what version of Linux (Ubuntu / Mint) are you running?
The code-name of your APT repository will depend on the version of the OS and which version of QGIS you can run.
QGIS 3.x will run on Ubuntu 18.04 (bionic) and Linux Mint 19 (bionic) and above. The latest at the time of this posting is 3.4.2
QGIS 2.18.x will run on Ubuntu 16.04 (xenial) and Linux Mint 18.x (xenial) and below.
Add links to QGIS repositories
sudo sh -c 'echo "deb http://qgis.org/ubuntu bionic main" >> /etc/apt/sources.list'
sudo sh -c 'echo "deb-src http://qgis.org/ubuntu bionic main " >> /etc/apt/sources.list'
wget -O - http://qgis.org/downloads/qgis-2017.gpg.key | gpg --import
gpg --fingerprint CAEB3DC3BDF7FB45
gpg --export --armor CAEB3DC3BDF7FB45 | sudo apt-key add -
Ready to Install QGIS 3.4.2
sudo apt-get update
sudo apt-get install qgis python-qgis
How to add QGIS 3.4.2 to Mint 19
Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Jump to
- Important Notices
- ↳ Rules & Notices
- ↳ Releases & Announcements
- ↳ Main Edition Support
- ↳ Beginner Questions
- ↳ Installation & Boot
- ↳ Software & Applications
- ↳ Hardware Support
- ↳ Graphics Cards & Monitors
- ↳ Printers & Scanners
- ↳ Storage
- ↳ Sound
- ↳ Networking
- ↳ Virtual Machines
- ↳ Desktop & Window Managers
- ↳ Cinnamon
- ↳ MATE
- ↳ Xfce
- ↳ Other topics
- ↳ Non-technical Questions
- ↳ Tutorials
- Debian Edition Support
- ↳ LMDE Forums
- ↳ Beginner Questions
- ↳ Installation & Boot
- ↳ Software & Applications
- ↳ Hardware Support
- ↳ Networking
- ↳ Tutorials
- ↳ Other Topics & Open Discussion
- ↳ LMDE Archive
- Interests
- ↳ Gaming
- ↳ Scripts & Bash
- ↳ Programming & Development
- ↳ Cinnamon on Wayland
- Customization
- ↳ Themes, Icons & Wallpaper
- ↳ Compiz, Conky, Docks & Widgets
- ↳ Screenshots
- ↳ Your Artwork
- Chat
- ↳ Introduce Yourself
- ↳ Chat about Linux Mint
- ↳ Chat about Linux
- ↳ Open Chat
- ↳ Suggestions & Feedback
- International
- ↳ Translations
- ↳ Deutsch - German
- ↳ Español - Spanish
- ↳ Français - French
- ↳ Italiano - Italian
- ↳ Nederlands - Dutch
- ↳ Português - Portuguese
- ↳ Русский - Russian
- ↳ Suomi - Finnish
- ↳ Other Languages
- ↳ Čeština-Slovenčina - Czech-Slovak
- ↳ Magyar - Hungarian
- ↳ 日本語 - Japanese
- ↳ Polski - Polish
- ↳ Svenska - Swedish
- ↳ Українська - Ukrainian