How To Install texlive-example on Fedora 36

In this tutorial we learn how to install texlive-example in Fedora 36. texlive-example is Typeset examples for TeX courses

Introduction

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

What is texlive-example

The package makes it easier to produce examples for TeX course. It provides an example environment, which typesets its contents on the left of the page, and prints it verbatim on the right.

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

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

sudo dnf -y install texlive-example

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

sudo yum -y install texlive-example

How To Uninstall texlive-example on Fedora 36

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

sudo dnf remove texlive-example

texlive-example Package Contents on Fedora 36

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

References

Summary

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