How To Install texlive-codesection on Fedora 36
Introduction
In this tutorial we learn how to install texlive-codesection
on Fedora 36.
What is texlive-codesection
This package provides an environment to switch a section of code on or off. The code may be placed anywhere in the file (it is not limited to the document or the preamble). The motivation for this package was to have commands which allow preselection based on whether sections of code in a preamble of a template are executed.
We can use yum
or dnf
to install texlive-codesection
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-codesection.
Install texlive-codesection 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-codesection
using dnf
by running the following command:
sudo dnf -y install texlive-codesection
Install texlive-codesection 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-codesection
using yum
by running the following command:
sudo yum -y install texlive-codesection
How To Uninstall texlive-codesection on Fedora 36
To uninstall only the texlive-codesection
package we can use the following command:
sudo dnf remove texlive-codesection
texlive-codesection Package Contents on Fedora 36
/usr/share/licenses/texlive-codesection
/usr/share/licenses/texlive-codesection/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/codesection
/usr/share/texlive/texmf-dist/tex/latex/codesection/codesection.sty
References
Summary
In this tutorial we learn how to install texlive-codesection
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).