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

Downloads:

396,446

Downloads of v 2.18.3:

2,695

Last Update:

25 Jan 2017

Package Maintainer(s):

Software Author(s):

  • OSGeo

Tags:

mapping geographic

QGIS

This is not the latest version of QGIS available.

  • 1
  • 2
  • 3

2.18.3 | Updated: 25 Jan 2017

Downloads:

396,446

Downloads of v 2.18.3:

2,695

Software Author(s):

  • OSGeo

QGIS 2.18.3

This is not the latest version of QGIS 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, run the following command from the command line or from PowerShell:

>

To upgrade QGIS, run the following command from the command line or from PowerShell:

>

To uninstall QGIS, 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 -y --source="'INTERNAL REPO URL'" --version="'2.18.3'" [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 -y --source="'INTERNAL REPO URL'" --version="'2.18.3'" 
$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
  win_chocolatey:
    name: qgis
    version: '2.18.3'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'qgis' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.18.3'
end

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


cChocoPackageInstaller qgis
{
    Name     = "qgis"
    Version  = "2.18.3"
    Source   = "INTERNAL REPO URL"
}

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


package { 'qgis':
  ensure   => '2.18.3',
  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 AdmiringWorm on 03 Feb 2017.

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.


tools\chocolateyInstall.ps1
$packageName = 'qgis' 
$installerType = 'exe' 
$version = '2.18.3-1'
$url = "http://qgis.org/downloads/QGIS-OSGeo4W-${version}-Setup-x86.exe"
$checksum = "88194ea29c81365c44a4b7b3d72967c6"
$url64 = "http://qgis.org/downloads/QGIS-OSGeo4W-${version}-Setup-x86_64.exe"
$checksum64 = "265a923f8925eef308b3b9df26b1d73b"
$silentArgs = '/S' 
$validExitCodes = @(0) 

#Remove Old Versions in Default Directory
if (Test-Path "${env:programfiles}\QGIS*\Uninstall-QGIS.exe") {
    Get-ChildItem "${env:programfiles}\QGIS*" -Recurse -Filter 'Uninstall-QGIS.exe' | % {
        Write-Host "Found $($_.Directory.ToString().Split('\')[-1]). Uninstalling..."
        Uninstall-ChocolateyPackage $packageName $installerType '/S' $_.FullName
    }
    Write-Host "Sleeping for 30 seconds to wait for uninstaller"
    Start-Sleep 30
}

if (Test-Path "${env:programfiles}\QGIS 2.18.3") {
    Write-Host "Found leftover install directory. Deleting."
    Remove-Item -Path "${env:programfiles}\QGIS 2.16.2" -Recurse
}

#Fix bug with QGIS thinking it is still installed
if (Test-Path "HKLM:\Software\QGIS 2.18.3") {
    Write-Host "Found leftover registry keys. Deleting."
    Remove-Item -Path "HKLM:\Software\QGIS 2.18.3" -Recurse
}

if (Test-Path "${env:public}\Desktop\QGIS 2.18.3") {
    Write-Host "Found leftover shortcuts. Deleting."
    Remove-Item -Path "${env:public}\Desktop\QGIS 2.18.3" -Recurse
}

if (Test-Path "${env:public}\Desktop\OSGeo4W Shell.lnk") {
    Write-Host "Found leftover OSGeo4W Shortcut. Deleting."
    Remove-Item -Path "${env:public}\Desktop\OSGeo4W Shell.lnk"
}

if (Test-Path "${env:public}\Desktop\GRASS GIS*.lnk") {
    Write-Host "Found leftover GRASS GIS Shortcut. Deleting."
    Remove-Item -Path "${env:public}\Desktop\GRASS GIS*.lnk"
}

Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" "$url64"  -validExitCodes $validExitCodes -Checksum "$checksum" -ChecksumType "md5" -Checksum64 "$checksum64" -ChecksumType64 "md5"
tools\chocolateyUninstall.ps1
$packageName = 'qgis' 
$installerType = 'exe' 

if (Test-Path "${env:programfiles}\QGIS 2.18.3\Uninstall-QGIS.exe") {
    Uninstall-ChocolateyPackage $packageName $installerType "/S" "${env:programfiles}\QGIS 2.18.3\Uninstall-QGIS.exe"
    Write-Host "Sleeping for 30 seconds to wait for uninstaller"
    Start-Sleep 30
}

if (Test-Path "${env:programfiles}\QGIS 2.18.3") {
    Write-Host "Found leftover install directory. Deleting."
    Remove-Item -Path "${env:programfiles}\QGIS 2.18.3" -Recurse
}

#Fix bug with QGIS thinking it is still installed
if (Test-Path "HKLM:\Software\QGIS 2.18.3") {
    Write-Host "Found leftover registry keys. Deleting."
    Remove-Item -Path "HKLM:\Software\QGIS 2.18.3" -Recurse
}

if (Test-Path "${env:public}\Desktop\QGIS 2.18.3") {
    Write-Host "Found leftover shortcuts. Deleting."
    Remove-Item -Path "${env:public}\Desktop\QGIS 2.18.3" -Recurse
}

if (Test-Path "${env:public}\Desktop\OSGeo4W Shell.lnk") {
    Write-Host "Found leftover OSGeo4W Shortcut. Deleting."
    Remove-Item -Path "${env:public}\Desktop\OSGeo4W Shell.lnk"
}

if (Test-Path "${env:public}\Desktop\GRASS GIS*.lnk") {
    Write-Host "Found leftover GRASS GIS Shortcut. Deleting."
    Remove-Item -Path "${env:public}\Desktop\GRASS GIS*.lnk"
}

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 3.36.0 5694 Wednesday, March 13, 2024 Approved
QGIS 3.34.3 10938 Friday, January 26, 2024 Approved
QGIS 3.34.2 4408 Tuesday, January 9, 2024 Approved
QGIS 3.34.1 3917 Monday, December 18, 2023 Approved
QGIS 3.34.0 4075 Monday, November 13, 2023 Approved
QGIS 3.32.3 14432 Wednesday, September 27, 2023 Approved
QGIS 3.32.2 7567 Friday, August 25, 2023 Approved
QGIS 3.30.3 7697 Friday, June 16, 2023 Approved
QGIS 3.30.2 8464 Sunday, May 14, 2023 Approved
QGIS 3.30.1 7516 Sunday, April 16, 2023 Approved
QGIS 3.30.0 7386 Tuesday, March 7, 2023 Approved
QGIS 3.28.3 3771 Saturday, February 18, 2023 Approved
QGIS 3.28.2 9759 Friday, December 23, 2022 Approved
QGIS 3.28.1 3448 Saturday, December 3, 2022 Approved
QGIS 3.28.0 4448 Saturday, November 5, 2022 Approved
QGIS 3.26.2 5347 Tuesday, August 30, 2022 Exempted
QGIS 3.26.1 3820 Saturday, July 23, 2022 Exempted
QGIS 3.26.0 1762 Friday, July 8, 2022 Exempted
QGIS 3.24.3 3805 Saturday, May 28, 2022 Exempted
QGIS 3.24.2 2915 Monday, May 2, 2022 Exempted
QGIS 3.24.1.20220419 1301 Tuesday, April 19, 2022 Exempted
QGIS 3.24.1 15252 Saturday, March 26, 2022 Exempted
QGIS 3.24.0 2895 Saturday, February 26, 2022 Exempted
QGIS 3.22.3 7001 Wednesday, February 2, 2022 Exempted
QGIS 3.22.2 3102 Wednesday, December 29, 2021 Exempted
QGIS 3.22.1 5055 Saturday, November 27, 2021 Exempted
QGIS 3.22.0 3631 Monday, November 1, 2021 Exempted
QGIS 3.20.3 5466 Tuesday, September 14, 2021 Exempted
QGIS 3.20.2 3540 Wednesday, August 18, 2021 Exempted
QGIS 3.20.1 3313 Friday, July 23, 2021 Exempted
QGIS 3.20.0 1794 Thursday, June 24, 2021 Exempted
QGIS 3.18.3 6064 Tuesday, May 18, 2021 Approved
QGIS 3.18.2 3893 Monday, April 19, 2021 Approved
QGIS 3.18.1 1788 Monday, March 22, 2021 Approved
QGIS 3.18.0 4272 Wednesday, February 24, 2021 Approved
QGIS 3.16.3 2962 Friday, January 29, 2021 Approved
QGIS 3.16.2 3373 Sunday, December 27, 2020 Approved
QGIS 3.16.1 3114 Friday, November 27, 2020 Approved
QGIS 3.16.0 1582 Saturday, November 14, 2020 Approved
QGIS 3.14.16 3711 Monday, September 28, 2020 Approved
QGIS 3.14.15 3782 Sunday, August 30, 2020 Approved
QGIS 3.14.1 1547 Saturday, August 1, 2020 Approved
QGIS 3.14.0 1633 Tuesday, June 30, 2020 Approved
QGIS 3.12.3 1467 Monday, June 8, 2020 Approved
QGIS 3.12.2 1645 Tuesday, April 28, 2020 Approved
QGIS 3.12.1 987 Sunday, April 5, 2020 Approved
QGIS 3.12.0 1359 Sunday, March 8, 2020 Approved
QGIS 3.10.2 1817 Wednesday, January 29, 2020 Approved
QGIS 3.10.1 1784 Friday, December 20, 2019 Approved
QGIS 3.10.0 2192 Monday, November 4, 2019 Approved
QGIS 3.8.3 1917 Saturday, September 28, 2019 Approved
QGIS 3.8.2 2570 Tuesday, August 27, 2019 Approved
QGIS 3.8.1 1117 Wednesday, July 31, 2019 Approved
QGIS 3.8.0 1052 Saturday, June 29, 2019 Approved
QGIS 3.6.3 1159 Saturday, June 1, 2019 Approved
QGIS 3.6.2 1033 Tuesday, April 30, 2019 Approved
QGIS 3.6.1 982 Saturday, March 30, 2019 Approved
QGIS 3.6.0 1264 Thursday, February 28, 2019 Approved
QGIS 3.4.4 1068 Monday, January 28, 2019 Approved
QGIS 3.4.3 3483 Saturday, December 29, 2018 Approved
QGIS 3.4.2 3974 Friday, November 30, 2018 Approved
QGIS 3.4.1 2537 Friday, November 16, 2018 Approved
QGIS 3.4.0 2641 Thursday, November 1, 2018 Approved
QGIS 3.2.3 9197 Tuesday, September 25, 2018 Approved
QGIS 3.2.2 4274 Wednesday, September 12, 2018 Approved
QGIS 3.2.1 19346 Friday, August 3, 2018 Approved
QGIS 3.2.0 7377 Monday, July 16, 2018 Approved
QGIS 3.0.3.20180620 10562 Wednesday, June 20, 2018 Approved
QGIS 3.0.3 13109 Monday, May 28, 2018 Approved
QGIS 3.0.2 16101 Tuesday, April 24, 2018 Approved
QGIS 3.0.1 2759 Thursday, April 5, 2018 Approved
QGIS 3.0.0 5325 Monday, March 12, 2018 Approved
QGIS 2.18.16 21461 Thursday, January 25, 2018 Approved
QGIS 2.18.15 23988 Tuesday, December 19, 2017 Approved
QGIS 2.18.11 2481 Monday, August 14, 2017 Approved
QGIS 2.18.8 924 Tuesday, May 23, 2017 Approved
QGIS 2.18.7 482 Monday, May 22, 2017 Approved
QGIS 2.18.3 2695 Wednesday, January 25, 2017 Approved
QGIS 2.16.2 1307 Monday, September 19, 2016 Approved
QGIS 2.16.1 695 Friday, August 12, 2016 Approved
QGIS 2.14.3 642 Monday, June 6, 2016 Approved
QGIS 2.14.2 533 Tuesday, May 10, 2016 Approved
QGIS 2.14.1 498 Monday, April 11, 2016 Approved
QGIS 2.10.1 821 Thursday, July 30, 2015 Approved
QGIS 2.8.2 764 Tuesday, June 23, 2015 Approved
QGIS 2.8.1 1194 Saturday, March 7, 2015 Approved
QGIS 2.6.1 759 Wednesday, January 21, 2015 Approved

This package has no dependencies.

Discussion for the QGIS Package

Ground Rules:

  • This discussion is only about QGIS and the QGIS 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, 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