Fedora 21 安装QGIS2.8
查看当期repo中的版本(Fedora 21 ships QGIS 2.6)
$ sudo yum install list qgis
如安装其他版本如2.8,则需要添加新源
$ sudo wget fedora.vitu.ch/QGIS/qgis.repo -P /etc/yum.repos.d/
$ sudo rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
$ sudo yum update
$ sudo yum install list qgis
# For mapserver on Fedora 21
$ sudo yum install qgis-server
或者编译安装,参考 http://blog.neteler.org/compiling-qgis-2-0-1-for-fedora-19-in-a-few-steps/
Fedora 31 安装QGIS 3.x
Fedora社区QGIS repo (2020-4-27):
安装
sudo dnf copr enable dani/qgis //QGIS 3.12
sudo dnf install qgis
sudo dnf install python3-qgis # Python support 3
sudo dnf install qgis-grass # GRASS support 7.8
sudo dnf install qgis-server # QGIS Server
sudo dnf install saga # SAGA 2.3.1 or dnf upgrade if installed.
qgis依赖包一览
$ sudo dnf install qgis
69 Packages Installed:
SuperLU-5.2.1-7.fc31.x86_64 armadillo-9.800.3-1.fc31.x86_64
arpack-3.5.0-6.fc28.x86_64 assimp-3.3.1-20.fc31.x86_64
blas-3.8.0-13.fc31.x86_64 cfitsio-3.470-1.fc31.x86_64
clang-libs-9.0.0-1.fc31.x86_64 cmake-filesystem-3.16.3-1.fc31.x86_64
compiler-rt-9.0.0-1.fc31.x86_64 freexl-1.0.5-4.fc31.x86_64
gdal-2.3.2-10.fc31.x86_64 gdal-libs-2.3.2-10.fc31.x86_64
geos-3.7.1-2.fc31.x86_64 gpsbabel-1.6.0-3.fc31.x86_64
gsl-2.5-2.fc31.x86_64 hdf-libs-4.2.14-6.fc31.x86_64
hdf5-1.10.5-3.fc31.x86_64 hwloc-libs-2.0.4-1.fc31.x86_64
irrXML-1.8.4-10.fc31.x86_64 lapack-3.8.0-13.fc31.x86_64
libaec-1.0.4-2.fc31.x86_64 libclc-0.2.0-16.git9f6204e.fc31.x86_64
libdap-3.20.4-1.fc31.x86_64 libgeotiff-1.4.3-4.fc31.x86_64
libgta-1.0.9-3.fc31.x86_64 libkml-1.3.0-21.fc31.x86_64
libomp-9.0.0-1.fc31.x86_64 libpq-11.6-1.fc31.x86_64
libspatialite-4.3.0a-12.fc31.x86_64 libstdc++-devel-9.2.1-1.fc31.x86_64
libusb-1:0.1.5-15.fc31.x86_64 libzip-1.5.2-2.fc31.x86_64
mariadb-connector-c-3.1.6-1.fc31.x86_64 mariadb-connector-c-config-3.1.6-1.fc31.noarch
mesa-libOpenCL-19.2.8-1.fc31.x86_64 minizip-compat-1.2.11-20.fc31.x86_64
netcdf-4.7.0-2.fc31.x86_64 ocl-icd-2.2.12-6.fc31.x86_64
ogdi-3.2.1-5.fc31.x86_64 openblas-openmp-0.3.7-1.fc31.x86_64
openblas-threads-0.3.7-1.fc31.x86_64 openblas-threads64_-0.3.7-1.fc31.x86_64
opencl-filesystem-1.0-10.fc31.noarch pocl-1.4-0.1.rc2.fc31.x86_64
poly2tri-0.0-19.20130501hg26242d0aa7b8.fc31.x86_64 proj-5.2.0-5.fc31.x86_64
proj-datumgrid-1.8-5.fc31.noarch qca-qt5-2.2.1-2.fc31.x86_64
qca-qt5-ossl-2.2.1-2.fc31.x86_64 qgis-3.12.2-1.fc31.x86_64
qscintilla-qt5-2.11.2-4.fc31.x86_64 qt5-qt3d-5.13.2-1.fc31.x86_64
qt5-qtcharts-5.13.2-1.fc31.x86_64 qt5-qtimageformats-5.13.2-1.fc31.x86_64
qt5-qtlocation-5.13.2-1.fc31.x86_64 qt5-qtsensors-5.13.2-1.fc31.x86_64
qt5-qtserialport-5.13.2-1.fc31.x86_64 qt5-qtsvg-5.13.2-1.fc31.x86_64
qt5-qttools-common-5.13.2-3.fc31.noarch qt5-qttools-libs-designer-5.13.2-3.fc31.x86_64
qt5-qtwebchannel-5.13.2-1.fc31.x86_64 qt5-qtwebkit-5.212.0-0.41.alpha3.fc31.x86_64
qtkeychain-qt5-0.9.1-3.fc31.x86_64 qwt-qt5-6.1.3-11.fc31.x86_64
shapelib-1.5.0-2.fc31.x86_64 spatialindex-1.9.3-1.fc31.x86_64
unixODBC-2.3.7-5.fc31.x86_64 uriparser-0.9.3-2.fc31.x86_64
xerces-c-3.2.2-3.fc31.x86_64
python3-qgis依赖包一览表
$ sudo dnf install python3-qgis
22 packages Installed:
gdal-python-tools-2.3.2-10.fc31.x86_64 openal-soft-1.19.1-3.fc31.x86_64 python-qt5-rpm-macros-5.13.2-3.fc31.noarch
python3-OWSLib-0.18.0-2.fc31.noarch python3-babel-2.7.0-2.fc31.noarch python3-future-0.18.2-2.fc31.noarch
python3-gdal-2.3.2-10.fc31.x86_64 python3-jinja2-2.10.1-2.fc31.noarch python3-numpy-1:1.17.4-2.fc31.x86_64
python3-psycopg2-2.7.7-3.fc31.x86_64 python3-pygments-2.4.2-2.fc31.noarch python3-pyproj-1.9.6-3.fc31.x86_64
python3-pyqt5-sip-4.19.19-1.fc31.x86_64 python3-qgis-3.12.2-1.fc31.x86_64 python3-qscintilla-qt5-2.11.2-4.fc31.x86_64
python3-qt5-5.13.2-3.fc31.x86_64 python3-qt5-base-5.13.2-3.fc31.x86_64 qt5-qtconnectivity-5.13.2-1.fc31.x86_64
qt5-qtenginio-1:1.6.2-27.fc31.x86_64 qt5-qtmultimedia-5.13.2-1.fc31.x86_64 qt5-qttools-libs-help-5.13.2-3.fc31.x86_64
qt5-qtwebsockets-5.13.2-1.fc31.x86_64
QGIS GRASS支持安装包依赖一览:
$ sudo dnf install qgis-grass # GRASS support 7.8
Installed:
fftw-libs-double-3.3.8-6.fc31.x86_64 grass-7.8.2-1.fc31.x86_64 grass-libs-7.8.2-1.fc31.x86_64
libqhull-1:7.2.1-2.fc31.x86_64 perl-Filter-2:1.59-440.fc31.x86_64 perl-Text-Unidecode-1.30-10.fc31.noarch
perl-XML-Parser-2.44-17.fc31.x86_64 perl-XML-XPath-1.44-4.fc31.noarch perl-encoding-4:2.22-440.fc31.x86_64
perl-open-1.11-449.fc31.noarch proj-datumgrid-world-1.0-2.fc31.noarch python3-cycler-0.10.0-10.fc31.noarch
python3-kiwisolver-1.1.0-2.fc31.x86_64 python3-matplotlib-3.1.2-1.fc31.x86_64 python3-matplotlib-data-3.1.2-1.fc31.noarch
python3-matplotlib-data-fonts-3.1.2-1.fc31.noarch python3-matplotlib-tk-3.1.2-1.fc31.x86_64 python3-pyparsing-2.4.0-2.fc31.noarch
python3-tkinter-3.7.6-2.fc31.x86_64 python3-wx-siplib-4.19.19-1.fc31.x86_64 python3-wxpython4-4.0.6-8.fc31.x86_64
qgis-grass-3.12.2-1.fc31.x86_64 texlive-base-7:20190410-7.fc31.x86_64 texlive-dvipng-7:20190410-7.fc31.x86_64
texlive-kpathsea-7:20190410-7.fc31.x86_64 texlive-tetex-7:20190410-7.fc31.noarch texlive-texconfig-7:20190410-7.fc31.noarch
texlive-texlive.infra-7:20190410-7.fc31.noarch tk-1:8.6.8-2.fc31.x86_64 wxBase3-3.0.4-10.fc31.x86_64
wxGTK3-3.0.4-10.fc31.x86_64 wxGTK3-gl-3.0.4-10.fc31.x86_64 wxGTK3-i18n-3.0.4-10.fc31.noarch
QGIS Server安装包依赖一览:
sudo dnf install qgis-server # QGIS Server
Installed:
fcgi-2.4.0-36.fc31.x86_64 qgis-server-3.12.2-1.fc31.x86_64
SAGA 2.3.1安装包依赖一览:
sudo dnf install saga # SAGA 2.3.1
Installed:
libharu-2.3.0-7.fc31.x86_64 saga-2.3.1-5.fc31.x86_64