Ghostscript (Install)

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

9.23 | Updated: 3/21/2018

Downloads:

704,183

Downloads of v 9.23:

92,182

Software Author(s):

  • Artifex

Ghostscript (Install) 9.23

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

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade ghostscript.app -y --source="'STEP 3 URL'" [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="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure ghostscript.app installed
  win_chocolatey:
    name: ghostscript.app
    state: present
    version: 9.23
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'ghostscript.app' do
  action    :install
  version  '9.23'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: ghostscript.app,
    Version: 9.23,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller ghostscript.app
{
   Name     = 'ghostscript.app'
   Ensure   = 'Present'
   Version  = '9.23'
   Source   = 'STEP 3 URL'
}

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


package { 'ghostscript.app':
  provider => 'chocolatey',
  ensure   => '9.23',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install ghostscript.app version="9.23" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. 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 7/4/2018.

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/gs923/gs923w32.exe>
  64-Bit software: <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs923/gs923w64.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: 5879B9970007490E62F1C1D9D6688BB633A069CDD5FC466DADB9EA8114C8C75A
  checksum64: 9E614CBAC9F674710DE965D9847ACE29127D71DC1875E48517F4ABCE0E324400

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\gs923w32.exe"
$filePath64 = "$toolsPath\gs923w64.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\gs923w32.exe
md5: 3F63B5BFF6592BD04D5244AED73D5C89 | sha1: 5D741922A801BF882B1FFF64E9D047AEBB622AC0 | sha256: 5879B9970007490E62F1C1D9D6688BB633A069CDD5FC466DADB9EA8114C8C75A | sha512: 6CF1D13E72C1FCD1FBDC5114D7DFBA996580301047DDCC2EDC9559CF7602B7A0878A856795C728DF864DE86426FDC051BC7992D6666D2A991F676C8B523A1C17
tools\gs923w64.exe
md5: 8499D288543591F172E5F913A765AB25 | sha1: 1AAD0D141C9E9CA6E388FC1DEAF5EDAC23893CEC | sha256: 9E614CBAC9F674710DE965D9847ACE29127D71DC1875E48517F4ABCE0E324400 | sha512: 2AF6E6115A4719DE3EF2CC8BD3E68FD51B4297879BCF2C09326506FF1097C4F1BC781C9D21F95D17ABF13D034BB22B356C46DE4B91AC4C94074FF8F52C010360

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.

Version Downloads Last Updated Status
Ghostscript (Install) 9.27 96954 Thursday, April 4, 2019 Approved
Ghostscript (Install) 9.26 47584 Tuesday, November 20, 2018 Approved
Ghostscript (Install) 9.25 38811 Thursday, September 13, 2018 Approved
Ghostscript (Install) 9.24 17144 Monday, September 3, 2018 Approved
Ghostscript (Install) 9.23 92182 Wednesday, March 21, 2018 Approved
Ghostscript (Install) 9.22 90706 Wednesday, October 4, 2017 Approved
Ghostscript (Install) 9.21.0.20170331 130070 Friday, March 31, 2017 Approved
Ghostscript (Install) 9.21 14139 Thursday, March 16, 2017 Approved
Ghostscript (Install) 9.20 91902 Monday, September 26, 2016 Approved
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