, , , , ,

Inofficial QGIS 2.8 RPMs for EPEL 7: Fedora 20, Fedora 21, Centos 7, Scientific Linux 7

qgis-icon_smallThanks 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.

Repo: https://copr.fedoraproject.org/coprs/neteler/QGIS-2.8-Wien/

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.fedorainfracloud.org/coprs/neteler/python-OWSLib/
wget -O /etc/yum.repos.d/neteler-python-OWSLib-epel-7.repo https://copr.fedorainfracloud.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.fedorainfracloud.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.fedorainfracloud.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.fedorainfracloud.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…).

Enjoy!

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
9 replies
  1. Gustavo Olivares says:

    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)
    Requires: python-OWSLib

    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?

    Thanks

    Reply
    • Gustavo Olivares says:

      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 :-)

      Thanks again!

      Reply
  2. jbento says:

    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://discussion.fedoraproject.org/askfedora/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.!

    Reply
  3. Fabietto says:

    Hello to all.
    I’m experiencing an issue opening the python-console. The exact error is “ImportError: N o module named Qsci.qsciscintilla”.

    Python: 2.7.5
    qgis: 2.8.1

    Packages i installed to solve the issue:
    qscintilla-python-2.8-1.el7.x86_64
    qscintilla-2.8-1.el7.x86_64
    qscintilla-devel-2.8-1.el7.x86_64
    qscintilla-python-devel-2.8-1.el7.noarch

    But NO SUCCESS.
    Someone else did experience this issue?
    Thanks a lot to all especially to this blog post writer!

    Cheers

    Fabio

    Reply

Trackbacks & Pingbacks

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *