Talk:QGIS installation

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 +
 +
 
=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.10 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>
+
===Network Installer===
 +
For advanced applications and specific configurations.
 +
* Download  the actual [https://download.osgeo.org/osgeo4w/v2/osgeo4w-setup.exe OSGeo4W Network Installer 64bit] and save the file into a temporary folder.
 +
* Click the file ''osgeo4w-setup-x86.exe'' starting the installation.
 +
* Choose {{tool|text=Advanced Install}}. {{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>
 
* 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>
+
* Accept the default root directory C:\OSGeo4W\ and check the radio button on {{tool|text=Just Me}}. {{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 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>
+
* Choose Internet connection: {{tool|text=Use System Proxy Settings}}. {{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>
+
* Mark one of the download sites e.g. '''"http://download.osgeo.org"'''.<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>
+
* Select Packages:
 
+
** Type in the search field: {{tool|text=qgis-full}}. Click on the + symbol before "Desktop" to extent the folder. Click on the "Skip" symbol marking the package for installation.
* Go on, accept the licence agreements and wait until all programs are installed.{{button|text=Next}}.
+
<br>[[File:osgeo_installation7.png|400px]]<br>
* Start QGIS by Start|All programs|OSGeo4W|QGIS Desktop.
+
* Type in the search field: {{tool|text=gdal}}. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.
 
+
<br>[[File:osgeo_installation8.png|400px]]<br>
{{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.}}
+
* Type in the search field: {{tool|text=fiona}}. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.
 
+
<br>[[File:osgeo_installation9.png|400px]]<br>
==Installation Guide for Mac OS [[file:apple_logo.png|30px]]==
+
* Type in the search field: {{tool|text=jupyter}}. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.
* QGIS 3.10 is built for Mac OS versions '''High Sierra (10.13), Mojave (10.15), Catalina (10.15) and newer'''. On the [https://www.qgis.org/en/site/forusers/download.html QGIS download page] are alo alternate installers available for older Mac OS and QGIS versions but the following instructions are easy as pie:
+
<br>[[File:osgeo_installation10.png|400px]]<br>
* If you have already an older QGIS version please uninstall this app first:
+
* Type in the search field: {{tool|text=scikit-learn}}. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.
** Open '''Finder'''. In search bar type QGIS and Search: This Mac.
+
<br>[[File:osgeo_installation11.png|400px]]<br>
** Mark the QGIS icon. Right click: Move to Trash.
+
* Type in the search field: {{tool|text=rasterio}}. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.
* Download [https://qgis.org/downloads/macos/qgis-macos-pr.dmg QGIS macOS Installer Version 3.10]. * Start the QGIS installer with a double click on the downloaded file qgis-amcos-pr.dmg.
+
<br>[[File:osgeo_installation12.png|400px]]<br>
* Click 'Agree' to accept the terms of license.
+
* Type in the search field: {{tool|text=geopandas}}. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.
* Drag and drop the QGIS3.10 icon on the Applications icon.
+
<br>[[File:osgeo_installation13.png|400px]]<br>
[[File:gqis_macos_dd.png|600px]]
+
* Type in the search field: {{tool|text=pdal}}. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.
* In '''Finder''' search in '''Applications''' for QGIS. Start QGIS with a double click on the icon.
+
<br>[[File:osgeo_installation14.png|400px]]<br>
 
+
==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.
+
 
+
=== Installation for 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 and adjust reposiotry and code names for your selected distribution.  
+
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 lines 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>
+
 
+
==Language settings==
+
  
Go to {{mitem|text= Settings --> Options --> General }}
+
* Go on, accept the license agreements and wait until all programs are installed.{{button|text=Next}}.
and click the checkbox {{tool|text=Override system locale}} on. You
+
* In case you get a message "In-use files detected" just click several times on {{button|text=Continue}}
may choose one of 42 languages which are available for QGIS instead the system locale. For our course
+
* Start QGIS by Start|All programs|OSGeo4W|QGIS Desktop 3.26.
please select english (en_US). The settings are active after restarting QGIS.
+

Latest revision as of 13:35, 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] Network Installer

For advanced applications and specific configurations.

  • Download the actual OSGeo4W Network Installer 64bit and save the file into a temporary folder.
  • Click the file osgeo4w-setup-x86.exe starting the installation.
  • Choose Advanced Install. Next.
    Osgeo installation1.png
  • Choose Install from Internet. Next.
    Osgeo installation2.png
  • Accept the default root directory C:\OSGeo4W\ and check the radio button on Just Me. Next.
    Osgeo installation3.png
  • Choose a temporary directory to store the files to be downloaded. Next.
    Osgeo installation4.png
  • Choose Internet connection: Use System Proxy Settings. Next.
    Osgeo installation5.png
  • Mark one of the download sites e.g. "http://download.osgeo.org".
    Osgeo installation6.png
  • Select Packages:
    • Type in the search field: qgis-full. Click on the + symbol before "Desktop" to extent the folder. Click on the "Skip" symbol marking the package for installation.


Osgeo installation7.png

  • Type in the search field: gdal. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.


Osgeo installation8.png

  • Type in the search field: fiona. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.


Osgeo installation9.png

  • Type in the search field: jupyter. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.


Osgeo installation10.png

  • Type in the search field: scikit-learn. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.


Osgeo installation11.png

  • Type in the search field: rasterio. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.


Osgeo installation12.png

  • Type in the search field: geopandas. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.


Osgeo installation13.png

  • Type in the search field: pdal. Click on the + symbol before "Libs" to extent the folder. Click on the "Skip" symbol marking the package for installation.


Osgeo installation14.png

  • Go on, accept the license agreements and wait until all programs are installed.Next.
  • In case you get a message "In-use files detected" just click several times on Continue
  • Start QGIS by Start|All programs|OSGeo4W|QGIS Desktop 3.26.
Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export