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:

2,553,219

Downloads of v 9.56.0:

20,005

Last Update:

30 Mar 2022

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.56.0 | Updated: 30 Mar 2022

Downloads:

2,553,219

Downloads of v 9.56.0:

20,005

Maintainer(s):

Software Author(s):

  • Artifex

Ghostscript (Install) 9.56.0

This is not the latest version of Ghostscript (Install) 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 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.56.0'" [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.56.0'" 
$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.56.0'
    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.56.0'
end

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


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

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


package { 'ghostscript.app':
  ensure   => '9.56.0',
  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 30 Mar 2022.

Description

Ghostscript is a high-performance Postscript and PDF interpreter and rendering engine with the most comprehensive set of page description languages (PDL’s) on the market today and technology conversion capabilities covering PDF, PostScript, PCL and XPS languages.

Ghostscript has been under active development for over 20 years, and offers an extremely versatile feature set and can be deployed across a wide range of platforms, modules, end uses (embedding in hardware, as an engine in document management systems, providing cloud solution integration and as an engine in leading PDF generators and tools).

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
  • 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://github.com/ArtifexSoftware/ghostpdl-downloads/releases/latest>
and can be verified by doing the following:

1. Download the following:
  32-Bit software: <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9560/gs9560w32.exe>
  64-Bit software: <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9560/gs9560w64.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: B2FC9A19107BCBF66B5ECE4E58B3A30E92E0F15614D755D2646D35DE936405C2
  checksum64: F110E9C4AAE675D420561EA256929BE46AC400803BA5DCB428D2CBCFF2C213BF

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\gs9560w32.exe"
$filePath64 = "$toolsPath\gs9560w64.exe"

$filePath = if ((Get-OSArchitectureWidth 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 | ForEach-Object {
    $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 | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
tools\gs9560w32.exe
md5: 9FF9CE999BBBAB87468C901FBD326F42 | sha1: E5F53D253D1FFD2FB19BD047E9E6A32991106467 | sha256: B2FC9A19107BCBF66B5ECE4E58B3A30E92E0F15614D755D2646D35DE936405C2 | sha512: 138FDEA4636ABD52121856B71255D2CD82789A4EFCF1EFE989EEF9E3E778D66641E7CADADAD5660197B46611BC8892B300668D20D4390804CDCBAC52885E04CD
tools\gs9560w64.exe
md5: C1475A6979E860705A9FBCCDF92C1222 | sha1: E9F4862A7D3EAC5A705C3D95F930B1ECFDE0421B | sha256: F110E9C4AAE675D420561EA256929BE46AC400803BA5DCB428D2CBCFF2C213BF | sha512: C4C0A1CD57EC3475CBED102829D427A2819FAE736A7EADDDE7FF3A39C9297F7B0C47FC3D96155850510CD34972E891388F71B5070BB2C4BE81CBECE2B3700F85

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.0.0.20230317 924862 Friday, March 17, 2023 Approved
Ghostscript (Install) 9.56.1 372121 Monday, April 4, 2022 Approved
Ghostscript (Install) 9.56.0 20005 Wednesday, March 30, 2022 Approved
Ghostscript (Install) 9.55.0 94043 Monday, September 27, 2021 Approved
Ghostscript (Install) 9.54.0 85594 Tuesday, March 30, 2021 Approved
Ghostscript (Install) 9.53.3 87335 Thursday, October 1, 2020 Approved
Ghostscript (Install) 9.53.1 20725 Monday, September 14, 2020 Approved
Ghostscript (Install) 9.53.0 9235 Thursday, September 10, 2020 Approved
Ghostscript (Install) 9.52 78994 Thursday, March 19, 2020 Approved
Ghostscript (Install) 9.50 95581 Tuesday, October 15, 2019 Approved
Ghostscript (Install) 9.27 97943 Thursday, April 4, 2019 Approved
Ghostscript (Install) 9.26 48246 Tuesday, November 20, 2018 Approved
Ghostscript (Install) 9.25 39267 Thursday, September 13, 2018 Approved
Ghostscript (Install) 9.24 17690 Monday, September 3, 2018 Approved
Ghostscript (Install) 9.23 92604 Wednesday, March 21, 2018 Approved
Ghostscript (Install) 9.22 91659 Wednesday, October 4, 2017 Approved
Ghostscript (Install) 9.21.0.20170331 130437 Friday, March 31, 2017 Approved
Ghostscript (Install) 9.21 14388 Thursday, March 16, 2017 Approved
Ghostscript (Install) 9.20 92161 Monday, September 26, 2016 Approved
Ghostscript (Install) 9.19 24480 Sunday, May 8, 2016 Approved
Ghostscript (Install) 9.18 9976 Monday, October 5, 2015 Approved
Ghostscript (Install) 9.16.0.20170513 888 Saturday, May 13, 2017 Approved
Ghostscript (Install) 9.16 11242 Monday, March 30, 2015 Approved
Ghostscript (Install) 9.15 5262 Monday, September 22, 2014 Approved
Ghostscript (Install) 9.14.0.20140912 693 Friday, September 12, 2014 Unknown
Ghostscript (Install) 9.14 1507 Thursday, March 27, 2014 Unknown
Ghostscript (Install) 9.12 549 Tuesday, March 25, 2014 Unknown
Ghostscript (Install) 9.10 1156 Tuesday, September 3, 2013 Unknown
Ghostscript.app 9.07 11811 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