How To Install texlive-lcg on Fedora 36
Introduction
In this tutorial we learn how to install texlive-lcg
on Fedora 36.
What is texlive-lcg
The lcg package generates random numbers (integers) via a linear congruential generator (Schrage’s method). The random numbers are written to a counter. The keyval package is used for the user to provide values for the range and a seed, and for the name of the counter to be used.
We can use yum
or dnf
to install texlive-lcg
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-lcg.
Install texlive-lcg 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-lcg
using dnf
by running the following command:
sudo dnf -y install texlive-lcg
Install texlive-lcg 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-lcg
using yum
by running the following command:
sudo yum -y install texlive-lcg
How To Uninstall texlive-lcg on Fedora 36
To uninstall only the texlive-lcg
package we can use the following command:
sudo dnf remove texlive-lcg
texlive-lcg Package Contents on Fedora 36
/usr/share/licenses/texlive-lcg
/usr/share/licenses/texlive-lcg/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/lcg
/usr/share/texlive/texmf-dist/tex/latex/lcg/lcg.sty
References
Summary
In this tutorial we learn how to install texlive-lcg
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).