Thanks to the work of Devrim Gündüz, Volker Fröhlich, Dave Johansen, Rex Dieter and other Fedora/EPEL packagers I had an easy going to prepare RPM packages of QGIS 2.8 Wien for Fedora 20 and 21, Centos 7, and Scientific Linux 7.
The base SRPM package I copied from Fedora’s koji server, modified the SPEC file in order to remove the now outdated PyQwt bindings (see bugzilla) and compiled QGIS 2.8 via the great COPR platform.
The following packages can now be installed and tested on epel-7-x86_64 (Centos 7, Scientific Linux 7, etc.), Fedora-20-x86_64, and Fedora-21-x86_64:
- qgis 2.8.1
- qgis-debuginfo 2.8.1
- qgis-devel 2.8.1
- qgis-grass 2.8.1
- qgis-python 2.8.1
- qgis-server 2.8.1
Installation instructions (run as “root” user or use “sudo”):
# EPEL7: yum -y install epel-release yum -y install wget # https://copr.fedoraproject.org/coprs/neteler/python-OWSLib/ wget -O /etc/yum.repos.d/neteler-python-OWSLib-epel-7.repo https://copr.fedoraproject.org/coprs/neteler/python-OWSLib/repo/epel-7/neteler-python-OWSLib-epel-7.repo yum -y update yum -y install python-OWSLib wget -O /etc/yum.repos.d/qgis-epel-7.repo https://copr.fedoraproject.org/coprs/neteler/QGIS-2.8-Wien/repo/epel-7/neteler-QGIS-2.8-Wien-epel-7.repo yum update yum install qgis qgis-grass qgis-python qgis-server # Fedora 20: wget -O /etc/yum.repos.d/qgis-epel-7.repo https://copr.fedoraproject.org/coprs/neteler/QGIS-2.8-Wien/repo/fedora-20/neteler-QGIS-2.8-Wien-fedora-20.repo yum update yum install qgis qgis-grass qgis-python qgis-server # Fedora 21: wget -O /etc/yum.repos.d/qgis-epel-7.repo https://copr.fedoraproject.org/coprs/neteler/QGIS-2.8-Wien/repo/fedora-21/neteler-QGIS-2.8-Wien-fedora-21.repo yum update yum install qgis qgis-grass qgis-python qgis-server
The other packages are optional (well, also qgis-grass, qgis-python, and qgis-server…).
PS: Of course I hope that QGIS 2.8 officially hits EPEL7 anytime soon! My COPR repo is just a temporary bridge towards that goal.
EDIT 30 April 2015:
- updated EPEL7 installation for python-OWSLib dependency
Pingback: Inofficial QGIS 2.8 RPMs for EPEL 7 | Geo-How-To News
Thanks for that!
However, I’m bumping into a dependency error “python-OWSLib”
The message for that part is:
Error: Package: qgis-python-2.8.1-3.el7.centos.x86_64 (neteler-QGIS-2.8-Wien)
I’ve searched around and I can’t find that for EL7 (SL7 actually) and I also installed OWSLib directly from source (“pip install OWSLib”) but yum keeps complaining that it doesn’t have the package.
Hints?, thoughts?, commiserations?
Same problem… Is there any solution ?!!
Interestingly no issues on my system (confusing!). Anyway, I have build it now separately:
That did it! Thank you very much.
Honestly I have no idea what that was about but it happened with another python module that I installed through pip made yum complain about not finding the package …. for when I have time :-)
Hey … Thanks so much for that.!! It is working fine now.!
Just a tip, if someone is having problem with qtwebkit (Multilib), it might be due to skype … It install qtwebkit. 2.3.4-6.el7, but qgis requests qtwebkit.2.3.3-3.el7. One can follows
https://ask.fedoraproject.org/en/question/42524/yum-update-multilib-version-problems-found-for-package-keyutils-libs/ to get more information and try to work around this …
All the best, and thanks again.!
FYI: I have edited the posting and updated the EPEL7 installation part (Centos etc.) for the python-OWSLib dependency.
Hello to all.
I’m experiencing an issue opening the python-console. The exact error is “ImportError: N o module named Qsci.qsciscintilla”.
Packages i installed to solve the issue:
But NO SUCCESS.
Someone else did experience this issue?
Thanks a lot to all especially to this blog post writer!
Hi Fabio, on CentoOS7 ‘yum install qscintilla-python’ solved this for me.