How To Install texlive-mparhack on Fedora 36

In this tutorial we learn how to install texlive-mparhack in Fedora 36. texlive-mparhack is Work around a LaTeX bug in marginpars

Introduction

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

What is texlive-mparhack

Works around the LaTeX bug that marginpars will sometimes come out at the wrong margin.

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

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

sudo dnf -y install texlive-mparhack

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

sudo yum -y install texlive-mparhack

How To Uninstall texlive-mparhack on Fedora 36

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

sudo dnf remove texlive-mparhack

texlive-mparhack Package Contents on Fedora 36

/usr/share/licenses/texlive-mparhack
/usr/share/licenses/texlive-mparhack/gpl.txt
/usr/share/texlive/texmf-dist/tex/latex/mparhack
/usr/share/texlive/texmf-dist/tex/latex/mparhack/mparhack.sty

References

Summary

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