ghostscript - Linux

Download ghostscript source code

1
# wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10040/ghostscript-10.04.0.tar.gz

Install required software

1
# yum -y install gcc make

Compile and install (/usr)

1
2
3
4
5
# tar zvxf ghostscript-10.04.0.tar.gz
# cd ghostscript-10.04.0
# ./configure --prefix=/usr (11.76s)
# make -j`nproc` (1m39s)
# make install (2.19s)

Verify

1
2
3
4
5
6
# which gs
/usr/bin/gs

# gs -version
GPL Ghostscript 10.04.0 (2024-09-18)
Copyright (C) 2024 Artifex Software, Inc. All rights reserved.