How To Install texlive-excludeonly on Fedora 36
Introduction
In this tutorial we learn how to install texlive-excludeonly
on Fedora 36.
What is texlive-excludeonly
The package defines an \excludeonly command, which is (in effect) the opposite of \includeonly. If both \includeonly and \excludeonly exist in a document, only files “allowed” by both will be included. The package redefines the internal @include command, so it conflicts with packages that do the same. Examples are the classes paper.cls and thesis.cls.
We can use yum
or dnf
to install texlive-excludeonly
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-excludeonly.
Install texlive-excludeonly 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-excludeonly
using dnf
by running the following command:
sudo dnf -y install texlive-excludeonly
Install texlive-excludeonly 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-excludeonly
using yum
by running the following command:
sudo yum -y install texlive-excludeonly
How To Uninstall texlive-excludeonly on Fedora 36
To uninstall only the texlive-excludeonly
package we can use the following command:
sudo dnf remove texlive-excludeonly
texlive-excludeonly Package Contents on Fedora 36
/usr/share/licenses/texlive-excludeonly
/usr/share/licenses/texlive-excludeonly/pd.txt
/usr/share/texlive/texmf-dist/tex/latex/excludeonly
/usr/share/texlive/texmf-dist/tex/latex/excludeonly/excludeonly.sty
References
Summary
In this tutorial we learn how to install texlive-excludeonly
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).