Linux

How to install GPL Ghostscript 9.25 almalinux

Ghostscript is a versatile interpreter for PostScript (PS) and PDF files, widely used for converting, viewing, and printing documents. It supports file format conversion, PDF manipulation, and high-quality printing on multiple platforms. Ghostscript is open-source under the GPL license, making it ideal for developers and businesses needing automated PDF and PS processing.

1. Install the necessary packages

sudo dnf groupinstall "Development Tools" -y
sudo dnf install libjpeg-devel libpng-devel zlib-devel freetype-devel lcms2-devel -y

2. Download Ghostscript 9.25 source

cd /usr/local/src
sudo wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs925/ghostscript-9.25.tar.gz
sudo tar -xzf ghostscript-9.25.tar.gz
cd ghostscript-9.25

3. Build and install

sudo ./configure
sudo make
sudo make install

4. Check

gs -v

 Thanks for visit my website