How To Install texlive-complexity on Fedora 36

In this tutorial we learn how to install texlive-complexity in Fedora 36. texlive-complexity is Computational complexity class names

Introduction

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

What is texlive-complexity

Complexity is a LaTeX package that defines commands to typeset Computational Complexity Classes such as $\P$ and $\NP$ (as well as hundreds of others). It also offers several options including which font classes are typeset in and how many are defined (all of them or just the basic, most commonly used ones). The package has no dependencies other than the standard ifthen package.

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

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

sudo dnf -y install texlive-complexity

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

sudo yum -y install texlive-complexity

How To Uninstall texlive-complexity on Fedora 36

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

sudo dnf remove texlive-complexity

texlive-complexity Package Contents on Fedora 36

/usr/share/licenses/texlive-complexity
/usr/share/licenses/texlive-complexity/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/complexity
/usr/share/texlive/texmf-dist/tex/latex/complexity/complexity.sty
/usr/share/texlive/texmf-dist/tex/latex/complexity/mycomplexity.sty

References

Summary

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