How To Install texlive-pslatex on CentOS 7

In this tutorial we learn how to install texlive-pslatex on CentOS 7. texlive-pslatex is Use PostScript fonts by default

Introduction

In this tutorial we learn how to install texlive-pslatex on CentOS 7.

What is texlive-pslatex

A small package that makes LaTeX default to ‘standard’ PostScript fonts. It is basically a merger of the times and the (obsolete) mathptm packages from the psnfss suite. You must have installed standard LaTeX and the psnfss PostScript fonts to use this package. The main novel feature is that the pslatex package tries to compensate for the visual differences between the Adobe fonts by scaling Helvetica by 90%, and ‘condensing’ Courier (i.e. scaling horizontally) by 85%. The package is supplied with a (unix) shell file for a ‘pslatex’ command that allows standard LaTeX documents to be processed, without needing to edit the file. Note that current psnfss uses a different technique for scaling Helvetica, and treats Courier as a lost cause (there are better free fixed-width available now, than there were when pslatex was designed). As a result, pslatex is widely considered obsolete. date

We can use yum or dnf to install texlive-pslatex on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-pslatex.

Install texlive-pslatex on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install texlive-pslatex using yum by running the following command:

sudo yum -y install texlive-pslatex

Install texlive-pslatex on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install texlive-pslatex

How To Uninstall texlive-pslatex on CentOS 7

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

sudo dnf remove texlive-pslatex

References

Summary

In this tutorial we learn how to install texlive-pslatex on CentOS 7 using yum and dnf.