How To Install texlive-longdivision on Fedora 36

In this tutorial we learn how to install texlive-longdivision in Fedora 36. texlive-longdivision is Long division arithmetic problems

Introduction

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

What is texlive-longdivision

This package solves long division problems and typesets the solutions. The dividend must be a positive decimal number and the divisor must be a positive integer. Repeating decimals is handled correctly, putting a bar over the repeated part of the decimal. Dividends up to 20 digits long are handled gracefully (though the typeset result will take up about a page), and dividends between 20 and 60 digits long slightly less gracefully. The package defines two macros, \longdivision and \intlongdivision. Each takes two arguments, a dividend and a divisor. \longdivision keeps dividing until the remainder is zero, or it encounters a repeated remainder. \intlongdivision stops when the dividend stops (though the dividend doesn’t have to be an integer). This package depends on the xparse package from the l3packages bundle.

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

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

sudo dnf -y install texlive-longdivision

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

sudo yum -y install texlive-longdivision

How To Uninstall texlive-longdivision on Fedora 36

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

sudo dnf remove texlive-longdivision

texlive-longdivision Package Contents on Fedora 36

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

References

Summary

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