How To Install texlive-ps2eps on Rocky Linux 8

In this tutorial we learn how to install texlive-ps2eps on Rocky Linux 8. texlive-ps2eps is Produce Encapsulated PostScript from PostScript

Introduction

In this tutorial we learn how to install texlive-ps2eps on Rocky Linux 8.

What is texlive-ps2eps

Produce Encapsulated PostScript Files (EPS/EPSF) from a one-page PostScript document, or any PostScript document. A correct Bounding Box is calculated for the EPS files and some PostScript command sequences that can produce erroneous results on printers are filtered. The input is cropped to include just the image contained in the PostScript file. The EPS files can then be included into TeX documents. Other programs like ps2epsi (a script distributed with ghostscript) don’t always calculate the correct bounding box (because the values are put on the PostScript stack which may get corrupted by bad PostScript code) or they round it off, resulting in clipping the image. Therefore ps2eps uses a resolution of 144 dpi to get the correct bounding box. Included in the distribution is the bbox program, an application to produce Bounding Box values for rawppm or rawpbm format files.

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

Install texlive-ps2eps 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 texlive-ps2eps using dnf by running the following command:

sudo dnf -y install texlive-ps2eps

Install texlive-ps2eps 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 texlive-ps2eps using yum by running the following command:

sudo yum -y install texlive-ps2eps

How To Uninstall texlive-ps2eps on Rocky Linux 8

To uninstall only the texlive-ps2eps package we can use the following command:

sudo dnf remove texlive-ps2eps

texlive-ps2eps Package Contents on Rocky Linux 8

/usr/bin/bbox
/usr/bin/ps2eps
/usr/lib/.build-id
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/ef8a526d2cef66f22fb6babe378fcd54b521c2
/usr/share/licenses/texlive-ps2eps
/usr/share/licenses/texlive-ps2eps/gpl.txt
/usr/share/man/man1/bbox.1.gz
/usr/share/man/man1/ps2eps.1.gz
/usr/share/texlive/texmf-dist/scripts/ps2eps
/usr/share/texlive/texmf-dist/scripts/ps2eps/ps2eps.pl

References

Summary

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