Qgis2 installing on Ubuntu 18.04 issue with plugin due qtwebkit4

Asked by marcobra (Marco Braida)

when i try to install qgis2 on ubuntu 18.04 bionic some plugins do not install itself cause a qtwebkit4 issue related
for example the Open Layers, qgis2web etc. plugins

i send here the question only to post complete solution to this issue... here

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu qgis Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please open a terminal and do this:

First remove old installed qgis2 packages:

sudo apt-get remove python-qgis* qgis* qgis-plugin-* libqgis*; sudo apt-get autoremove

in /etc/apt/sources.list add at the end of file:

deb https://qgis.org/ubuntu-ltr bionic main
deb-src https://qgis.org/ubuntu-ltr bionic main

import gpg repository key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key CAEB3DC3BDF7FB45

and install

sudo apt-get update; sudo apt-get install qgis python-qgis qgis-plugin-grass; sudo apt-get -f install; sudo apt-get autoremove