How To Install enscript on Rocky Linux 8

In this tutorial we learn how to install enscript on Rocky Linux 8. enscript is A plain ASCII to PostScript converter

Introduction

In this tutorial we learn how to install enscript on Rocky Linux 8.

What is enscript

GNU enscript is a free replacement for Adobe’s Enscript program. Enscript converts ASCII files to PostScript(TM) and spools generated PostScript output to the specified printer or saves it to a file. Enscript can be extended to handle different output media and includes many options for customizing printouts

We can use yum or dnf to install enscript on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install enscript.

Install enscript on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install enscript using dnf by running the following command:

sudo dnf -y install enscript

Install enscript on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install enscript using yum by running the following command:

sudo yum -y install enscript

How To Uninstall enscript on Rocky Linux 8

To uninstall only the enscript package we can use the following command:

sudo dnf remove enscript

enscript Package Contents on Rocky Linux 8

/etc/enscript.cfg
/usr/bin/diffpp
/usr/bin/enscript
/usr/bin/mkafmmap
/usr/bin/nenscript
/usr/bin/over
/usr/bin/sliceprint
/usr/bin/states
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/81a6f6a05b16a66e2241b0f26fcb8ad3d817f8
/usr/lib/.build-id/55
/usr/lib/.build-id/55/a48a8d40d4fc8cb004dfae8f6b4ce850ce3b94
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/aa1c69c8df73b9eaf92dccd53560044d842dd9
/usr/lib/.build-id/bf/aa1c69c8df73b9eaf92dccd53560044d842dd9.1
/usr/share/doc/enscript
/usr/share/doc/enscript/AUTHORS
/usr/share/doc/enscript/COPYING
/usr/share/doc/enscript/ChangeLog
/usr/share/doc/enscript/FAQ.html
/usr/share/doc/enscript/NEWS
/usr/share/doc/enscript/README
/usr/share/doc/enscript/README.ESCAPES
/usr/share/doc/enscript/THANKS
/usr/share/doc/enscript/TODO
/usr/share/enscript
/usr/share/enscript/88591.enc
/usr/share/enscript/885910.enc
/usr/share/enscript/885913.enc
/usr/share/enscript/885915.enc
/usr/share/enscript/88592.enc
/usr/share/enscript/88593.enc
/usr/share/enscript/88594.enc
/usr/share/enscript/88595.enc
/usr/share/enscript/88597.enc
/usr/share/enscript/88599.enc
/usr/share/enscript/a2ps.hdr
/usr/share/enscript/afm
/usr/share/enscript/afm/MustRead.html
/usr/share/enscript/afm/agd.afm
/usr/share/enscript/afm/agdo.afm
/usr/share/enscript/afm/agw.afm
/usr/share/enscript/afm/agwo.afm
/usr/share/enscript/afm/bkd.afm
/usr/share/enscript/afm/bkdi.afm
/usr/share/enscript/afm/bkl.afm
/usr/share/enscript/afm/bkli.afm
/usr/share/enscript/afm/cob.afm
/usr/share/enscript/afm/cobo.afm
/usr/share/enscript/afm/com.afm
/usr/share/enscript/afm/coo.afm
/usr/share/enscript/afm/font.map
/usr/share/enscript/afm/hv.afm
/usr/share/enscript/afm/hvb.afm
/usr/share/enscript/afm/hvbo.afm
/usr/share/enscript/afm/hvc.afm
/usr/share/enscript/afm/hvcb.afm
/usr/share/enscript/afm/hvcbo.afm
/usr/share/enscript/afm/hvcdo.afm
/usr/share/enscript/afm/hvn.afm
/usr/share/enscript/afm/hvnb.afm
/usr/share/enscript/afm/hvnbo.afm
/usr/share/enscript/afm/hvno.afm
/usr/share/enscript/afm/hvo.afm
/usr/share/enscript/afm/matrix.afm
/usr/share/enscript/afm/matrix.eps
/usr/share/enscript/afm/ncb.afm
/usr/share/enscript/afm/ncbi.afm
/usr/share/enscript/afm/nci.afm
/usr/share/enscript/afm/ncr.afm
/usr/share/enscript/afm/pob.afm
/usr/share/enscript/afm/pobi.afm
/usr/share/enscript/afm/poi.afm
/usr/share/enscript/afm/por.afm
/usr/share/enscript/afm/sy.afm
/usr/share/enscript/afm/tib.afm
/usr/share/enscript/afm/tibi.afm
/usr/share/enscript/afm/tii.afm
/usr/share/enscript/afm/tir.afm
/usr/share/enscript/afm/zcmi.afm
/usr/share/enscript/afm/zd.afm
/usr/share/enscript/ascii.enc
/usr/share/enscript/asciidkno.enc
/usr/share/enscript/asciifise.enc
/usr/share/enscript/edd.hdr
/usr/share/enscript/emacs.hdr
/usr/share/enscript/enscript-color.hdr
/usr/share/enscript/enscript.hdr
/usr/share/enscript/enscript.pro
/usr/share/enscript/frame.hdr
/usr/share/enscript/hl
/usr/share/enscript/hl/ada.st
/usr/share/enscript/hl/asm.st
/usr/share/enscript/hl/awk.st
/usr/share/enscript/hl/bash.st
/usr/share/enscript/hl/c.st
/usr/share/enscript/hl/c_comment.st
/usr/share/enscript/hl/c_ppline.st
/usr/share/enscript/hl/c_string.st
/usr/share/enscript/hl/changelog.st
/usr/share/enscript/hl/cpp.st
/usr/share/enscript/hl/csh.st
/usr/share/enscript/hl/default_faces.st
/usr/share/enscript/hl/delphi.st
/usr/share/enscript/hl/describe_languages.st
/usr/share/enscript/hl/diff.st
/usr/share/enscript/hl/diffs.st
/usr/share/enscript/hl/diffu.st
/usr/share/enscript/hl/elisp.st
/usr/share/enscript/hl/enscript.st
/usr/share/enscript/hl/f90.st
/usr/share/enscript/hl/fortran.st
/usr/share/enscript/hl/fortran_pp.st
/usr/share/enscript/hl/haskell.st
/usr/share/enscript/hl/html.st
/usr/share/enscript/hl/idl.st
/usr/share/enscript/hl/inf.st
/usr/share/enscript/hl/java.st
/usr/share/enscript/hl/javascript.st
/usr/share/enscript/hl/ksh.st
/usr/share/enscript/hl/lang_ansi.st
/usr/share/enscript/hl/lang_enscript.st
/usr/share/enscript/hl/lang_html.st
/usr/share/enscript/hl/lang_overstrike.st
/usr/share/enscript/hl/lang_rtf.st
/usr/share/enscript/hl/lang_texinfo.st
/usr/share/enscript/hl/m4.st
/usr/share/enscript/hl/mail.st
/usr/share/enscript/hl/makefile.st
/usr/share/enscript/hl/matlab.st
/usr/share/enscript/hl/nroff.st
/usr/share/enscript/hl/objc.st
/usr/share/enscript/hl/outline.st
/usr/share/enscript/hl/pascal.st
/usr/share/enscript/hl/passthrough.st
/usr/share/enscript/hl/perl.st
/usr/share/enscript/hl/postscript.st
/usr/share/enscript/hl/pyrex.st
/usr/share/enscript/hl/python.st
/usr/share/enscript/hl/rfc.st
/usr/share/enscript/hl/scheme.st
/usr/share/enscript/hl/sh.st
/usr/share/enscript/hl/skill.st
/usr/share/enscript/hl/sql.st
/usr/share/enscript/hl/states.st
/usr/share/enscript/hl/style_a2ps.st
/usr/share/enscript/hl/style_emacs.st
/usr/share/enscript/hl/style_emacs_verbose.st
/usr/share/enscript/hl/style_ifh.st
/usr/share/enscript/hl/style_msvc.st
/usr/share/enscript/hl/synopsys.st
/usr/share/enscript/hl/tcl.st
/usr/share/enscript/hl/tcsh.st
/usr/share/enscript/hl/tex.st
/usr/share/enscript/hl/vba.st
/usr/share/enscript/hl/verilog.st
/usr/share/enscript/hl/vhdl.st
/usr/share/enscript/hl/vrml.st
/usr/share/enscript/hl/wmlscript.st
/usr/share/enscript/hl/zsh.st
/usr/share/enscript/hp8.enc
/usr/share/enscript/ibmpc.enc
/usr/share/enscript/koi8.enc
/usr/share/enscript/mac.enc
/usr/share/enscript/mp.hdr
/usr/share/enscript/ps.enc
/usr/share/enscript/pslatin1.enc
/usr/share/enscript/simple.hdr
/usr/share/enscript/squeeze.hdr
/usr/share/enscript/vms.enc
/usr/share/info/enscript.info.gz
/usr/share/locale/ca/LC_MESSAGES/enscript.mo
/usr/share/locale/da/LC_MESSAGES/enscript.mo
/usr/share/locale/de/LC_MESSAGES/enscript.mo
/usr/share/locale/en_GB/LC_MESSAGES/enscript.mo
/usr/share/locale/es/LC_MESSAGES/enscript.mo
/usr/share/locale/fr/LC_MESSAGES/enscript.mo
/usr/share/locale/hr/LC_MESSAGES/enscript.mo
/usr/share/locale/nl/LC_MESSAGES/enscript.mo
/usr/share/locale/pt_BR/LC_MESSAGES/enscript.mo
/usr/share/locale/ru/LC_MESSAGES/enscript.mo
/usr/share/locale/sl/LC_MESSAGES/enscript.mo
/usr/share/locale/sv/LC_MESSAGES/enscript.mo
/usr/share/locale/tr/LC_MESSAGES/enscript.mo
/usr/share/man/man1/diffpp.1.gz
/usr/share/man/man1/enscript.1.gz
/usr/share/man/man1/sliceprint.1.gz
/usr/share/man/man1/states.1.gz

References

Summary

In this tutorial we learn how to install enscript on Rocky Linux 8 using yum and dnf.