News / Press
Ghostscript 10.01.0: Disabling Silent Install Option
By artifex - thursday, april 27, 2023.
For years, our GPL Ghostscript distribution has included a silent installer option for system administrators to deploy the software across multiple machines without notifying end users about the installation or the GNU AGPL license. However, in Ghostscript 10.01.0, we have reluctantly decided to disable this feature.
We have received some pushback from this decision. We hear your concerns, we understand them, and we sympathise with the issues this has caused you.
Nonetheless, faced with undeniable evidence that this option has been abused, the company has made the decision that we are no longer prepared to ship a GNU AGPL licensed binary with this option enabled by default. We have received numerous concerning reports from users who were unaware that Ghostscript was installed on their systems, often running outdated and vulnerable releases. We will not open ourselves up to accusations of being complicit in such 'bad actions'.
Ghostscript is, of course, open source, and it is a trivial thing to rebuild with the option enabled. Users are more than welcome to do that for themselves.
Once again, we apologise for any inconvenience, but would ask you to understand and respect our position. This decision aims to mitigate the security and corporate compliance issues associated with outdated and unknown installations. Further discussion on this subject will not change anything, and merely distracts the developers from their actual work.
- | New Account
- | Log In [x]
- | Forgot Password Login: [x]
- Format For Printing
- - XML
- - Clone This Bug
- - Top of page
Ghostscript Silent Install (How-To Guide)
Ghostscript is a Page Description Language (PDL) Interpreter and industry leader in PDF, PostScript, PCL, and XPS rendering and conversion. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Ghostscript from the command line using the EXE installer.
How to Install Ghostscript Silently
Update: As of version 10.01.0 the silent install option for Ghostscript is no longer permitted. It appears the developer has drawn a line in the sand and will not re-enable the silent install feature for Ghostscript: https://artifex.com/news/ghostscript-10.01.0-disabling-silent-install-option
So what are the options moving forward?
- Build Ghostscript from source (PC version) and re-enable the silent install option
- Repackage the Ghostscript EXE into an MSI
- Use AutoIt to script & automate the installation
- Uninstall Ghostscript & find an alternative
Ghostscript Install Unattended Using AutoIt
Note: This example is for deployments where no other version of Ghostscript is already installed
- Download Ghostscript to a folder created at (C:\Downloads)
- Install AutoIt (This is only required to compile the script below, once the script is compiled AutoIt can be uninstalled and is not required to deploy across other systems)
- Open the SciTE Script Editor or your favorite text editor
- Add the following lines of code:
- Save the file to C:\Downloads and name it: Ghostscript.au3
- Right-Click on Ghostscript.au3 & select Compile Script
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: Ghostscript.exe /S
Ghostscript Upgrade Unattended Using AutoIt
Note: This example is for deployments where another version of Ghostscript is already installed and needs to be upgraded
- Save the file to C:\Downloads and name it: Ghostscript_Upgrade.au3
- Enter the following command: Ghostscript_Upgrade.exe /S
Ghostscript (32-bit) Silent Install (EXE) – Versions 10.0.0 & Older
- Navigate to: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/gs1000w32.exe
- Download the gs1000w32.exe to a folder created at (C:\Downloads)
- Enter the following command: gs1000w32.exe /S
- Press Enter
After a few moments you should see the Ghostscript shortcut in the Start Menu , Installation Directory , and Programs and Features in the Control Panel.
Ghostscript (64-bit) Silent Install (EXE)- Versions 10.0.0 & Older
- Navigate to: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/gs1000w64.exe
- Download the gs1000w64.exe to a folder created at (C:\Downloads)
- Enter the following command: gs1000w64.exe /S
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Change the ghostscript default installation directory.
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Ghostscript to “C:\Ghostscript”
How to Uninstall Ghostscript Silently
Check out the following posts for a scripted solution:
- Enter one of the following commands:
Ghostscript 32-bit Silent Uninstall (EXE) on 32-bit System
Ghostscript 32-bit Silent Uninstall (EXE) on 64-bit System
Ghostscript 64-bit Silent Uninstall (EXE) on 64-bit System
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.
I am an accomplished Software Engineer at Patch My PC, leveraging more than 17 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.
Air Explorer Install and Uninstall (PowerShell)
This article will serve as an informative guide and give you a clear understanding of how to perform silent or interactive installs and uninstalls of Air Explorer using the Powershell App Deployment...
Agilent Lab Advisor Install and Uninstall (PowerShell)
This article will serve as an informative guide and give you a clear understanding of how to perform silent or interactive installs and uninstalls of Agilent Lab Advisor using the Powershell App...
A community where customers and the community can provide feedback to make a better product for everyone! For more details on how we prioritize request, please see:
What Criteria Does Patch My PC Use to Prioritize New Applications and Features?
View the Public Roadmap for Patch My PC
Patch My PC Publisher Release Notes
Please enter your email address
- ADD MY VOTE
Ghostscript version 10.
Looking to have the installation and update for Ghostscript version 10 available for pushing to Intune.
- Attach files Enter a subject
As of version 10.01.0 the silent install option for Ghostscript was removed and is no longer permitted by the developer. See the following post for further details - https://bugs.ghostscript.com/show_bug.cgi?id=706495
Community Tip - You can change your system assigned username to something more personal in your community settings . X
- Creo+ and Creo Parametric
Silent install for Ghostscript?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
- Mark as New
- Notify Moderator
Solved! Go to Solution.
- All forum topics
- Previous Topic
View solution in original post
Beyond Linux ® From Scratch (System V Edition) - Version r12.0-450
Chapter 46. printing.
Introduction to ghostscript.
Ghostscript is a versatile processor for PostScript data with the ability to render PostScript to different targets. It is a mandatory part of the cups printing stack.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10020/ghostscript-10.02.0.tar.xz
Download MD5 sum: 80c1cdfada72f2eb5987dc0d590ea5b2
Download size: 65 MB
Estimated disk space required: 391 MB (with fonts and libgs.so)
Estimated build time: 1.9 SBU (Using parallelism=4; with libgs.so)
If you wish, you can download additional fonts.
Download (HTTP): https://downloads.sourceforge.net/gs-fonts/ghostscript-fonts-std-8.11.tar.gz
Download MD5 sum: 6865682b095f8c4500c54b285ff05ef6
Download size: 3.7 MB
Download (HTTP): https://downloads.sourceforge.net/gs-fonts/gnu-gs-fonts-other-6.0.tar.gz
Download MD5 sum: 33457d3f37de7ef03d2eea05a9e6aa4f
Download size: 796 KB
Cups-2.4.7 (required for building the “ cups ” device backend, which is needed by cups-filters ), Fontconfig-2.14.2 (required, if you are installing any suggested font), FreeType-2.13.2 , Little CMS-2.14 , libjpeg-turbo-3.0.1 , libpng-1.6.40 , libtiff-4.6.0 , and OpenJPEG-2.5.0
Cairo-1.18.0 , GTK+-3.24.38 , libidn-1.41 , libpaper-2.1.2 , libwebp-1.3.2 , and a graphical environment
Installation of Ghostscript
The Ghostscript build system is not user-friendly. In order to use system copies of various graphics libraries, you must do it using unconventional methods.
Ghostscript includes (old) copies of several libraries. Some of these seem to have been patched to fix known vulnerabilities, but others of these copies are less-well maintained. To ensure that any future fixes are applied throughout the whole system, it is recommended that you first install the released versions of these libraries and then configure Ghostscript to link to them.
If you have installed the recommended dependencies on your system, remove the copies of freetype , lcms2 , libjpeg , libpng , and openjpeg :
Compile Ghostscript :
The shared library depends on GTK+-3.24.38 . It is only used by external programs like asymptote-2.86 , dvisvgm-3.1.1 , and ImageMagick-7.1.1-15 .
To compile the shared library libgs.so , run the following additional command as an unprivileged user:
This package does not come with a test suite. A set of example files may be used for testing, but it is only possible after installation of the package.
Now, as the root user:
If you want the shared library too:
Now make the documentation accessible from a standard place:
If you have downloaded the fonts, unpack them to /usr/share/ghostscript and ensure the ownership of the files are root : root .
You can now test the rendering of various postscript and pdf files from the /usr/share/ghostscript/10.02.0/examples . To do this, run the following command (in a X Windows display):
rm -rf zlib : zlib was installed as part of LFS.
--disable-compile-inits : This option makes gs and libgs.so slightly smaller.
--with-system-libtiff : Remove this option if you've not installed libtiff-4.6.0 .
install -v -m644 base/*.h... : Some packages ( ImageMagick is one) need the Ghostscript interface headers in place to link to the shared library. These commands install the headers.
ln -sfvn ghostscript /usr/include/ps : Some packages expect to find the interface headers in an alternate location.
mv -v /usr/share/doc/ghostscript/10.02.0 /usr/share/doc/ghostscript-10.02.0 : This moves the documentation where it is expected to be found.
--disable-cups : this option will save a tiny amount of space by not linking gs and libgs.so to the Cups-2.4.7 libraries if you have installed those.
Ghostscript provides many different scripts used to convert PostScript, PDF, and other formats. Please refer to the HTML documentation or the man pages for information about the capabilities provided.
Search code, repositories, users, issues, pull requests...
We read every piece of feedback, and take your input very seriously.
Use saved searches to filter your results more quickly.
To see all available qualifiers, see our documentation .
This release (10.02.0) marks the final demise of the PostScript based PDF interpreter.
- ghostpcl-10.02.0-win32.zip 9.67 MB 2023-09-13T08:23:42Z
- ghostpcl-10.02.0-win64.zip 10.2 MB 2023-09-13T08:23:47Z
- ghostpdl-10.02.0.tar.gz 93.6 MB 2023-09-13T08:22:16Z
- ghostpdl-10.02.0.tar.xz 70.1 MB 2023-09-13T08:22:33Z
- ghostscript-10.02.0.tar.gz 84.9 MB 2023-09-13T08:21:45Z
- ghostscript-10.02.0.tar.xz 64.8 MB 2023-09-13T08:22:02Z
- ghostxps-10.02.0-win32.zip 3.74 MB 2023-09-13T08:23:52Z
- ghostxps-10.02.0-win64.zip 4.27 MB 2023-09-13T08:23:54Z
- gs10020w32.exe 50.3 MB 2023-09-13T08:23:01Z
- gs10020w64.exe 61.7 MB 2023-09-13T08:23:16Z
- Source code (zip) 2023-09-13T08:19:50Z
- Source code (tar.gz) 2023-09-13T08:19:50Z
- Show all 15 assets
- 🎉 4 reactions
- 👍 8 reactions
Ghostscript/GhostPDL 10.02.0 Release Candidate 2
Second release candidate for the 10.02.0 release. This release marks the final demise of the PostScript based PDF interpreter.
- 👍 2 reactions
Ghostscript/GhostPDL 10.02.0 Release Candidate 1
Release candidate for the 10.02.0 release. This release marks the final demise of the PostScript based PDF interpreter.
This 10.01.1 release removes the "-dNEWPDF=false" command line option to fall back to the deprecated, old PDF interpreter.
- 👍 3 reactions
- 😄 2 reactions
- 🚀 5 reactions
This 10.01.0 release removes the "-dNEWPDF=false" command line option to fall back to the deprecated, old PDF interpreter.
- 👍 4 reactions
- 🎉 2 reactions
This release officially deprecates the old Postscript implementation of PDF, we will not be updating or maintaining that code moving forward. The option to use the old PDF implementation will be removed in the next full release (10.01.0)
- 👍 5 reactions
Ghostscript/GhostPDL 10.01.0 Release Candidate 2
Please test on your setup and we welcome feedback either at either https://bugs.ghostscript.com/ or our Discord: https://discord.gg/H9GXKwyPvY
Important: This release includes the new PDF interpreter (implemented in C rather than PostScript). It is both integrated into Ghostscript (now ENABLED by default), and available as a standalone, PDF only, binary. See https://ghostscript.com/pdfi.html for more details. This also bundles the latest zlib (1.2.12) which addresses a security issue ( CVE-2018-25032 )
(2022/04/12) The Windows installers have been updated to also install the (now required) VisualC++ Redistributable package. No changes to the Ghostscript sources, etc.
Ghostscript/GhostPDL 10.0.0 Release Candidate 2
In this release, we consider the old (PostScript implemented) PDF interpreter to be fully deprecated and unsupported. It is still there, and still accessible via "-dNEWPDF=false" but please treat that as for emergency use only. If you encounter problems with the new interpreter, please report them.