QGIS installation

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
(Installation of QGIS and OTB on Ubuntu 18.0.4 ("Bionic Beaver"))
(Network Installer)
 
(83 intermediate revisions by one user not shown)
Line 3: Line 3:
 
=Using your own laptop or PC=
 
=Using your own laptop or PC=
  
We prefer using [http://en.wikipedia.org/wiki/Free_and_open_source_software Free and Open Source Software] because this enables you to install software on your own computer without paying for costly licenses, to learn and continue your work at home. Here are the links to download the software from the internet and install it yourself:
+
We prefer using [http://en.wikipedia.org/wiki/Free_and_open_source_software Free and Open Source Software] because this enables you to install software on your own computer without paying for costly licenses, to learn and continue your work at home. In this course we use the Long Term Release LTR Version ''QGIS 3.28.4 '''Firenze'''''. QGIS is available on [http://www.qgis.org/en/site/forusers/download.html Windows, macOS, Linux and Android]
 +
We recommend to use the '''Standalone Version''' for this tutorial.
  
QGIS 3.8 http://www.qgis.org/en/site/forusers/download.html, available for Windows, Mac OSX,
+
==Installation Guide for Windows10 (64bit) [[file:windows_logo.png|30px]]==
Linux and Android.
+
* Do you have already a QGIS version installed? Please first deinstall all previous QGIS versions to avoid confusions by using different QGIS versions side by side.
If you want to follow the exercises of this tutorial on Windows, we recommend following the  
+
{{info|message=Uninstalling a prevoius QGIS standalone version|text=Go to {{mitem|text= Start --> Settings --> Apps & Features}}. Now a complete list of desktop programs is shown. Use the search box and type '''QGIS'''. If you do not find QGIS, a "Standalone" QGIS version is not installed. If you've find QGIS, single click its name to highlight and hit the Uninstall button.}}.
 +
{{info|message=Uninstalling a previous QGIS network version|text=Simply delete the installation folders manually: the default installation path is ''C:\OSGeo4W''. You find the user settings folder, downloaded plugins and user scripts under ''C:\Users\<YourName>\AppData\Roaming\QGIS'' and related icons in the start menu}}.
  
==Installation Guide for Windows==
+
===Standalone Version===
* Do you have already a QGIS version installed? Please first deinstall previous QGIS versions before going on to avoid confusions.
+
Installation is very easy:
{{info|message=Uninstalling QGIS|text=To deinstall a QGIS version simply delete the installation folder, where the default paths are ''C:\OSGeo4W64'', the user settings folder, downloaded plugins and user scripts ''C:\Users\YourName\AppData\Roaming\QGIS'' and  related icons in the start menu and on the Desktop. Please check also if there is a "Standalone" QGIS version installed: Start --> Settings --> Apps & Features. Now a complete list of desktop programs is shown. Use the search box and type '''QGIS'''. If you do not find QGIS, a "Standalone" QGIS version is not installed. If you've find QGIS, single click its name to highlight it and hit the Uninstall button.}}.
+
* Download  the [https://qgis.org/downloads/QGIS-OSGeo4W-3.28.4-3.msi QGIS LTR '''Long Term Release''' Version 3.28.4 (64bit)]. Save the file in a temporary folder.  
* Determine if your Windows is 32bit or 64bit Version. Knowing this information is important because you need to choose the right software so its performance can be optimized.
+
* Start the installation with a double click on the downloaded setup file ''QGIS-OSGeo4W-3.28.4-3.msi''.
*If you are using Windows 8 or 10: On the Start Screen, press Win key (Windows logo key) and the x letter simultanously. Notice the menu of administrative tools in the lower-left corner of the screen, click System and view the information on system type.
+
* Accept the default installation path ''C:\Programs\QGIS 3.28.4''.
*If you are using Windows 7: Press Win key (Windows logo key), {{mitem|text= Control panel --> System and Security --> System}} and view the information on system type.
+
* Click {{mitem|text=Install}} and {{mitem|text=Done}}
* Download  the [http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe OSGeo4W Network Installer 64bit] for Windows 64-bit or the [http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86.exe OSGeo4W Network Installer 32bit] for Windows 32-bit and save the file into a temporary folder.
+
* Start QGIS by Start > All programs > QGIS Desktop 3.28.4.
* Start the OSGeo4W Setup Program with a double click the on the downloaded file osgeo4w-setup-x86.exe.
+
* Choose {{tool|text=Advanced Installation}}. {{button|text=Next}}.<br>[[File:osgeo_installation1.png|400px]]<br>
+
* Choose {{tool|text=Install from Internet}}. {{button|text=Next}}.<br>[[File:osgeo_installation2.png|400px]]<br>
+
* Set root directory to: C:\OSGeo4W\ and check the radio button {{tool|text=All Users}}. {{button|text=Next}}.<br>[[File:osgeo_installation3.png|400px]]<br>
+
* Choose a temporary directory to store the files to be downloaded. {{button|text=Next}}.<br>[[File:osgeo_installation4.png|400px]]<br>
+
* Choose Internet connection: {{tool|text=Direct connection}}. {{button|text=Next}}.<br>[[File:osgeo_installation5.png|400px]]<br>
+
* Mark one of the download sites e.g. '''"http://osgeo4w-oslandia.com"'''.<br>[[File:osgeo_installation6.png|400px]]<br>
+
* Select Packages: In the "Categories field" click on the + symbol before "Desktop" to extend the folder. Click on the "Skip" symbol before '''qgis-full: QGIS Full Desktop (meta package for express install)'''  to mark necessary software packages for the installation..<br>[[File:osgeo_installation7.png|400px]]<br>
+
 
+
* Go on, accept the licence agreements and wait until all programs are installed.{{button|text=Next}}.
+
* Start QGIS by Start|All programs|OSGeo4W|QGIS Desktop.
+
 
+
{{info|message=Updating QGIS|text=Updating QGIS is easily done by using {{mitem|text= All Programs --> OSGeo4W --> Setup}} or by double clicking the file ''C:\OSGeo4W64\bin\osgeo4w-setup.exe''. Follow the advanced installation procedure. New package versions will be automatically detected. Accept all previous settings and wait until all updated programs are installed.}}
+
  
 
==Installation Guide for Mac OS [[file:apple_logo.png|30px]]==
 
==Installation Guide for Mac OS [[file:apple_logo.png|30px]]==
* QGIS 3.6 is built for El Capitan, Sierra, High Sierra and Mojave.
+
* QGIS 3.28 LTR is built for Mac OS version '''High Sierra (10.13) and newer but not yet notarized as required by macOS Catalina (10.15) security rules'''. On the [https://www.qgis.org/en/site/forusers/download.html QGIS download page] are also alternate installers available for older Mac OS and QGIS versions but the following instructions are easy as pie:
* Python 3.6 musst be installed first. Only the recent 3.6.x version is supported, not 3.7.
+
* If you have already an older QGIS version please uninstall this app first:
* Download and install https://www.python.org/ftp/python/3.6.8/python-3.6.8-macosx10.9.pkg. Start the Python 3.6.8 Setup Programm with a double click on the downloaded file python-3.6.8-macosx10.9.pkg
+
** Open '''Finder'''. In search bar type QGIS and Search: This Mac.
[[File:python.png|600px]]
+
** Mark the QGIS icon. Right click: Move to Trash.
* Follow the instructions
+
* Download the LTR version [https://qgis.org/downloads/macos/qgis-macos-ltr.dmg QGIS macOS Installer Version 3.28].  
 
+
* Start the QGIS installer with a double click on the downloaded file 'qgis-macos-ltr.dmg'.
* Download and install http://qgis.org/downloads/macOS/QGIS-macOS-3.6.3-1.dmg. Start the QGIS 3.6.3 Setup Programm with a double click on the downloaded file 2 install QGIS 3.6.pkg
+
* Click 'Agree' to accept the terms of license.
[[File:QGIs.png|600px]]
+
* Drag and drop the QGIS3.28 icon on the Applications icon.
* Follow the instructions
+
[[File:gqis_macos_dd.png|600px]]
* Additional information can be found in Read Me.rtf
+
* In '''Finder''' search in '''Applications''' for QGIS. Start QGIS with a double click on the icon.
  
 
==Installation Guide for Linux [[file:Tux.png|30px]]==
 
==Installation Guide for Linux [[file:Tux.png|30px]]==
  
If  you are interested to try a Linux OS on your own Windows PC, we  recommend to install the current distribution of [http://www.ubuntu.com Ubuntu].  You can install Ubuntu onto a computer alongside a copy of Windows. You  will be able to select whether to start Ubuntu or Windows each time  your computer starts up or you can try to run Ubuntu on a CD or even on a memory stick alongside your current system.
+
There are many different distros of Linux: please read [https://www.qgis.org/en/site/forusers/alldownloads.html#linux respective installation instructions]. Use the '''Long Term Release Repository 3.28.x Firenze LTR''' and code names for your selected Linux distribution.
 
+
Please remove all previously installed QGIS und GRASS packages that were installed from other repositories before doing an update: otherwise conflicts between different package versions may occur!
=== Installation of QGIS and OTB on Ubuntu 18.0.4 ("Bionic Beaver") ===
+
This tutorial is an example for the specific linux distribution Ubuntu LTS 18.0.4. If you want to use a different linux distribution or version
+
read the [https://www.qgis.org/en/site/forusers/alldownloads.html#linux docs] on qgis.org.
+
To install latest release versions of QGIS, you have to add an alternative software repository.
+
Please remove all previously installed QGIS und GRASS packages that were installed from other repositories before doing an update: otherwise conflicts between different package versions occur!
+
 
+
Open a terminal (Ctrl + Alt + t). Make a backup copy of your current sources.list file:
+
<pre>
+
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bat
+
</pre>
+
Append new line of text to current sources.list file
+
<pre>
+
echo "deb https://qgis.org/debian bionic main" | sudo tee -a /etc/apt/sources.list
+
echo "deb-src https://qgis.org/debian bionic main" | sudo tee -a /etc/apt/sources.list
+
</pre>
+
Update in order to use the new repository and install QGIS and SAGA
+
<pre>
+
sudo apt-get update
+
sudo apt-get install qgis qgis-plugin-grass saga
+
</pre>
+
In case of keyserver errors add the qgis.org repository public key to your apt keyring, type:
+
<pre>
+
wget -O - https://qgis.org/downloads/qgis-2019.gpg.key | gpg --import
+
gpg --fingerprint 51F523511C7028C3
+
</pre>
+
Should output:
+
<pre>
+
pub  rsa4096 2019-08-08 [SCEA] [expires: 2020-08-08]
+
      8D5A 5B20 3548 E500 4487  DD19 51F5 2351 1C70 28C3
+
uid          [unknown] QGIS Archive Automatic Signing Key (2019) <qgis-developer@lists.osgeo.org>
+
</pre>
+
After you have verified the fingerprint you can add the key to apt with:
+
<pre>
+
gpg --export --armor 51F523511C7028C3 | sudo apt-key add -
+
</pre>
+
 
+
Installation and Konfiguration of the OTB-QGIS-plugin is the same as Windows [[OTB Plugin installation]]. First install the OTB plugin, second adopt path names for OTB folder and OTB Application folder:
+
{{mitem|text=Settings --> Options --> Processing --> Providers --> OTB}}
+
* OTB Application folder: {{typed|text=/usr/lib/x86_64-linux-gnu/otb/applications}}
+
* OTB folder: {{typed|text=/usr}}
+
  
 
==Language settings==
 
==Language settings==
  
Go to {{mitem|text= Settings --> Options --> General }}
+
Go to {{mitem|text= Settings --> Options... --> General}}
and click the checkbox {{tool|text=Override system locale}} on. You
+
and click the checkbox {{tool|text=Override system locale}} on. You
may choose one of 42 languages which are available for QGIS instead the system locale. For our course
+
may change {{button|text= User Interface Translation}} and choose also the {{button|text=Number, date and currency format}}. For our course please select '''American English''' and Locale '''English UnitedStates (en_US)'''. Confirm settings with OK. Settings are active after restarting QGIS.
please select english (en_US). The settings are active after restarting QGIS.
+
  
 
==Related articles==
 
==Related articles==

Latest revision as of 12:36, 3 April 2023


Contents

[edit] Using your own laptop or PC

We prefer using Free and Open Source Software because this enables you to install software on your own computer without paying for costly licenses, to learn and continue your work at home. In this course we use the Long Term Release LTR Version QGIS 3.28.4 Firenze. QGIS is available on Windows, macOS, Linux and Android We recommend to use the Standalone Version for this tutorial.

[edit] Installation Guide for Windows10 (64bit) Windows logo.png

  • Do you have already a QGIS version installed? Please first deinstall all previous QGIS versions to avoid confusions by using different QGIS versions side by side.
info.png Uninstalling a prevoius QGIS standalone version
Go to Start --> Settings --> Apps & Features. Now a complete list of desktop programs is shown. Use the search box and type QGIS. If you do not find QGIS, a "Standalone" QGIS version is not installed. If you've find QGIS, single click its name to highlight and hit the Uninstall button..
info.png Uninstalling a previous QGIS network version
Simply delete the installation folders manually: the default installation path is C:\OSGeo4W. You find the user settings folder, downloaded plugins and user scripts under C:\Users\<YourName>\AppData\Roaming\QGIS and related icons in the start menu.

[edit] Standalone Version

Installation is very easy:

  • Download the QGIS LTR Long Term Release Version 3.28.4 (64bit). Save the file in a temporary folder.
  • Start the installation with a double click on the downloaded setup file QGIS-OSGeo4W-3.28.4-3.msi.
  • Accept the default installation path C:\Programs\QGIS 3.28.4.
  • Click Install and Done
  • Start QGIS by Start > All programs > QGIS Desktop 3.28.4.

[edit] Installation Guide for Mac OS Apple logo.png

  • QGIS 3.28 LTR is built for Mac OS version High Sierra (10.13) and newer but not yet notarized as required by macOS Catalina (10.15) security rules. On the QGIS download page are also alternate installers available for older Mac OS and QGIS versions but the following instructions are easy as pie:
  • If you have already an older QGIS version please uninstall this app first:
    • Open Finder. In search bar type QGIS and Search: This Mac.
    • Mark the QGIS icon. Right click: Move to Trash.
  • Download the LTR version QGIS macOS Installer Version 3.28.
  • Start the QGIS installer with a double click on the downloaded file 'qgis-macos-ltr.dmg'.
  • Click 'Agree' to accept the terms of license.
  • Drag and drop the QGIS3.28 icon on the Applications icon.

Gqis macos dd.png

  • In Finder search in Applications for QGIS. Start QGIS with a double click on the icon.

[edit] Installation Guide for Linux Tux.png

There are many different distros of Linux: please read respective installation instructions. Use the Long Term Release Repository 3.28.x Firenze LTR and code names for your selected Linux distribution. Please remove all previously installed QGIS und GRASS packages that were installed from other repositories before doing an update: otherwise conflicts between different package versions may occur!

[edit] Language settings

Go to Settings --> Options... --> General and click the checkbox Override system locale on. You may change User Interface Translation and choose also the Number, date and currency format. For our course please select American English and Locale English UnitedStates (en_US). Confirm settings with OK. Settings are active after restarting QGIS.

[edit] Related articles

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export