Skip to main content
59 votes
Accepted

Error adding qgis.org repository public key to apt keyring

Based on old notes, the following seems to work: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 51F523511C7028C3 -- Update -- As of August 2020: sudo apt-key adv --keyserver keyserver....
tinlyx's user avatar
  • 11.1k
21 votes
Accepted

QGIS fails to load

Got the same problem on Linux Mint and finally fixed it. The problem is that you've installed a few python libraries and one of them is a dependency of QGIS. QGIS ~2.18 works fine with Scipy 0.17, ...
dmh126's user avatar
  • 6,762
20 votes
Accepted

Installing QGIS 3.12.x on Ubuntu focal 20.04 architecture mismatch

You can specify the platform in your APT line with [ arch=amd64 ]: deb [ arch=amd64 ] https://qgis.org/ubuntu/ focal main Source : https://unix.stackexchange.com/questions/272908/apt-looking-for-...
etrimaille's user avatar
  • 7,280
15 votes

Getting QGIS to use dedicated graphics card (GPU) over integrated?

I am a GIS developer and geospatial analyst. I use QGIS professionally. QGIS does make limited use of parallelized GPU acceleration, but only for raster rendering, namely: slope aspect hillshade ...
Beetroot's user avatar
  • 150
14 votes
Accepted

OS with better performance for QGIS

I suspect you'll get a lot of subjective answers to this question, but here's some (hopefully objective!) points to keep in mind: running Linux natively will always be faster than running it in a ...
ndawson's user avatar
  • 27.7k
14 votes

Can't install QGIS 3.x on Ubuntu 18.04

According to ubuntugis documentation. "A convenient new command is available for adding Launchpad PPA (Personal Package Archive) repositories via the command line: add-apt-repository." For the stable ...
Juan Francisco Pineda Pinzón's user avatar
11 votes

How to reinstall QGIS from scratch on Ubuntu?

sudo software-properties-gtk there in the package manager remove qgis and ubuntugis from the list; sudo apt-get autoremove sudo apt-get autoclean sudo apt-get -f install sudo apt-get autoremove qgis ...
Elio Diaz's user avatar
  • 3,486
10 votes

No SAGA available in QGIS Processing

I had faced a similar issue but resolved it with saga install. You need to install proper version of SAGA. I installed saga via apt install. SAGA version in Ubuntu 18.04.3 repository work very well ...
programmer punk's user avatar
9 votes

How to create svg symbols that have modifiable fill color, stroke color and stroke width?

It seems worth providing a simple answer about the basics of SVGs to go alongside the details provided here about specifics around software... An SVG file is just a text file. The file ending will be ...
Rostranimin's user avatar
  • 2,990
9 votes

Repairing broken GDAL and PROJ.4 on Ubuntu?

Try: sudo apt-get install libproj-dev It solved the same error for me when using gdal_translate for extracting bands from an hdf image.
Sandino's user avatar
  • 91
9 votes
Accepted

Cannot run Grass algorithms in QGIS 2.18 on Ubuntu 16.04

I get the same error with the Ubuntugis version of QGIS and GRASS version 7.2.0. It seems that 7.2 is not yet correctly adopted in processing. There is already a ticket for it: https://hub.qgis.org/...
AndreJ's user avatar
  • 76.7k
9 votes

Error adding qgis.org repository public key to apt keyring

After you have verified the fingerprint you forgot to add the key to apt with: gpg --export --armor 51F523511C7028C3 | sudo apt-key add - Read the QGIS documentation. All the instructions are: ...
4ndt3s's user avatar
  • 191
9 votes
Accepted

Install a Python package on QGIS

For installing python packages for your Ubuntu QGIS-3, you don't need to launch Python Console. First, in bash console: sudo su [sudo] password for user: apt-get install python3-pip pip3 install ...
xunilk's user avatar
  • 30k
8 votes
Accepted

QGIS ImportError: No module named 'PyQt5.QtSvg'

You're missing the python3-pyqt5.qtsvg dependency. Install that and retry.
ndawson's user avatar
  • 27.7k
8 votes
Accepted

IDE (PyCharm) settings for developing with Processing in Linux (Ubuntu)

I’ve found the solution of my main question with help of this answer. If you need to add some external library, first of all check where it is placed (if it is possible of course). I opened Python ...
Andrii Liekariev's user avatar
8 votes
Accepted

Unable to install ‘sf’ R package on Ubuntu 16.04 LTS

This worked for me. Using sudo aptitude install libgdal-dev and then devtools::install_github("r-spatial/sf")
MYaseen208's user avatar
8 votes

Installing QGIS with ECW support on ubuntu 20.04

Compiling GDAL using proprietary library to support ECW file format - Ubuntu QGIS uses GDAL for file formats. 1. UPDATE - Download zip file from here for 5.4.0 Downlaod the latest version from ...
imbr's user avatar
  • 182
7 votes

The connection was reset deploying geoserver.war in ubuntu

The real cause of the issue is the max-file-size limit in WEB-INF/web.xml. It is set for 50MB while the geoserver.war (version 2.9.0) is over 65MB. Open the file below for tomcat7: sudo nano /usr/...
Harry's user avatar
  • 233
7 votes

Adding group in Legend in QGIS Map composer?

You can just drag and drop your layers into groups, than just refresh legend item by clicking itnto print composer canvas or any map item.
Oto Kaláb's user avatar
  • 6,925
7 votes
Accepted

How to install QGIS-3 (2.99) on Ubuntu 17.10?

This is what worked for me for qgis3 (2.99): Add following to /etc/apt/sources.list and remove previous qgis entries deb http://qgis.org/debian-nightly artful main deb-src http://qgis.org/debian-...
tinlyx's user avatar
  • 11.1k
7 votes

Can't install QGIS 3.x on Ubuntu 18.04

It seems that I used a wrong string to indicate the repo's address. The correct strings for /etc/apt/sources.list are: deb https://qgis.org/ubuntugis/ bionic main deb-src https://qgis.org/ubuntugis/ ...
Alexei Kouprianov's user avatar
7 votes

PostgreSQL-12.3 / PostGIS-3.0 - could not access file “$libdir/postgis-2.4”: No such file or directory

Possibly unrelated, but when I ran into the same error message, I was able to fix it by running ALTER EXTENSION postgis UPDATE;
Ariel Allon's user avatar
7 votes

Ubuntu 20.04 with QGIS 3.14 (pi) SAGA is missing

In order to solve the problem I had to: Verify if SAGA is actually installed in the system with: saga_cmd It said SAGA was not installed. Install SAGA with: sudo apt-get install saga Check it's ...
Abs's user avatar
  • 131
7 votes

PostGIS: type "raster" does not exist

For me the answer was: run create extension postgis_raster from a SQL client. I had never used this extension, only vanilla postgis, but I was trying to install a PostGIS "add-on" that ...
bertday's user avatar
  • 1,315
7 votes
Accepted

Menus in QGIS 3.22 are black and unreadable

Found the setting in menu Settings -> Options -> General -> Application -> Style. Set it to gtk2, and menus will be as in the system. Restared QGIS, menus are readable again:
culebrón's user avatar
  • 2,324
6 votes

How to configure QGIS (SAGA, GRASS algorithms) in Ubuntu

You have not to configure anything like you do in windows. After you have installed Qgis: for GRASS you have to install the software in this way (link to official page): sudo add-apt-repository ppa:...
CaMa's user avatar
  • 118
6 votes

QGIS LTS broken in Ubuntu 16.04

Currently there is a bug in the Ubuntugis unstable package of qgis 2.14.17, see https://issues.qgis.org/issues/16975 You can wait until that is fixed, or change your sources.list to deb http://qgis....
AndreJ's user avatar
  • 76.7k
6 votes
Accepted

Installing QGIS 3 on Ubuntu?

Just for the record, as of 02/24/2018, changing the repository from deb http://qgis.org/ubuntugis-nightly xenial main to deb https://qgis.org/ubuntugis xenial main , and apt-get remove/install ...
tinlyx's user avatar
  • 11.1k
6 votes
Accepted

QGIS Server doesn't render any fonts on Ubuntu 16.04

I put my comment as an answer: You need to set up the environment variable,export QT_QPA_FONTDIR=<path to font files> for example export QT_QPA_FONTDIR=/usr/share/fonts/open-sans But when using ...
Fran Raga's user avatar
  • 7,878
6 votes

QGIS installation vanished! Re-installation attempts produce dependency-errors

In this specific case, you should remove the ubuntugis repository. Then downgrade gdal (from 2.3.2 that came from ubuntugis) to version 2.2.3. sudo apt install gdal-bin=2.2.3+dfsg-2 libgdal20=2.2.3+...
jgrocha's user avatar
  • 5,435

Only top scored, non community-wiki answers of a minimum length are eligible