How To Install texlive-pst-pdf on CentOS 7

In this tutorial we learn how to install texlive-pst-pdf on CentOS 7. texlive-pst-pdf is Make PDF versions of graphics by processing between runs

Introduction

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

What is texlive-pst-pdf

The package pst-pdf simplifies the use of graphics from PSTricks and other PostScript code in PDF documents. As in building a bibliography with BibTEX, additional external programmes are invoked. In this case they are used to create a PDF file (\PDFcontainer) that will contain all the graphics material. In the final document these contents will be inserted instead of the original PostScript code. The package works with pstricks and requires a recent version of the preview package.

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

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

sudo yum -y install texlive-pst-pdf

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

sudo dnf -y install texlive-pst-pdf

How To Uninstall texlive-pst-pdf on CentOS 7

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

sudo dnf remove texlive-pst-pdf

References

Summary

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