How To Install texlive-texments on Fedora 36
Introduction
In this tutorial we learn how to install texlive-texments
on Fedora 36.
What is texlive-texments
A package which allows to use the Pygments highlighter inside LaTeX documents. Pygments supports syntax colouring of over 50 types of files, and ships with multiple colour schemes.
We can use yum
or dnf
to install texlive-texments
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-texments.
Install texlive-texments 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-texments
using dnf
by running the following command:
sudo dnf -y install texlive-texments
Install texlive-texments 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-texments
using yum
by running the following command:
sudo yum -y install texlive-texments
How To Uninstall texlive-texments on Fedora 36
To uninstall only the texlive-texments
package we can use the following command:
sudo dnf remove texlive-texments
texlive-texments Package Contents on Fedora 36
/usr/share/licenses/texlive-texments
/usr/share/licenses/texlive-texments/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/texments
/usr/share/texlive/texmf-dist/tex/latex/texments/texments.sty
References
Summary
In this tutorial we learn how to install texlive-texments
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).