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

时间:2020-06-04 21:06:32

标签: ghostscript apt

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

如何降级Ghostscript?还是尝试最新版本的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

1 个答案:

答案 0 :(得分:0)

您需要与操作系统上的Ghostscript软件包维护者联系(看来是Raspbian,基本上是Debian),或者自己从源代码构建Ghostscript。

Debian测试中似乎有9.52。

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