How To Install texlive-mathcommand on Fedora 36

In this tutorial we learn how to install texlive-mathcommand in Fedora 36. texlive-mathcommand is \newcommand-like commands for defining math macros

Introduction

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

What is texlive-mathcommand

This package provides functionalities for defining macros that have different behaviors depending on whether in math or text mode, that absorb Primes, Indices and Exponents (PIE) as extra parameters usable in the code; and it offers some iteration facilities for defining macros with similar code. The primary objective of this package is to be used together with the knowledge package for a proper handling of mathematical notations.

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

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

sudo dnf -y install texlive-mathcommand

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

sudo yum -y install texlive-mathcommand

How To Uninstall texlive-mathcommand on Fedora 36

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

sudo dnf remove texlive-mathcommand

texlive-mathcommand Package Contents on Fedora 36

/usr/share/licenses/texlive-mathcommand
/usr/share/licenses/texlive-mathcommand/lppl.txt
/usr/share/texlive/texmf-dist/doc/latex/mathcommand
/usr/share/texlive/texmf-dist/doc/latex/mathcommand/README.md
/usr/share/texlive/texmf-dist/doc/latex/mathcommand/makefile
/usr/share/texlive/texmf-dist/doc/latex/mathcommand/mathcommand.pdf
/usr/share/texlive/texmf-dist/tex/latex/mathcommand
/usr/share/texlive/texmf-dist/tex/latex/mathcommand/mathcommand.sty

References

Summary

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