How To Install texlive-codedoc on Fedora 36
Introduction
In this tutorial we learn how to install texlive-codedoc
on Fedora 36.
What is texlive-codedoc
The CodeDoc class is an alternative to DocStrip (and others) to produce LaTeX code along with its documentation without departing from LaTeX’s ordinary syntax. The documentation is prepared like any other LaTeX document and the code to be commented verbatim is simply delimited by an environment. When an option is turned on in the class options, this code is written to the desired file(s). The class also includes fully customizable verbatim environments which provide the author with separate commands to typeset the material and/or to execute it.
We can use yum
or dnf
to install texlive-codedoc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-codedoc.
Install texlive-codedoc 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-codedoc
using dnf
by running the following command:
sudo dnf -y install texlive-codedoc
Install texlive-codedoc 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-codedoc
using yum
by running the following command:
sudo yum -y install texlive-codedoc
How To Uninstall texlive-codedoc on Fedora 36
To uninstall only the texlive-codedoc
package we can use the following command:
sudo dnf remove texlive-codedoc
texlive-codedoc Package Contents on Fedora 36
/usr/share/licenses/texlive-codedoc
/usr/share/licenses/texlive-codedoc/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/codedoc
/usr/share/texlive/texmf-dist/tex/latex/codedoc/codedoc.cls
References
Summary
In this tutorial we learn how to install texlive-codedoc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).