QGIS installation

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
(Installation of QGIS and OTB on Ubuntu 18 ("Bionic Beaver"))
(Installation Guide for Linux 30px)
Line 59: Line 59:
 
sudo apt-get install otb-bin otb-bin-qt python-otb
 
sudo apt-get install otb-bin otb-bin-qt python-otb
 
</pre>
 
</pre>
Installation and Konfiguration of the OTB-QGIS-plugin is the same as with Windows.  
+
Installation and Konfiguration of the OTB-QGIS-plugin is the same as with Windows. First install the Processing OTB plugin.  Then adopt path names for OTB folder and OTB Application folder:  
Just adopt path names for OTB folder and OTB Application folder:  
+
 
{{mitem|text=Settings --> Options --> Processing --> Providers --> OTB}}
 
{{mitem|text=Settings --> Options --> Processing --> Providers --> OTB}}
 
* OTB Application folder: {{typed|text=/usr/lib/x86_64-linux-gnu/otb/applications}}
 
* OTB Application folder: {{typed|text=/usr/lib/x86_64-linux-gnu/otb/applications}}

Revision as of 13:21, 30 June 2019


Contents

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. Here are the links to download the software from the internet and install it yourself:

QGIS 3.6 http://www.qgis.org/en/site/forusers/download.html, available for Windows, Mac OSX, Linux and Android. If you want to follow the exercises of this tutorial on Windows, we recommend following the

Installation Guide for Windows

  • Do you have already a QGIS version installed? Please first deinstall previous QGIS versions before going on to avoid confusions.
info.png Uninstalling QGIS
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..
  • 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.
  • 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.
  • If you are using Windows 7: Press Win key (Windows logo key), Control panel --> System and Security --> System and view the information on system type.
  • Download the OSGeo4W Network Installer 64bit for Windows 64-bit or the OSGeo4W Network Installer 32bit for Windows 32-bit and save the file into a temporary folder.
  • Start the OSGeo4W Setup Program with a double click the on the downloaded file osgeo4w-setup-x86.exe.
  • Choose Advanced Installation. Next.
    Osgeo installation1.png
  • Choose Install from Internet. Next.
    Osgeo installation2.png
  • Set root directory to: C:\OSGeo4W\ and check the radio button All Users. Next.
    Osgeo installation3.png
  • Choose a temporary directory to store the files to be downloaded. Next.
    Osgeo installation4.png
  • Choose Internet connection: Direct connection. Next.
    Osgeo installation5.png
  • Mark one of the download sites e.g. "http://osgeo4w-oslandia.com".
    Osgeo installation6.png
  • 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..
    Osgeo installation7.png
  • Go on, accept the licence agreements and wait until all programs are installed.Next.
  • Start QGIS by Start|All programs|OSGeo4W|QGIS Desktop.


info.png Updating QGIS
Updating QGIS is easily done by using 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 Apple logo.png

  • QGIS 3.6 is built for El Capitan, Sierra, High Sierra and Mojave.
  • Python 3.6 musst be installed first. Only the recent 3.6.x version is supported, not 3.7.
  • 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

Python.png

  • Follow the instructions

QGIs.png

  • Follow the instructions
  • Additional information can be found in Read Me.rtf

Installation Guide for Linux Tux.png

If you are interested to try a Linux OS on your own Windows C, we recommend to install the current distribution of 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 of QGIS and OTB on Ubuntu 18 ("Bionic Beaver")

Use the repository "ubuntugis-unstable". Please remove all previously installed QGIS und GRASS packages that were installed from other repositories: otherwise conflicts between different package versions might occur!

Open a terminal (Ctrl + Alt + t) und type:

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key CAEB3DC3BDF7FB45
sudo apt-get update
sudo apt-get install qgis  python-qgis qgis-plugin-grass python3-matplotlib python3-scipy 
sudo apt-get install otb-bin otb-bin-qt python-otb

Installation and Konfiguration of the OTB-QGIS-plugin is the same as with Windows. First install the Processing OTB plugin. Then adopt path names for OTB folder and OTB Application folder: Settings --> Options --> Processing --> Providers --> OTB

  • OTB Application folder: /usr/lib/x86_64-linux-gnu/otb/applications
  • OTB folder: /usr

Language settings

Go to Settings --> Options --> General and click the checkbox Override system locale on. You may choose one of 42 languages which are available for QGIS instead the system locale. For our course please select english (en_US). The settings are active after restarting QGIS.

Related articles

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export