How To Install texlive-t2 on CentOS 8

texlive-t2 is Support for using T2 encoding

Introduction

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

What is texlive-t2

The T2 bundle provides a variety of separate support functions, for using Cyrillic characters in LaTeX for using Cyrillic letters ’transparently’ in formulae - the citehack package, for using Cyrillic (or indeed any non-ascii) characters in citation keys; - support for Cyrillic in BibTeX; - support for Cyrillic in Makeindex; and - various items of font support.

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

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

sudo dnf -y install texlive-t2

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

sudo yum -y install texlive-t2

How To Uninstall texlive-t2 on CentOS 8

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

sudo dnf remove texlive-t2

texlive-t2 Package Contents on CentOS 8

/usr/share/licenses/texlive-t2
/usr/share/licenses/texlive-t2/lppl1.txt
/usr/share/texlive/texmf-dist/doc/generic/t2
/usr/share/texlive/texmf-dist/doc/generic/t2/Makefile
/usr/share/texlive/texmf-dist/doc/generic/t2/OT2uni.map
/usr/share/texlive/texmf-dist/doc/generic/t2/README
/usr/share/texlive/texmf-dist/doc/generic/t2/T2Auni.map
/usr/share/texlive/texmf-dist/doc/generic/t2/T2Buni.map
/usr/share/texlive/texmf-dist/doc/generic/t2/T2Cuni.map
/usr/share/texlive/texmf-dist/doc/generic/t2/X2uni.map
/usr/share/texlive/texmf-dist/doc/generic/t2/amscyr.txt
/usr/share/texlive/texmf-dist/doc/generic/t2/broken1.txt
/usr/share/texlive/texmf-dist/doc/generic/t2/broken2.txt
/usr/share/texlive/texmf-dist/doc/generic/t2/cyrcset7.txt
/usr/share/texlive/texmf-dist/doc/generic/t2/cyrcset8.txt
/usr/share/texlive/texmf-dist/doc/generic/t2/cyrcsets.ind
/usr/share/texlive/texmf-dist/doc/generic/t2/etc
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/amsppt.diff
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/mathtext.dtx
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/mathtext.ins
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rubibtex
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rubibtex/README
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex.bat
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex.old
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rubibtex/rubibtex.sed
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/ruinpenc
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rumkidx
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rumkidx/README
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rumkidx/rumakeindex
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rumkidx/rumkidx1.sed
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rumkidx/rumkidx2.sed
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rumkidx/rumkidx3.sed
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rumkidx/rumkidxd.bat
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/rumkidx/rumkidxw.bat
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/t2filter.c
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/utf-8
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/utf-8/test-utf8.tex
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/utf-8/utf-8.def
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/utf-8/utfcyr.def
/usr/share/texlive/texmf-dist/doc/generic/t2/etc/utf-8/utflat.def
/usr/share/texlive/texmf-dist/doc/generic/t2/examples
/usr/share/texlive/texmf-dist/doc/generic/t2/examples/example1.tex
/usr/share/texlive/texmf-dist/doc/generic/t2/examples/example2.tex
/usr/share/texlive/texmf-dist/doc/generic/t2/examples/example3.tex
/usr/share/texlive/texmf-dist/doc/generic/t2/examples/example4.tex
/usr/share/texlive/texmf-dist/doc/generic/t2/examples/example5.tex
/usr/share/texlive/texmf-dist/doc/generic/t2/make-enc.pl
/usr/share/texlive/texmf-dist/doc/generic/t2/mkencs.sh
/usr/share/texlive/texmf-dist/doc/generic/t2/mtcyr.txt
/usr/share/texlive/texmf-dist/doc/generic/t2/t2cyr.txt
/usr/share/texlive/texmf-dist/doc/generic/t2/t2lat.txt
/usr/share/texlive/texmf-dist/doc/generic/t2/urwcyr.txt
/usr/share/texlive/texmf-dist/fonts/enc/t2
/usr/share/texlive/texmf-dist/fonts/enc/t2/t2a-mod1.enc
/usr/share/texlive/texmf-dist/fonts/enc/t2/t2a-mod2.enc
/usr/share/texlive/texmf-dist/fonts/enc/t2/t2a.enc
/usr/share/texlive/texmf-dist/fonts/enc/t2/t2b.enc
/usr/share/texlive/texmf-dist/fonts/enc/t2/t2c.enc
/usr/share/texlive/texmf-dist/fonts/enc/t2/x2.enc
/usr/share/texlive/texmf-dist/tex/generic/t2
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/6r.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/README
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/cyrillic.mtx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcyc.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcyci.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcycij.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcycj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcyctt.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcyi.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcyij.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcyitt.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcyj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/lcytt.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/ot2c.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/ot2cj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/ot2i.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/ot2ij.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/ot2j.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2ac.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2acj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2ai.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2aij.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2aj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2bc.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2bcj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2bi.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2bij.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2bj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2cc.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2ccj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2ci.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2cij.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/t2cj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/x2c.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/x2cj.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/x2i.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/x2ij.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/derivatives/x2j.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/etc
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/etc/alias-cmc.tex
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/etc/alias-wncy.tex
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/etc/cyralias.tex
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/etc/fnstcorr.tex
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/etc/showenc
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/lcy-hi.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/lcy.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/ot2.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/t2a.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/t2b.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/t2c.etx
/usr/share/texlive/texmf-dist/tex/generic/t2/cyrfinst/x2.etx
/usr/share/texlive/texmf-dist/tex/latex/t2
/usr/share/texlive/texmf-dist/tex/latex/t2/citehack.sty
/usr/share/texlive/texmf-dist/tex/latex/t2/mathtext.sty
/usr/share/texlive/texmf-dist/tex/latex/t2/misccorr.sty

References

Summary

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