How To Install texlive-pstricks on AlmaLinux 8

In this tutorial we learn how to install texlive-pstricks in AlmaLinux 8. texlive-pstricks is PostScript macros for TeX

Introduction

In this tutorial we learn how to install texlive-pstricks on AlmaLinux 8.

What is texlive-pstricks

An extensive collection of macros for generating PostScript that is usable with most TeX macro formats, including Plain TeX, LaTeX, AMS-TeX, and AMS-LaTeX. Included are macros for colour, graphics, pie charts, rotation, trees and overlays. It has many special features, including a wide variety of graphics (picture drawing) macros, with a flexible interface and with colour support. There are macros for colouring or shading the cells of tables. The package pstricks-add contains bug-fixes and additions for pstricks (among other things). PSTricks uses PostScript \special commands, which are not supported by PDF(La)TeX. This limitation may be overcome by using either the pst-pdf or the pdftricks package, to generate a PDF inclusion from a PSTricks diagram.

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

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

sudo dnf -y install texlive-pstricks

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

sudo yum -y install texlive-pstricks

How To Uninstall texlive-pstricks on AlmaLinux 8

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

sudo dnf remove texlive-pstricks

References

Summary

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