How To Install texlive-xepersian on CentOS 8

texlive-xepersian is Persian for LaTeX, using XeTeX

Introduction

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

What is texlive-xepersian

The package supports Persian typesetting, using the Persian Modern fonts, by default.

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

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

sudo dnf -y install texlive-xepersian

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

sudo yum -y install texlive-xepersian

How To Uninstall texlive-xepersian on CentOS 8

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

sudo dnf remove texlive-xepersian

texlive-xepersian Package Contents on CentOS 8

/usr/share/licenses/texlive-xepersian
/usr/share/licenses/texlive-xepersian/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/README
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/dkun-0.3.py
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/dkun-0.4.py
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/ftxe-0.12.py
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/img
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/img/ireland.jpg
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/img/weather
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/img/weather/clouds.jpg
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/img/weather/rain.jpg
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/img/weather/sun.jpg
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/test-correction.tex
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/test-question-only.tex
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/undk-0.6.py
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/unldk-0.2.py
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/xepersian-logo.pdf
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/xepersian-logo.tex
/usr/share/texlive/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/xepersian
/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.tec
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian.sty

References

Summary

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