How To Install texlive-xcomment on Fedora 36
Introduction
In this tutorial we learn how to install texlive-xcomment
on Fedora 36.
What is texlive-xcomment
The package defines an environment that only typesets specified environments within its scope. So, for example, if you want nothing but the figure and table environments in your document, you can enclose the whole document with an xcomment environment that excludes everything but. This is a lot easier than excluding the chunks of text between the environments you want, or creating an entire document containing only those environments. The package was previously part of the seminar bundle for typesetting presentations.
We can use yum
or dnf
to install texlive-xcomment
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-xcomment.
Install texlive-xcomment 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-xcomment
using dnf
by running the following command:
sudo dnf -y install texlive-xcomment
Install texlive-xcomment 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-xcomment
using yum
by running the following command:
sudo yum -y install texlive-xcomment
How To Uninstall texlive-xcomment on Fedora 36
To uninstall only the texlive-xcomment
package we can use the following command:
sudo dnf remove texlive-xcomment
texlive-xcomment Package Contents on Fedora 36
/usr/share/licenses/texlive-xcomment
/usr/share/licenses/texlive-xcomment/lppl1.txt
/usr/share/texlive/texmf-dist/tex/generic/xcomment
/usr/share/texlive/texmf-dist/tex/generic/xcomment/xcomment.sty
/usr/share/texlive/texmf-dist/tex/generic/xcomment/xcomment.tex
References
Summary
In this tutorial we learn how to install texlive-xcomment
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).