Linux里安装ghostscript

参考:http://blog.sina.com.cn/s/blog_18c3b7e7c0102ybmg.html

 

1、下载地址

https://www.ghostscript.com/download/gsdnld.html

我写这个的时候最新版本是9.25

下载Ghostscript 9.25 for Linux x86 (64 bit)这个是直接使用的,替换/usr/bin下的gs即可.

 

今天这里主要说的是编译安装

获取Ghostscript 9.25 Source for all platforms 的下载链接

这里是https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs925/ghostscript-9.25.tar.gz

2、进入Linux终端

wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs925/ghostscript-9.25.tar.gz

 

 

mkdir /usr/local/ghostscript

./configure --prefix=/usr/local/ghostscript

mkdir obj

mkdir bin

make all

make install


版权声明:本文为Theo93原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。