How To Install texlive-cancel on Fedora 36

In this tutorial we learn how to install texlive-cancel in Fedora 36. texlive-cancel is Place lines through maths formulae

Introduction

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

What is texlive-cancel

A package to draw diagonal lines (“cancelling” a term) and arrows with limits (cancelling a term “to a value”) through parts of maths formulae.

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

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

sudo dnf -y install texlive-cancel

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

sudo yum -y install texlive-cancel

How To Uninstall texlive-cancel on Fedora 36

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

sudo dnf remove texlive-cancel

texlive-cancel Package Contents on Fedora 36

/usr/share/licenses/texlive-cancel
/usr/share/licenses/texlive-cancel/pd.txt
/usr/share/texlive/texmf-dist/tex/latex/cancel
/usr/share/texlive/texmf-dist/tex/latex/cancel/cancel.sty

References

Summary

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