Notices: This section not yet converted to new layout. Download stats are rolling back out.

QGIS LTR (Long Term Release)

2.18.19

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 4/24/2018.

QGIS is a user friendly Open Source Geographic Information System (GIS) licensed under the GNU General Public License. QGIS is an official project of the Open Source Geospatial Foundation (OSGeo). It runs on Linux, Unix, Mac OSX, Windows and Android and supports numerous vector, raster, and database formats and functionalities.

General Features

  • View data -- Spatially-enabled tables and views, vector formats, raster and imagery formats, GRASS raster and vector data and online spacial data.
  • Explore data and compose maps -- Interactively explore spatial data with a friendly GUI.
  • Create, edit, manage and export data -- Vector and raster layers in several formats.
  • Analyze data -- vector analysis, sampling, geoprocessing, geometry and database management tools including the complete GRASS functionality of more than 400 modules.
  • Publish maps on the Internet
  • Extensable functionality through plugins
  • Python console

To install QGIS LTR (Long Term Release), run the following command from the command line or from PowerShell:

C:\> choco install qgis-ltr

To upgrade QGIS LTR (Long Term Release), run the following command from the command line or from PowerShell:

C:\> choco upgrade qgis-ltr

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $InstallArgs = @{
       packageName    = $env:ChocolateyPackageName
       fileType       = 'EXE'
       softwareName   = "$env:ChocolateyPackageName $env:ChocolateyPackageVersion*"
       url            = 'http://qgis.org/downloads/QGIS-OSGeo4W-2.18.19-1-Setup-x86.exe'
       url64bit       = 'http://qgis.org/downloads/QGIS-OSGeo4W-2.18.19-1-Setup-x86_64.exe'
       checksumType   = 'sha256'
       checksum       = 'e3627733b5b4a8af45f096c059699b010d3fd79ddbace0ffb3a6b9eb03ed58ee'
       checksum64     = 'c024520930ad8d2f610da2358104e151ec5c8dcce8cde737b5dd828107568ec3'
       silentArgs     = '/S'
       validExitCodes = @(0)
    }
    
    # QGIS install is best done with older versions uninstalled
    [array]$key = Get-UninstallRegistryKey -SoftwareName "QGIS *"
    
    if ($key.Count -eq 1) {
       $oldVersion = $key[0].PSChildName -replace ".* ([0-9.]*)",'$1'
       $RemoveProc = Start-Process -FilePath $key[0].UninstallString -ArgumentList '/S' -PassThru
       $updateId = $RemoveProc.Id
       Write-Host "Uninstalling old version of QGIS." -ForegroundColor Cyan
       Write-Debug "Uninstall Process ID:`t$updateId"
       $RemoveProc.WaitForExit()
    
       # The QGIS uninstaller sometimes leaves stuff behind that still prevents install (grr!)
       $OldKey = Get-ChildItem HKLM:\SOFTWARE | 
                   Where-Object {$_.name -match "QGIS ([0-9.]*)"} |
                   Select-Object -ExpandProperty Name
       if ($OldKey) {
          $oldVersion = $OldKey -replace ".*QGIS ([0-9.]*)",'$1'
          Remove-Item -Path "HKLM:\Software\QGIS $oldVersion" -Recurse
       }
       # AND it leaves behind dead public desktop shortcuts
       $OldLinks = ("QGIS $oldVersion",
                   "OSGeo4W Shell.lnk",
                   "GRASS GIS *.lnk")
       Foreach ($item in $OldLinks) {
          if (Test-Path "$env:PUBLIC\Desktop\$item") { Remove-Item "$env:PUBLIC\Desktop\$item" -Recurse -Force }
       }
    
    } elseif ($key.Count -gt 1) {
       Throw "Multiple, previous installs found!  Cannot proceed with install of new version."
    }
    
    # Finally, install.
    Write-Host "Installing QGIS can take a few minutes.  Please be patient." -ForegroundColor Cyan
    Install-ChocolateyPackage @InstallArgs
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    [array]$key = Get-UninstallRegistryKey -SoftwareName 'QGIS *'
    
    if ($key.Count -eq 1) {
       $oldVersion = $key[0].PSChildName -replace '.* ([0-9.]*)','$1'
       $UninstallArgs = @{
          PackageName = $env:ChocolateyPackageName
          FileType    = 'exe'
          SilentArgs  = '/S'
          File        = $key[0].UninstallString
       }
       Uninstall-ChocolateyPackage @UninstallArgs
    #   $RemoveProc = Start-Process -FilePath $key[0].UninstallString -ArgumentList '/S' -PassThru
    #   $updateId = $RemoveProc.Id
    #   Write-Debug "Uninstall Process ID:`t$updateId"
    #   $RemoveProc.WaitForExit()
    } elseif ($key.Count -gt 1) {
       Throw 'Multiple, previous installs found!  For safety, no uninstall will occur.'
    }
    
    # The QGIS uninstaller sometimes leaves stuff behind
    $OldKey = Get-ChildItem HKLM:\SOFTWARE | 
                Where-Object {$_.name -match 'QGIS ([0-9.]*)'} |
                Select-Object -ExpandProperty Name
    if ($OldKey) {
       $oldVersion = $OldKey -replace '.*QGIS ([0-9.]*)','$1'
       Remove-Item -Path "HKLM:\Software\QGIS $oldVersion" -Recurse
    }
    # AND it leaves behind dead public desktop shortcuts
    $OldLinks = ("QGIS $oldVersion",
                'OSGeo4W Shell.lnk',
                'GRASS GIS *.lnk')
    Foreach ($item in $OldLinks) {
       if (Test-Path "$env:PUBLIC\Desktop\$item") { Remove-Item "$env:PUBLIC\Desktop\$item" -Recurse -Force }
    }
    
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • OSGeo

Tags

Release Notes

https://qgis.org/en/site/forusers/visualchangelog218

Version History

Version Downloads Last updated Status
QGIS LTR (Long Term Release) 2.18.18 29 Friday, April 13, 2018 approved
QGIS LTR (Long Term Release) 2.18.17 73 Monday, March 12, 2018 approved
QGIS LTR (Long Term Release) 2.14.22 41 Thursday, January 25, 2018 approved
QGIS LTR (Long Term Release) 2.14.21 59 Tuesday, December 19, 2017 approved
QGIS LTR (Long Term Release) 2.14.17 127 Monday, August 14, 2017 approved

Discussion for the QGIS LTR (Long Term Release) Package

Ground rules:

  • This discussion is only about QGIS LTR (Long Term Release) and the QGIS LTR (Long Term Release) package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or QGIS LTR (Long Term Release), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok