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:

4,738,700

Downloads of v 9.21.0.20170331:

130,516

Last Update:

31 Mar 2017

Package Maintainer(s):

Software Author(s):

  • Artifex

Tags:

ghostscript.app ghostscript postscript admin foss cross-platform

Ghostscript (Install)

This is not the latest version of Ghostscript (Install) available.

  • 1
  • 2
  • 3

9.21.0.20170331 | Updated: 31 Mar 2017

Downloads:

4,738,700

Downloads of v 9.21.0.20170331:

130,516

Maintainer(s):

Software Author(s):

  • Artifex

Ghostscript (Install) 9.21.0.20170331

This is not the latest version of Ghostscript (Install) available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Artifex. The inclusion of Artifex trademark(s), if any, upon this webpage is solely to identify Artifex goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Ghostscript (Install), run the following command from the command line or from PowerShell:

>

To upgrade Ghostscript (Install), run the following command from the command line or from PowerShell:

>

To uninstall Ghostscript (Install), 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 ghostscript.app -y --source="'INTERNAL REPO URL'" --version="'9.21.0.20170331'" [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 ghostscript.app -y --source="'INTERNAL REPO URL'" --version="'9.21.0.20170331'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install ghostscript.app
  win_chocolatey:
    name: ghostscript.app
    version: '9.21.0.20170331'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'ghostscript.app' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '9.21.0.20170331'
end

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


cChocoPackageInstaller ghostscript.app
{
    Name     = "ghostscript.app"
    Version  = "9.21.0.20170331"
    Source   = "INTERNAL REPO URL"
}

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


package { 'ghostscript.app':
  ensure   => '9.21.0.20170331',
  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

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

Package Approved

This package was approved as a trusted package on 19 Jul 2017.

Description

Ghostscript is a package of software that provides:

Ghostscript is written entirely in C, with special care taken to make it run properly on a wide variety of systems, including MS Windows, Apple MacOS, the wide variety of Unix and Unix-like platforms and VMS systems.

Features

  • An interpreter for the PostScriptâ„¢ language, with the ability to convert PostScript language files to many raster formats, view them on displays, and print them on printers that don't have PostScript language capability built in;
  • An interpreter for Portable Document Format (PDF) files, with the same abilities;
  • The ability to convert PostScript language files to PDF (with some limitations) and vice versa; and
  • A set of C procedures (the Ghostscript library) that implement the graphics and filtering (data compression / decompression / conversion) capabilities that appear as primitive operations in the PostScript language and in PDF.

legal\LICENSE.txt
The files in the base, psi, lib, toolbin, examples, doc, man and
iccprofiles directories (folders), and pcl, xps and gpdl
directories (folders), if included, and any subdirectories
(sub-folders) thereof are part of GPL Ghostscript.

The files in the Resource directory and any subdirectories thereof
are also part of GPL Ghostscript, with the explicit exception of
the files in the CMap subdirectory (except "Identity-UTF16-H",
which is part of GPL Ghostscript). The CMap files are copyright
Adobe Systems Incorporated and covered by a separate, Affero GPL
compatible license.

Additionally, the font files (in Resource/Font) are distributed
under the AGPL with the following exemption:

As a special exception, permission is granted to include these font
programs in a Postscript or PDF file that consists of a document that
contains text to be displayed or printed using this font, regardless
of the conditions or license applying to the document itself.


The files under the jpegxr directory and any subdirectories
thereof are distributed under a no cost, open source license
granted by the ITU/ISO/IEC but it is not Affero GPL
compatible - see jpegxr/COPYRIGHT.txt for details.

GPL Ghostscript is free software; you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

GPL Ghostscript is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public
License along with this program so you can know your rights and
responsibilities. It should be in a file named doc/COPYING. If not,
write to the Free Software Foundation, Inc., 59 Temple Place Suite
330, Boston, MA 02111-1307, USA.

---

GPL Ghostscript contains an implementation of techniques covered
by US Patents 5,055,942 and 5,917,614, and corresponding
international patents. These patents are licensed for use with
GPL Ghostscript under the following grant:

Whereas, Raph Levien (hereinafter "Inventor") has obtained patent
protection for related technology (hereinafter "Patented
Technology"), Inventor wishes to aid the the GNU free software
project in achieving its goals, and Inventor also wishes to
increase public awareness of Patented Technology, Inventor hereby
grants a fully paid up, nonexclusive, royalty free license to
practice the patents listed below ("the Patents") if and only if
practiced in conjunction with software distributed under the
terms of any version of the GNU Affero General Public License as
published by the Free Software Foundation, 59 Temple Place, Suite
330, Boston, MA 02111. Inventor reserves all other rights,
including without limitation, licensing for software not
distributed under the GNU Affero General Public License.

5055942 Photographic image reproduction device using digital
halftoning to screen images allowing adjustable coarseness

5917614 Method and apparatus for error diffusion screening of
images with improved smoothness in highlight and shadow
regions
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The embedded software have been downloaded from the listed download
location on <https://ghostscript.com/download/gsdnld.html>
and can be verified by doing the following:

1. Download the following:
  32-Bit software: <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/gs921w32.exe>
  64-Bit software: <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/gs921w64.exe>
2. Get the checksum using one of the following methods:
  - Using powershell function 'Get-FileHash'
  - Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

  checksum type: sha256
  checksum32: 75F5983AC23FBC26760F1033062EC914E7DBAFCB029E47E54E77A762EE934089
  checksum64: 41BF242D0E4303F329F4B67FC0C556885FE0A5D4012CF5C1E7DDC62A5D25ABA9

The file 'LICENSE.txt' has been obtained from <http://git.ghostscript.com/?p=ghostpdl.git;a=blob_plain;f=LICENSE;h=572496a331cefa0933a9e997374f5e7dde3b95c8;hb=HEAD>
tools\ChocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$filePath32 = "$toolsPath\gs921w32.exe"
$filePath64 = "$toolsPath\gs921w64.exe"

$filePath = if ((Get-ProcessorBits 64) -and $env:chocolateyForceX86 -ne $true) {
  Write-Host "Installing 64 bit version" ; $filePath64
} else { Write-Host "Installing 32 bit version" ; $filePath32 }

$packageArgs = @{
  packageName = $env:ChocolateyPackageName
  fileType       = 'exe'
  file           = $filePath
  softwareName   = 'GPL Ghostscript'
  silentArgs     = '/S'
  validExitCodes = @(0)
}

Install-ChocolateyInstallPackage @packageArgs

Remove-Item -Force -ea 0 "$toolsPath\*.$($packageArgs.fileType)*"
tools\ChocolateyUninstall.ps1
$ErrorActionPreference = 'Stop';

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'GPL Ghostscript'
  fileType      = 'exe'
  silentArgs    = '/S'
  validExitCodes= @(@(0))
}

$uninstalled = $false

[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
  $key | % {
    $packageArgs['file'] = "$($_.UninstallString)"

    Uninstall-ChocolateyPackage @packageArgs
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$($packageArgs.packageName) has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstall."
  Write-Warning "Please alert the package maintainer the following keys were matched:"
  $key | % { Write-Warning "- $($_.DisplayName)" }
}
tools\gs921w32.exe
md5: DF36004937A011F6B1960E386BCDF70F | sha1: EEF2C5FB0DCE5E7B304CD948576BFCD655E69B66 | sha256: 75F5983AC23FBC26760F1033062EC914E7DBAFCB029E47E54E77A762EE934089 | sha512: C5FE6753665244FE03471ED27B6A483A2455D805E19AC95C4B3622DC6EF0FCC918685DCF29555B9D6261B10DD85C45C02FB2FDCAD4BC59C421BA47F0C70E4C23
tools\gs921w64.exe
md5: 84345A3E295CE4ABFEFF4AA3F0563C3D | sha1: 61350510FAC92A1788E4323858DED0572A784292 | sha256: 41BF242D0E4303F329F4B67FC0C556885FE0A5D4012CF5C1E7DDC62A5D25ABA9 | sha512: 2063C34FA4B0FCE28432D4A509529C7B529FEECC5C7F896FC436A9FF7998CE5524A82C197E209DE075582B64FFE6BB6F74654395D4B3927D75056740B0232FDE

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
Ghostscript (Install) 10.3.1 731386 Friday, May 24, 2024 Approved
Ghostscript (Install) 10.3.0 292404 Thursday, March 7, 2024 Approved
Ghostscript (Install) 10.0.0.20230317 931752 Friday, March 17, 2023 Approved
Ghostscript (Install) 9.56.1 374070 Monday, April 4, 2022 Approved
Ghostscript (Install) 9.56.0 20066 Wednesday, March 30, 2022 Approved
Ghostscript (Install) 9.55.0 94460 Monday, September 27, 2021 Approved
Ghostscript (Install) 9.54.0 87059 Tuesday, March 30, 2021 Approved
Ghostscript (Install) 9.53.3 87491 Thursday, October 1, 2020 Approved
Ghostscript (Install) 9.53.1 20761 Monday, September 14, 2020 Approved
Ghostscript (Install) 9.53.0 9293 Thursday, September 10, 2020 Approved
Ghostscript (Install) 9.52 79093 Thursday, March 19, 2020 Approved
Ghostscript (Install) 9.50 95660 Tuesday, October 15, 2019 Approved
Ghostscript (Install) 9.27 98022 Thursday, April 4, 2019 Approved
Ghostscript (Install) 9.26 48289 Tuesday, November 20, 2018 Approved
Ghostscript (Install) 9.25 39354 Thursday, September 13, 2018 Approved
Ghostscript (Install) 9.24 18489 Monday, September 3, 2018 Approved
Ghostscript (Install) 9.23 92658 Wednesday, March 21, 2018 Approved
Ghostscript (Install) 9.22 92100 Wednesday, October 4, 2017 Approved
Ghostscript (Install) 9.21.0.20170331 130516 Friday, March 31, 2017 Approved
Ghostscript (Install) 9.21 14490 Thursday, March 16, 2017 Approved
Ghostscript (Install) 9.20 92201 Monday, September 26, 2016 Approved
Ghostscript (Install) 9.19 24571 Sunday, May 8, 2016 Approved
Ghostscript (Install) 9.18 10025 Monday, October 5, 2015 Approved
Ghostscript (Install) 9.16.0.20170513 1528 Saturday, May 13, 2017 Approved
Ghostscript (Install) 9.16 11272 Monday, March 30, 2015 Approved
Ghostscript (Install) 9.15 5299 Monday, September 22, 2014 Approved
Ghostscript (Install) 9.14.0.20140912 733 Friday, September 12, 2014 Unknown
Ghostscript (Install) 9.14 1540 Thursday, March 27, 2014 Unknown
Ghostscript (Install) 9.12 576 Tuesday, March 25, 2014 Unknown
Ghostscript (Install) 9.10 1193 Tuesday, September 3, 2013 Unknown
Ghostscript.app 9.07 16441 Tuesday, April 23, 2013 Unknown
Discussion for the Ghostscript (Install) Package

Ground Rules:

  • This discussion is only about Ghostscript (Install) and the Ghostscript (Install) 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 Ghostscript (Install), 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