How To Install texlive-pslatex on CentOS 8

texlive-pslatex is Use PostScript fonts by default

Introduction

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

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.

We can use yum or dnf to install texlive-pslatex on CentOS 8. 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 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install texlive-pslatex

Install texlive-pslatex on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install texlive-pslatex

How To Uninstall texlive-pslatex on CentOS 8

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

sudo dnf remove texlive-pslatex

texlive-pslatex Package Contents on CentOS 8

/usr/share/licenses/texlive-pslatex
/usr/share/licenses/texlive-pslatex/lppl1.txt
/usr/share/texlive/texmf-dist/fonts/map/dvips/pslatex
/usr/share/texlive/texmf-dist/fonts/map/dvips/pslatex/pcrr8rn.map
/usr/share/texlive/texmf-dist/fonts/tfm/public/pslatex
/usr/share/texlive/texmf-dist/fonts/tfm/public/pslatex/pcrr7tn.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/pslatex/pcrr8rn.tfm
/usr/share/texlive/texmf-dist/fonts/tfm/public/pslatex/pcrr8tn.tfm
/usr/share/texlive/texmf-dist/fonts/vf/public/pslatex
/usr/share/texlive/texmf-dist/fonts/vf/public/pslatex/pcrr7tn.vf
/usr/share/texlive/texmf-dist/fonts/vf/public/pslatex/pcrr8tn.vf
/usr/share/texlive/texmf-dist/tex/latex/pslatex
/usr/share/texlive/texmf-dist/tex/latex/pslatex/pslatex.sty

References

Summary

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