How To Install texlive-lstaddons on Fedora 36

In this tutorial we learn how to install texlive-lstaddons in Fedora 36. texlive-lstaddons is Add-on packages for listings

Introduction

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

What is texlive-lstaddons

The bundle contains a small collection of add-on packages for the listings package. Current packages are the background of some or all lines of a listing; and lstautogobble of the first line of the code.

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

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

sudo dnf -y install texlive-lstaddons

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

sudo yum -y install texlive-lstaddons

How To Uninstall texlive-lstaddons on Fedora 36

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

sudo dnf remove texlive-lstaddons

texlive-lstaddons Package Contents on Fedora 36

/usr/share/licenses/texlive-lstaddons
/usr/share/licenses/texlive-lstaddons/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/lstaddons
/usr/share/texlive/texmf-dist/tex/latex/lstaddons/lstautogobble.sty
/usr/share/texlive/texmf-dist/tex/latex/lstaddons/lstlinebgrd.sty

References

Summary

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