How To Install texlive-exercise on Fedora 36

In this tutorial we learn how to install texlive-exercise in Fedora 36. texlive-exercise is Typeset exercises, problems, etc. and their answers

Introduction

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

What is texlive-exercise

The package helps to typeset exercises or list of exercises within any document. Exercises, questions and sub-questions are automatically numbered. It is possible to put answers in the same document, and display them immediatly, later in the document or not to print answers at all. The layout of exercises is fully customisable. It is possible to typeset long problems, short exercises, questionnaires, etc. Usage of the babel package is detected, but not fully supported yet (only English and French are implemented).

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

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

sudo dnf -y install texlive-exercise

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

sudo yum -y install texlive-exercise

How To Uninstall texlive-exercise on Fedora 36

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

sudo dnf remove texlive-exercise

texlive-exercise Package Contents on Fedora 36

/usr/share/licenses/texlive-exercise
/usr/share/licenses/texlive-exercise/gpl2.txt
/usr/share/texlive/texmf-dist/tex/latex/exercise
/usr/share/texlive/texmf-dist/tex/latex/exercise/exercise.sty

References

Summary

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