How To Install texlive-tex-locale on Fedora 36

In this tutorial we learn how to install texlive-tex-locale in Fedora 36. texlive-tex-locale is Localisation support for TeX and LaTeX documents

Introduction

In this tutorial we learn how to install texlive-tex-locale on Fedora 36.

What is texlive-tex-locale

This package uses both tracklang and texosquery to look up the locale information from the operating system and provide commands that can access locale-dependent information, such as the currency symbol and decimal separator. The file tex-locale.tex provides generic TeX code. The LaTeX package tex-locale.sty can additionally load babel or polyglossia with the locale’s language setting, as well as various other packages such as fontspec (XeLaTeX/LuaLaTeX) or fontenc + inputenc (pdfLaTeX).

We can use yum or dnf to install texlive-tex-locale on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-tex-locale.

Install texlive-tex-locale on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install texlive-tex-locale using dnf by running the following command:

sudo dnf -y install texlive-tex-locale

Install texlive-tex-locale on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install texlive-tex-locale using yum by running the following command:

sudo yum -y install texlive-tex-locale

How To Uninstall texlive-tex-locale on Fedora 36

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

sudo dnf remove texlive-tex-locale

texlive-tex-locale Package Contents on Fedora 36

/usr/share/licenses/texlive-tex-locale
/usr/share/licenses/texlive-tex-locale/lppl.txt
/usr/share/texlive/texmf-dist/doc/generic/tex-locale
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/CHANGES
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/README
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale-xe.pdf
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale-xe.tex
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale-xeltx.pdf
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale-xeltx.tex
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale-xeltx2.pdf
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale-xeltx2.tex
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale-xeltx3.pdf
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale-xeltx3.tex
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale.pdf
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale.tex
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale2.pdf
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/samples/sample-locale2.tex
/usr/share/texlive/texmf-dist/doc/generic/tex-locale/tex-locale.pdf
/usr/share/texlive/texmf-dist/tex/generic/tex-locale
/usr/share/texlive/texmf-dist/tex/generic/tex-locale/tex-locale.tex
/usr/share/texlive/texmf-dist/tex/latex/tex-locale
/usr/share/texlive/texmf-dist/tex/latex/tex-locale/tex-locale-encodings.def
/usr/share/texlive/texmf-dist/tex/latex/tex-locale/tex-locale-scripts-enc.def
/usr/share/texlive/texmf-dist/tex/latex/tex-locale/tex-locale-support.def
/usr/share/texlive/texmf-dist/tex/latex/tex-locale/tex-locale.sty

References

Summary

In this tutorial we learn how to install texlive-tex-locale on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).