How To Install texlive-pstricks on CentOS 7
Introduction
In this tutorial we learn how to install texlive-pstricks
on CentOS 7.
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. date
We can use yum
or dnf
to install texlive-pstricks
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-pstricks.
Install texlive-pstricks 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-pstricks
using yum
by running the following command:
sudo yum -y install texlive-pstricks
Install texlive-pstricks 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-pstricks
using dnf
by running the following command:
sudo dnf -y install texlive-pstricks
How To Uninstall texlive-pstricks on CentOS 7
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 CentOS 7 using yum
and dnf
.