How To Install texlive-ps2eps on AlmaLinux 8

In this tutorial we learn how to install texlive-ps2eps in AlmaLinux 8. texlive-ps2eps is Produce Encapsulated PostScript from PostScript

Introduction

In this tutorial we learn how to install texlive-ps2eps on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove texlive-ps2eps

References

Summary

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