How To Install texlive-version on Fedora 36

In this tutorial we learn how to install texlive-version in Fedora 36. texlive-version is Conditionally include text

Introduction

In this tutorial we learn how to install texlive-version on Fedora 36.

What is texlive-version

Defines macros \includeversion{NAME} and \excludeversion{NAME}, each of which defines an environment NAME whose text is to be included or excluded from compilation. Although the command syntax is very similar to that of comment, comment.sty is to be preferred to version.sty for documents where significant chunks of text may be excluded.

We can use yum or dnf to install texlive-version on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-version.

Install texlive-version 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-version using dnf by running the following command:

sudo dnf -y install texlive-version

Install texlive-version 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-version using yum by running the following command:

sudo yum -y install texlive-version

How To Uninstall texlive-version on Fedora 36

To uninstall only the texlive-version package we can use the following command:

sudo dnf remove texlive-version

texlive-version Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/tex/latex/version
/usr/share/texlive/texmf-dist/tex/latex/version/version.sty

References

Summary

In this tutorial we learn how to install texlive-version on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).