在树莓派上安装旧版本的 ghostscript



我认为Ghostscript版本和我在Raspberry Pi Zero上安装的打印机有问题。Ghostscript 的版本是9.27~dfsg-2+deb10u3

如何降级代笔?要么,要么尝试最新版本的Ghostscript?

我输入了apt-cache 策略并得到:

ghostscript:
Installed: 9.27~dfsg-2+deb10u3
Candidate: 9.27~dfsg-2+deb10u3
Version table:
*** 9.27~dfsg-2+deb10u3 500
500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
100 /var/lib/dpkg/status

我试过了:

sudo apt-get install ghostscript=9.26a~dfsg-0+deb9u6

但我得到了:

E: Version '9.26a~dfsg-0+deb9u6' for 'ghostscript' was not found

你要么需要联系操作系统上的Ghostscript软件包维护者(它似乎是Raspbian,基本上是Debian(,要么自己从源代码构建Ghostscript。

Debian 似乎有 9.52 的测试。

有关从源代码构建 Ghostscript 的文档可以在这里找到

最新更新