如何安装enscript CentOS 7

在本教程中,我们学习如何安装 enscript CentOS 7. enscript 是一个普通的 ASCII 到 PostScript 转换器

介绍

在本教程中我们学习如何安装 enscript 在 CentOS 7.

什么是 enscript

GNU enscript 是 Adob​​e Enscript 程序的免费替代品。 Enscript 将 ASCII 文件转换为 PostScript(TM) 并将生成的 PostScript 输出假脱机到指定打印机或将其保存到文件中。 Enscript 可以扩展以处理不同的输出介质,并包含许多用于自定义打印输出的选项

我们可以用 yum 或者 dnf 安装 enscript 在 CentOS 7. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 enscript。

安装 enscript CentOS 7 使用百胜

更新 yum 数据库 yum 使用以下命令。

更新 yum 数据库后,我们可以安装 enscript 使用 yum 通过运行以下命令:

sudo yum -y install enscript

安装 enscript CentOS 7 使用dnf

如果你没有安装dnf,可以安装dnf CentOS 7 第一。 更新 yum 数据库 dnf 使用以下命令。

更新 yum 数据库后,我们可以安装 enscript 使用 dnf 通过运行以下命令:

sudo dnf -y install enscript

如何卸载 enscript CentOS 7

仅卸载 enscript 打包我们可以使用以下命令:

参考

概括

在本教程中我们学习如何安装 enscript 在 CentOS 7 使用 yumdnf