Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

QGIS LTR (Long Term Release)

This is not the latest version of QGIS LTR (Long Term Release) available.

  • 1
  • 2
  • 3

2.14.21 | Updated: 19 Dec 2017

Downloads:

298,310

Downloads of v 2.14.21:

423

Software Author(s):

  • OSGeo

QGIS LTR (Long Term Release) 2.14.21

This is not the latest version of QGIS LTR (Long Term Release) available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

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

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade qgis-ltr -y --source="'INTERNAL REPO URL'" --version="'2.14.21'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade qgis-ltr -y --source="'INTERNAL REPO URL'" --version="'2.14.21'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install qgis-ltr
  win_chocolatey:
    name: qgis-ltr
    version: '2.14.21'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'qgis-ltr' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.14.21'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller qgis-ltr
{
    Name     = "qgis-ltr"
    Version  = "2.14.21"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'qgis-ltr':
  ensure   => '2.14.21',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

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

Package Approved

This package was approved by moderator flcdrg on 14 Jan 2018.

Description

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

tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$InstallArgs = @{
   packageName    = $env:ChocolateyPackageName
   fileType       = 'EXE'
   softwareName   = "$env:ChocolateyPackageName $env:ChocolateyPackageVersion*"
   url            = 'http://qgis.org/downloads/QGIS-OSGeo4W-2.14.21-1-Setup-x86.exe'
   url64bit       = 'http://qgis.org/downloads/QGIS-OSGeo4W-2.14.21-1-Setup-x86_64.exe'
   checksumType   = 'sha256'
   checksum       = '0f92b34c5ef623ef3fba0fae7dd1fe5164c215a285678391f291fc80a92d95d6'
   checksum64     = '723ecfde34a78ec16d8fd2ae2a7ecc943ab82ed8ad8093d752697b9cc37cdf59'
   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
$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 }
}


Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
QGIS LTR (Long Term Release) 3.34.7 1573 Tuesday, May 28, 2024 Approved
QGIS LTR (Long Term Release) 3.34.6 836 Wednesday, May 8, 2024 Approved
QGIS LTR (Long Term Release) 3.34.5 4917 Wednesday, April 10, 2024 Approved
QGIS LTR (Long Term Release) 3.34.4 2797 Wednesday, March 13, 2024 Approved
QGIS LTR (Long Term Release) 3.28.15 1825 Friday, January 26, 2024 Approved
QGIS LTR (Long Term Release) 3.28.14 853 Tuesday, January 9, 2024 Approved
QGIS LTR (Long Term Release) 3.28.13 826 Monday, December 18, 2023 Approved
QGIS LTR (Long Term Release) 3.28.12 1384 Monday, November 13, 2023 Approved
QGIS LTR (Long Term Release) 3.28.11 1730 Tuesday, September 26, 2023 Approved
QGIS LTR (Long Term Release) 3.28.10 1439 Friday, August 25, 2023 Approved
QGIS LTR (Long Term Release) 3.28.9 1171 Saturday, August 5, 2023 Approved
QGIS LTR (Long Term Release) 3.28.8 1475 Friday, June 30, 2023 Approved
QGIS LTR (Long Term Release) 3.28.7 764 Friday, June 16, 2023 Approved
QGIS LTR (Long Term Release) 3.28.6 1351 Sunday, May 14, 2023 Approved
QGIS LTR (Long Term Release) 3.28.5 1195 Sunday, April 16, 2023 Approved
QGIS LTR (Long Term Release) 3.28.4 1555 Tuesday, March 7, 2023 Approved
QGIS LTR (Long Term Release) 3.22.16 830 Saturday, February 18, 2023 Approved
QGIS LTR (Long Term Release) 3.22.14 1301 Friday, December 23, 2022 Approved
QGIS LTR (Long Term Release) 3.22.13 739 Saturday, December 3, 2022 Approved
QGIS LTR (Long Term Release) 3.22.12 687 Saturday, November 5, 2022 Approved
QGIS LTR (Long Term Release) 3.22.11 1109 Sunday, September 18, 2022 Approved
QGIS LTR (Long Term Release) 3.22.10 763 Tuesday, August 30, 2022 Exempted
QGIS LTR (Long Term Release) 3.22.9 1126 Saturday, July 23, 2022 Exempted
QGIS LTR (Long Term Release) 3.22.8.20220629 709 Thursday, June 30, 2022 Exempted
QGIS LTR (Long Term Release) 3.22.8 4879 Friday, June 24, 2022 Exempted
QGIS LTR (Long Term Release) 3.22.7 16559 Saturday, May 28, 2022 Exempted
QGIS LTR (Long Term Release) 3.22.6 28846 Monday, May 2, 2022 Exempted
QGIS LTR (Long Term Release) 3.22.5 8661 Saturday, March 26, 2022 Exempted
QGIS LTR (Long Term Release) 3.22.4 436 Tuesday, March 1, 2022 Exempted
QGIS LTR (Long Term Release) 3.16.16 3959 Wednesday, February 2, 2022 Approved
QGIS LTR (Long Term Release) 3.16.15 2802 Wednesday, December 29, 2021 Approved
QGIS LTR (Long Term Release) 3.16.14 2300 Saturday, November 27, 2021 Approved
QGIS LTR (Long Term Release) 3.16.13 1936 Saturday, November 6, 2021 Exempted
QGIS LTR (Long Term Release) 3.16.12 380 Monday, November 1, 2021 Exempted
QGIS LTR (Long Term Release) 3.16.11 1102 Tuesday, September 14, 2021 Approved
QGIS LTR (Long Term Release) 3.16.10 741 Wednesday, August 18, 2021 Approved
QGIS LTR (Long Term Release) 3.16.9 111 Friday, July 23, 2021 Approved
QGIS LTR (Long Term Release) 3.16.8 1488 Monday, July 12, 2021 Approved
QGIS LTR (Long Term Release) 3.16.7 1965 Tuesday, May 18, 2021 Approved
QGIS LTR (Long Term Release) 3.16.6 4478 Monday, April 19, 2021 Approved
QGIS LTR (Long Term Release) 3.16.5 466 Monday, March 22, 2021 Approved
QGIS LTR (Long Term Release) 3.16.4 1457 Wednesday, February 24, 2021 Approved
QGIS LTR (Long Term Release) 3.10.14 746 Friday, January 29, 2021 Approved
QGIS LTR (Long Term Release) 3.10.13 1231 Sunday, December 27, 2020 Approved
QGIS LTR (Long Term Release) 3.10.12 2206 Friday, November 27, 2020 Approved
QGIS LTR (Long Term Release) 3.10.11 865 Saturday, November 14, 2020 Approved
QGIS LTR (Long Term Release) 3.10.10 8297 Monday, September 28, 2020 Approved
QGIS LTR (Long Term Release) 3.10.9 1484 Sunday, August 30, 2020 Approved
QGIS LTR (Long Term Release) 3.10.8 838 Saturday, August 1, 2020 Approved
QGIS LTR (Long Term Release) 3.10.7 3590 Tuesday, June 30, 2020 Approved
QGIS LTR (Long Term Release) 3.10.6 443 Monday, June 8, 2020 Approved
QGIS LTR (Long Term Release) 3.10.5 460 Tuesday, April 28, 2020 Approved
QGIS LTR (Long Term Release) 3.10.4 275 Sunday, April 5, 2020 Approved
QGIS LTR (Long Term Release) 3.10.3 392 Sunday, March 8, 2020 Approved
QGIS LTR (Long Term Release) 3.4.15 5471 Wednesday, January 29, 2020 Approved
QGIS LTR (Long Term Release) 3.4.14 15695 Friday, December 20, 2019 Approved
QGIS LTR (Long Term Release) 3.4.13 20212 Monday, November 4, 2019 Approved
QGIS LTR (Long Term Release) 3.4.12 16306 Saturday, September 28, 2019 Approved
QGIS LTR (Long Term Release) 3.4.11 17422 Tuesday, August 27, 2019 Approved
QGIS LTR (Long Term Release) 3.4.10 15808 Wednesday, July 31, 2019 Approved
QGIS LTR (Long Term Release) 3.4.9 22399 Saturday, June 29, 2019 Approved
QGIS LTR (Long Term Release) 3.4.8 20265 Saturday, June 1, 2019 Approved
QGIS LTR (Long Term Release) 3.4.7 20041 Tuesday, April 30, 2019 Approved
QGIS LTR (Long Term Release) 3.4.6 330 Saturday, March 30, 2019 Approved
QGIS LTR (Long Term Release) 3.4.5 357 Thursday, February 28, 2019 Approved
QGIS LTR (Long Term Release) 2.18.28 392 Friday, February 8, 2019 Approved
QGIS LTR (Long Term Release) 2.18.27 351 Saturday, December 29, 2018 Approved
QGIS LTR (Long Term Release) 2.18.26 334 Friday, November 30, 2018 Approved
QGIS LTR (Long Term Release) 2.18.25 335 Thursday, November 1, 2018 Approved
QGIS LTR (Long Term Release) 2.18.24 353 Tuesday, September 25, 2018 Approved
QGIS LTR (Long Term Release) 2.18.23 658 Thursday, September 13, 2018 Approved
QGIS LTR (Long Term Release) 2.18.22 861 Friday, August 3, 2018 Approved
QGIS LTR (Long Term Release) 2.18.21 354 Monday, July 16, 2018 Approved
QGIS LTR (Long Term Release) 2.18.20.20180620 329 Wednesday, June 20, 2018 Approved
QGIS LTR (Long Term Release) 2.18.20 426 Monday, May 28, 2018 Approved
QGIS LTR (Long Term Release) 2.18.19 415 Tuesday, April 24, 2018 Approved
QGIS LTR (Long Term Release) 2.18.18 378 Friday, April 13, 2018 Approved
QGIS LTR (Long Term Release) 2.18.17 437 Monday, March 12, 2018 Approved
QGIS LTR (Long Term Release) 2.14.22 395 Thursday, January 25, 2018 Approved
QGIS LTR (Long Term Release) 2.14.21 423 Tuesday, December 19, 2017 Approved
QGIS LTR (Long Term Release) 2.14.17 431 Monday, August 14, 2017 Approved

This package has no dependencies.

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