Kuinka hankin QGIS ohjelmiston?
QGIS on saatavilla Windowsille, macOS:lle , Linuxille, Androidille ja iOS:lle.
Suosittelemme asentamaan julkaistun ohjelmiston paketit.
Tulevan julkaisun arvioimiseksi ja ei-kehittäjien tuelle kehittämisessä tarjoamme testipaketteja (huomaa varoitus).
Ominaisuuksien jäädytysvaiheessa joka edeltää julkaisua (katso Julkistusten suunnitelma) nämä paketit ovat tosiasiassa esijulkaisuja, joita erityisesti kehotamme käyttäjiä testaamaan.
Windows-ympäristöön on saatavilla kaksi vaihtoehtoa:
Aloittelijoille on helpointa käyttää erillisiä asennusohjelmia:
Julkistus |
Versio |
Paketti |
---|---|---|
Viimeisin julkistus |
3.32.3 Lima |
|
Pitkäaikainen julkaisu |
3.28.11 Firenze LTR |
|
Kehitys |
3.33 master |
Katso myös Asennusohjelmistojen pääsivu.
The weekly snapshots of the nightly qgis-dev package of OSGeo4W are for users that cannot use OSGeo4W (see below) for some reason or just prefer standalone installers. In the feature freeze phase that also acts as release candidate.
More advanced QGIS users should use OSGeo4W packages, which for one make it possible to install several versions in parallel and also to do much more efficient updates as only changed components are downloaded and installed.
The OSGeo4W repository contains a lot of software from OSGeo projects. QGIS and all dependencies are included, along with Python, GRASS, GDAL, etc. The installer is able to install from internet or just download all needed packages beforehand. The downloaded files are kept in a local directory for future installations and could also be used to install offline.
Vaiheet:
Lataa OSGeo4W asennusohjelmisto ja käynnistä se
Choose Express Install and select QGIS to install the latest release and/or QGIS LTR to install the long term release.
Alternatively to Express you also use the Advanced Install, navigate to the Desktop section and pick one or more of the following packages:
Julkistus |
Versio |
Paketti |
Kuvaus |
---|---|---|---|
Viimeisin julkistus |
3.32.3 Lima |
qgis |
Julkistus |
qgis-rel-dev 1 |
Öisin koottava tulevaan alajulkaisuun |
||
Pitkäaikainen julkaisu |
3.28.11 Firenze LTR |
qgis-ltr |
Julkistus |
qgis-ltr-dev 1 |
Öisin koottava tulevan pitkäaikaisversion alajulkaisu |
||
Kehitys |
3.33 master |
qgis-dev 1 |
Öisin koottava kehitysversioon |
The packages listed in the table only install the necessary packages to run
QGIS. Corresponding to those packages there are also meta packages with
the postfix -full-free
and -full
. The former contains additional optional
dependencies that some popular - not included - plugins use and the latter
include the former and also add proprietary extensions like Oracle, ECW and
MrSID.
The Express installs reference the corresponding -full
variant and the
standalone installers are also made from these OSGeo4W package sets.
Before installing any of the nightly builds note the warning.
Most linux distributions split QGIS into several packages; you’ll probably need qgis and qgis-python (to run plugins). Packages like qgis-grass (or qgis-plugin-grass), qgis-server can be skipped initially, or installed only when you need them.
Below you find instructions to install per distribution. For most distro’s there are instructions to install QGIS stable and instructions to install a cutting edge QGIS testing build (note the warning).
Muista
In the section following this one, you will find ALL possible options to install different versions of QGIS in different versions of Debian/Ubuntu. If you have problems, verify there whether your distribution is still supported as the repositories also contain older unsupported distributions with the last QGIS version that was supported. Beware that those might have meanwhile ceased to work.
Here you will simply install the latest stable QGIS (3.32.x Lima) in your Debian or Ubuntu without having to edit config files.
Muista
Although you see ’Debian’ in some places, this also works for ’Ubuntu’, as one is actually a symlink to the other on our server.
First install some tools you will need for this instructions:
sudo apt install gnupg software-properties-common
Now install the QGIS Signing Key, so QGIS software from the QGIS repo will be trusted and installed:
sudo mkdir -m755 -p /etc/apt/keyrings # not needed since apt version 2.4.0 like Debian 12 and Ubuntu 22 or newer
sudo wget -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
Add the QGIS repo for the latest stable QGIS (3.32.x Lima) to /etc/apt/sources.list.d/qgis.sources
:
Types: deb deb-src
URIs: https://qgis.org/debian
Suites: your-distributions-codename
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg
Muista
Suites
in above lines depends on your distribution. lsb_release -cs
will show your distribution name.
In some distributions (like Linux Mint), . /etc/os-release; echo "$UBUNTU_CODENAME"
will show the correct distibution name.
See Available codenames.
Update your repository information to reflect also the just added QGIS one:
sudo apt update
Nyt, asenna QGIS:
sudo apt install qgis qgis-plugin-grass
Muista
Add qgis-server
to this line if you also want to install QGIS Server
Oletus Debian ja Ubuntun ohjelmakirjastoista sisältävät usein vanhemman version QGISistä.
To have newer versions, you have to add alternative software repositories, by
adding one of the deb-lines below to your /etc/apt/sources.list.d/qgis.sources
file.
Our main repository contains multiple lines of packages for several versions of Debian and Ubuntu based on the dependencies the individual distributions provide.
For Ubuntu we also used to have extra packages in a separate repository that are based on ubuntugis, which held more uptodate versions of other GIS packages than Ubuntu itself for LTS versions. If you want those you also need to include ubuntugis-unstable ppa in your /etc/apt/sources.list.d/qgis.list file (see ubuntugis documentation).
Muista
The release packages are only produced once shortly after a new version has been released. As unstable, not yet released debian versions (testing) and ubuntugis-unstable can have library changes the packages might sooner or later be broken for these targets, when the development in debian, ubuntu or ubuntugis-unstable moves on and their packages used as dependencies in qgis change. In that event you can either
move to a stable debian version and use the released packages for it,
wait for the next point release (due 2023-10-27 12:00:00 UTC), which happens every month and will include the updated dependencies,
switch to a nightly repository (available for the two release branches and master) whose packages are rebuild on regular basis and will also pickup the updated dependencies automatically or
build your own set of packages (see build-debian-packages).
Eri asennusversiot:
Julkistus |
Versio |
Kuvaus |
Etäkirjasto |
---|---|---|---|
Viimeisin julkistus |
3.32.x Lima |
Debian and Ubuntu julkaisut |
|
Julkaisu ubuntugis-unstable:n riippuvuuksilla |
|||
Nightly build of upcoming point release for Debian and Ubuntu 5 |
https://qgis.org/debian-nightly-release https://qgis.org/ubuntu-nightly-release |
||
Nightly build of upcoming point release with ubuntugis-unstable dependencies 5 |
|||
Pitkäaikaisen julkaisun (LTR) paketoinnit |
3.28.x Firenze LTR |
Debian and Ubuntu julkaisut |
|
Julkaisu ubuntugis-unstable:n riippuvuuksilla |
|||
Nightly build of upcoming point release for Debian and Ubuntu 5 |
https://qgis.org/debian-nightly-ltr https://qgis.org/ubuntu-nightly-ltr |
||
Nightly build of upcoming point release with ubuntugis-unstable dependencies 5 |
|||
Kehitysversio |
3.33 master |
Jokaöinen julkaisu Debian and Ubuntu 5 |
https://qgis.org/debian-nightly https://qgis.org/ubuntu-nightly |
Jokaöinen julkaisu ubuntugis-unstable:n riippuvuuksilla 5 |
Supported distribution versions:
Jakelu |
Versio |
Koodinimi |
Also available based on ubuntugis-unstable dependencies? |
---|---|---|---|
Debian |
12.x (stable) |
bookworm |
|
11.x (oldstable) |
bullseye |
||
epävakaa |
sid |
||
Ubuntu |
23.04 |
lunar |
|
22.04 (LTS) |
jammy |
kyllä |
To use the qgis archive you have to first add the archive’s repository public key:
wget https://download.qgis.org/downloads/qgis-archive-keyring.gpg
gpg --no-default-keyring --keyring ./qgis-archive-keyring.gpg --list-keys
Tulisi antaa tulosteeksi:
./qgis-archive-keyring.gpg
--------------------------
pub rsa4096 2022-08-08 [SCEA] [expires: 2027-08-08]
2D7E3441A707FDB3E7059441D155B8E6A419C5BE
uid [ unknown] QGIS Archive Automatic Signing Key (2022-2027) <qgis-developer@lists.osgeo.org>
After you have verified the output you can install the key with:
sudo mkdir -m755 -p /etc/apt/keyrings # not needed since apt version 2.4.0 like Debian 12 and Ubuntu 22 or newer
sudo cp qgis-archive-keyring.gpg /etc/apt/keyrings/qgis-archive-keyring.gpg
Alternatively you can download the key directly without manual verification:
sudo mkdir -m755 -p /etc/apt/keyrings # not needed since apt version 2.4.0 like Debian 12 and Ubuntu 22 or newer
sudo wget -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
With the keyring in place you can add the repository as /etc/apt/sources.list.d/qgis.sources
with following content:
Types: deb deb-src
URIs: *repository*
Suites: *codename*
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg
Example for the latest long term release for Ubuntu 22.04 Jammy:
Types: deb deb-src
URIs: https://qgis.org/ubuntu-ltr
Suites: jammy
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg
After that type the commands below to install QGIS:
sudo apt update
sudo apt install qgis qgis-plugin-grass
In case you would like to install QGIS Server, type:
sudo apt update
sudo apt install qgis-server --no-install-recommends --no-install-suggests
# if you want to install server Python plugins
apt install python3-qgis
Muista
Ole ystävällinen ja poista kaikki QGIS ja GRASS paketit jotka olet mahdollisesti asentanut muista etäkirjastoista ennenkuin teet päivityksen.
Hanki paketit Fedoraan kirjoittamalla:
sudo dnf install qgis python3-qgis qgis-grass qgis-server
Default Fedora software repositories often hold older versions of QGIS.
To have newer versions or the latest LTR, you have to add alternative software repositories based on the version you want to install (stable, LTR or testing).
Enable the repository:
sudo dnf copr enable dani/qgis
After that type the commands below to install QGIS:
sudo dnf install qgis python3-qgis qgis-grass
In case you would like to install QGIS Server (note that it’s not a common practice to install both client and server applications on the same machine), type:
sudo dnf install qgis-server python3-qgis
Jakelu |
Versio |
QGIS versio |
GRASS GIS versio |
---|---|---|---|
Fedora |
36 |
3.28 |
8.0 |
37 |
3.28 |
8.2 |
Lisätietoja: https://copr.fedorainfracloud.org/coprs/dani/qgis/
Enable the repository:
sudo dnf copr enable dani/qgis-ltr
After that type the commands below to install QGIS:
sudo dnf install qgis python3-qgis qgis-grass
In case you would like to install QGIS Server (note that it’s not a common practice to install both client and server applications on the same machine), type:
sudo dnf install qgis-server python3-qgis
Jakelu |
Versio |
QGIS versio |
GRASS GIS versio |
---|---|---|---|
Fedora |
36 |
3.22 |
8.0 |
37 |
3.22 |
8.2 |
Lisätietoja: https://copr.fedorainfracloud.org/coprs/dani/qgis-ltr/
Latest stable and LTR packages called qgis and qgis-ltr are available in the following repositories:
Kaikki paketit sisältävät GRASS ja Python tuen.
Kaikki openSUSE Geo etäkirjastot löytyvät täältä: https://download.opensuse.org/repositories/Application:/Geo/
Nykyinen:
urpmi qgis-python qgis-grass
Packages on https://slackbuilds.org/result/?search=qgis
Arch Linux is available in official repository : https://archlinux.org/packages/extra/x86_64/qgis/
Asenna:
pacman -S qgis
QGIS Long Term Release is available in AUR (Arch User Repository).
Install with yaourt or other package manager which support AUR:
yaourt -S qgis-ltr
For bugs and other behaviour, read comments here : https://aur.archlinux.org/packages/qgis-ltr/
QGIS testing is available in AUR (Arch User Repository).
Install with yaourt or other package manager which support AUR:
yaourt -S qgis-git
For bugs and other behaviour, read comments here : https://aur.archlinux.org/packages/qgis-git
There is an QGIS flatpak for QGIS Stable available, maintained by the flathub community.
For general Linux Flatpak install notes, see https://flatpak.org/setup/
QGIS Flathubissa: https://flathub.org/apps/details/org.qgis.qgis
Asenna:
flatpak install --from https://dl.flathub.org/repo/appstream/org.qgis.qgis.flatpakref
Sen jälkeen suorita:
flatpak run org.qgis.qgis
To update your flatpak QGIS:
flatpak update
On certain distributions, you may also need to install xdg-desktop-portal or xdg-desktop-portal-gtk packages in order for file dialogs to appear.
Flathub files: https://github.com/flathub/org.qgis.qgis and report issues here: https://github.com/flathub/org.qgis.qgis/issues
Note: if you need to install additional Python modules, because they are needed by a plugin, you can install the module with (here installing the scipy module):
flatpak run --devel --command=pip3 org.qgis.qgis install scipy --user
Official All-in-one, signed installers for macOS High Sierra (10.13) and newer can be downloaded from the QGIS download page.
A nightly updated standalone installer from QGIS master can be downloaded from here.
The package management system MacPorts offers both the latest release
version (port qgis3
) and the long term version (port qgis3-ltr
). This will install QGIS with
native architecture, Intel x86_64 or Apple ARM. Main software dependencies such as GDAL, PDAL and
GRASS GIS are usually the latest version available.
Installing MacPorts and updating it and the ports are made with
the Terminal. QGIS is however installed as an app bundle at /Applications/MacPorts/QGIS3.app
.
Get information of a port:
sudo port info qgis3
Install port, e.g with GRASS GIS:
sudo port install qgis3 +grass
Update:
sudo port selfupdate
sudo port upgrade outdated
Previous releases of the official installer can be downloaded from https://qgis.org/downloads/macos/.
Kyngchaos-ohjelman aiemmat versiot voi ladata osoitteesta https://www.kyngchaos.com/software/archive/qgis/. Vanhin versio tukee macOs 10.4 Tiger -käyttöjärjestelmää.
To install QGIS from binary packages type
pkg install qgis
Or to customize compilation options, you can build it from FreeBSD ports
cd /usr/ports/graphics/qgis
make install clean
To install QGIS from binary packages type
pkg install qgis-ltr
Or to customize compilation options, you can build it from FreeBSD ports
cd /usr/ports/graphics/qgis-ltr
make install clean
QGIS tuotantoversio
Asenna QGIS kolmannen osapuolen paketoinnista
pkg_add qgis
See: - https://openbsd.app/?search=qgis # for -stable OpenBSD - https://openbsd.app/?search=qgis¤t=on # for -current OpenBSD
An old and deprecated not touch optimised release of QGIS for Android can be found on the google play store.
https://play.google.com/store/apps/details?id=org.qgis.qgis
Varoitus
There is currently no support for Android 5. Best support is given for Android 4.3 and 4.4.x. This is a direct port of the QGIS desktop application. It is only slightly optimized for touch devices and therefore needs to be carefully evaluated for its suitability in day-to-day use. There are other apps available which are designed and optimized specifically for touch devices.
Varoitus
Eräät jakelut tarjoavat QGIS testauspaketit QGIS tuotannollisen paketit lisäksi. QGIS testauspakaetti sisältää julkaisemattoman ohjelmiston jonka kanssa työskennellään paraikaa. Paketit tarjotaan ainoastaan testaukseen varhaisille tulevan version käyttäjille virheiden tarkistamista varten ja ettei uusia virheitä ole ilmaantunut. Vaikka me huolellisesti yrittämme välttää toiminnallisia virheitä, ohjelma voi milloin tahansa olla toimimatta, tai se voi tehdä pahaa tiedoillesi. Koita pärjätä! Sinua on varoitettu!
Refer to INSTALL on how to build and install QGIS from source for the different platforms.