How To Install texlive-colordoc on Fedora 36
Introduction
In this tutorial we learn how to install texlive-colordoc
on Fedora 36.
What is texlive-colordoc
The package is used in documentation files (that use the doc package); with it the code listings will highlight (for example) pairs of curly braces with matching colors. Other delimiters like \if … \fi, are highlighted, as are the names of new commands. All this makes code a little more readable, and helps during process of writing. Three options are provided, including a non-color option designed for printing (which numbers delimiters and underlines new commands).
We can use yum
or dnf
to install texlive-colordoc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-colordoc.
Install texlive-colordoc 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-colordoc
using dnf
by running the following command:
sudo dnf -y install texlive-colordoc
Install texlive-colordoc 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-colordoc
using yum
by running the following command:
sudo yum -y install texlive-colordoc
How To Uninstall texlive-colordoc on Fedora 36
To uninstall only the texlive-colordoc
package we can use the following command:
sudo dnf remove texlive-colordoc
texlive-colordoc Package Contents on Fedora 36
/usr/share/licenses/texlive-colordoc
/usr/share/licenses/texlive-colordoc/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/colordoc
/usr/share/texlive/texmf-dist/tex/latex/colordoc/colordoc.sty
References
Summary
In this tutorial we learn how to install texlive-colordoc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).