在 Linux 中安装 Ghostscript

tom*_*omc 5 linux ghostscript

我正在尝试在我的网络服务器上安装 Ghostscript,但网站上的说明似乎对我不起作用。

我已登录到我的 ssh 终端。

我输入:

wget http://downloads.ghostscript.com/public/binaries/ghostscript-9.18-linux-x86_64.tgz
Run Code Online (Sandbox Code Playgroud)

然后:

tar -zxvf ghostscript-9.18-linux-x86_64.tgz

cd ghostscript-9.18-linux-x86_64
Run Code Online (Sandbox Code Playgroud)

然后文档说我只需要运行./configure,但这似乎没有任何作用。里面有一个可执行文件,但是当我运行它时,它只会将我带到 Ghostscript 提示符而不是安装 Ghostscript。

我是新手,所以保持简单。

小智 5

例如,在 RedHat 及其衍生产品上使用数据包管理器:

yum install ghostscript

或者在 Debian 上:

apt-get install ghostscript