How To Install texlive-pstricks on CentOS 8
Introduction
In this tutorial we learn how to install texlive-pstricks
on CentOS 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 CentOS 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 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-pstricks
using dnf
by running the following command:
sudo dnf -y install texlive-pstricks
Install texlive-pstricks 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-pstricks
using yum
by running the following command:
sudo yum -y install texlive-pstricks
How To Uninstall texlive-pstricks on CentOS 8
To uninstall only the texlive-pstricks
package we can use the following command:
sudo dnf remove texlive-pstricks
texlive-pstricks Package Contents on CentOS 8
/usr/share/licenses/texlive-pstricks
/usr/share/licenses/texlive-pstricks/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/generic/pstricks
/usr/share/texlive/texmf-dist/doc/generic/pstricks/PSTricks.bib
/usr/share/texlive/texmf-dist/doc/generic/pstricks/README
/usr/share/texlive/texmf-dist/doc/generic/pstricks/ctandir.sty
/usr/share/texlive/texmf-dist/doc/generic/pstricks/images
/usr/share/texlive/texmf-dist/doc/generic/pstricks/images/flowers.eps
/usr/share/texlive/texmf-dist/doc/generic/pstricks/images/tiger.eps
/usr/share/texlive/texmf-dist/doc/generic/pstricks/images/tiger.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-doc.bst
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-doc.ist
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-doc.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news.sty
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news05.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news05.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news06.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news06.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news08.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news08.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news09.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news09.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news10.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news10.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news11.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news11.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news12.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news12.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news13.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news13.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news14.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news14.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news15.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news15.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news16.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news16.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news17.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-news17.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-user.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pst-user.tgz
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pstricks-bug.tex
/usr/share/texlive/texmf-dist/doc/generic/pstricks/pstricks-doc.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/test-pst.pdf
/usr/share/texlive/texmf-dist/doc/generic/pstricks/test-pst.tex
/usr/share/texlive/texmf-dist/dvips/pstricks
/usr/share/texlive/texmf-dist/dvips/pstricks/pst-algparser.pro
/usr/share/texlive/texmf-dist/dvips/pstricks/pst-dots.pro
/usr/share/texlive/texmf-dist/dvips/pstricks/pst-dots97.pro
/usr/share/texlive/texmf-dist/dvips/pstricks/pstricks-fonts-lm.pro
/usr/share/texlive/texmf-dist/dvips/pstricks/pstricks-fonts-ps.pro
/usr/share/texlive/texmf-dist/dvips/pstricks/pstricks-fonts-urw.pro
/usr/share/texlive/texmf-dist/dvips/pstricks/pstricks-fonts.pro
/usr/share/texlive/texmf-dist/dvips/pstricks/pstricks.pro
/usr/share/texlive/texmf-dist/dvips/pstricks/pstricks97.pro
/usr/share/texlive/texmf-dist/tex/generic/pstricks
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/README.cfg
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/distiller.cfg
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/dvips.cfg
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/dvipsone.cfg
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/gastex.cfg
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/textures.cfg
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/vtex.cfg
/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.cfg
/usr/share/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
/usr/share/texlive/texmf-dist/tex/generic/pstricks/pst-key.tex
/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks-tex.def
/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.con
/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks97.tex
/usr/share/texlive/texmf-dist/tex/latex/pstricks
/usr/share/texlive/texmf-dist/tex/latex/pstricks/pst-all.sty
/usr/share/texlive/texmf-dist/tex/latex/pstricks/pst-doc.cls
/usr/share/texlive/texmf-dist/tex/latex/pstricks/pst-key.sty
/usr/share/texlive/texmf-dist/tex/latex/pstricks/pstcol.sty
/usr/share/texlive/texmf-dist/tex/latex/pstricks/pstricks.sty
References
Summary
In this tutorial we learn how to install texlive-pstricks
on CentOS 8 using yum and dnf.