How To Install texlive-namespc on Fedora 36

In this tutorial we learn how to install texlive-namespc in Fedora 36. texlive-namespc is Rudimentary C++-like namespaces in LaTeX

Introduction

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

What is texlive-namespc

The namespc package adds rudimentary C++-like namespace functionality to LaTeX. It may be used to declare local LaTeX commands, which can be made accessible in a later contexts without defining them globally.

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

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

sudo dnf -y install texlive-namespc

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

sudo yum -y install texlive-namespc

How To Uninstall texlive-namespc on Fedora 36

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

sudo dnf remove texlive-namespc

texlive-namespc Package Contents on Fedora 36

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

References

Summary

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