Ghostscript (Install)

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

  • 1
  • 2
  • 3

9.50 | Updated: 15 Oct 2019

Downloads:

1,358,956

Downloads of v 9.50:

93,456

Software Author(s):

  • Artifex

  • 1
  • 2
  • 3
Ghostscript (Install) 9.50

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.50'" [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.50'" 
$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.50'
    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.50'
end

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


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

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


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

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.

This package was approved as a trusted package on 06 Feb 2020.

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://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/gs950/gs950w32.exe>
  64-Bit software: <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs950/gs950w64.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: 36DD103CB843896BC28ACEF11F3DC8DBAF2868A2D9413FD6834C4F6B6AF43DAC
  checksum64: 9043C0D7AAFFFCC17726F2AD380CC374DDB67F7C20A08366A0EF20D64FDA6E24

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\gs950w32.exe"
$filePath64 = "$toolsPath\gs950w64.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\gs950w32.exe
md5: 9B4589E993609A4B0F8CE1FBB022A931 | sha1: 7C964E61824884FD302FFAF8D0EE46E77E0A00C3 | sha256: 36DD103CB843896BC28ACEF11F3DC8DBAF2868A2D9413FD6834C4F6B6AF43DAC | sha512: D7D47A2B333D5376F649F21817C40BDB456FF946546817EE1D5DD75A7F4364B57F00F5D90CC7D847EED83FE5F76FCD28753B4993CBC17E21D6847A7DACCBCA8A
tools\gs950w64.exe
md5: 96D94F95841526D9BC7FD2EB98E529B5 | sha1: 0E38FC20E24A7C9F1B72F3289097B93D0E7F2DA9 | sha256: 9043C0D7AAFFFCC17726F2AD380CC374DDB67F7C20A08366A0EF20D64FDA6E24 | sha512: 5272205D7A456F869E5E303FABC2509ABC2C87BC9B776EAFBC0ABB5CA668D6A1EB6464330D7C95D43997189377584351D301CE2F72216240A1FF83023F83F5AA

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) 9.56.0 19968 Wednesday, March 30, 2022 Approved
Ghostscript (Install) 9.55.0 92886 Monday, September 27, 2021 Approved
Ghostscript (Install) 9.54.0 85357 Tuesday, March 30, 2021 Approved
Ghostscript (Install) 9.53.3 87054 Thursday, October 1, 2020 Approved
Ghostscript (Install) 9.53.1 20676 Monday, September 14, 2020 Approved
Ghostscript (Install) 9.53.0 9178 Thursday, September 10, 2020 Approved
Ghostscript (Install) 9.52 78913 Thursday, March 19, 2020 Approved
Ghostscript (Install) 9.50 93456 Tuesday, October 15, 2019 Approved
Ghostscript (Install) 9.27 97801 Thursday, April 4, 2019 Approved
Ghostscript (Install) 9.26 48194 Tuesday, November 20, 2018 Approved
Ghostscript (Install) 9.25 39223 Thursday, September 13, 2018 Approved
Ghostscript (Install) 9.24 17564 Monday, September 3, 2018 Approved
Ghostscript (Install) 9.23 92530 Wednesday, March 21, 2018 Approved
Ghostscript (Install) 9.22 91338 Wednesday, October 4, 2017 Approved
Ghostscript (Install) 9.21.0.20170331 130390 Friday, March 31, 2017 Approved
Ghostscript (Install) 9.21 14359 Thursday, March 16, 2017 Approved
Ghostscript (Install) 9.20 92107 Monday, September 26, 2016 Approved
Ghostscript (Install) 9.19 24303 Sunday, May 8, 2016 Approved
Ghostscript (Install) 9.18 9940 Monday, October 5, 2015 Approved
Ghostscript (Install) 9.16.0.20170513 587 Saturday, May 13, 2017 Approved
Ghostscript (Install) 9.16 11205 Monday, March 30, 2015 Approved
Ghostscript (Install) 9.15 5215 Monday, September 22, 2014 Approved
Ghostscript (Install) 9.14.0.20140912 649 Friday, September 12, 2014 Unknown
Ghostscript (Install) 9.14 1453 Thursday, March 27, 2014 Unknown
Ghostscript (Install) 9.12 509 Tuesday, March 25, 2014 Unknown
Ghostscript (Install) 9.10 1106 Tuesday, September 3, 2013 Unknown
Ghostscript.app 9.07 11505 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