How To Install texlive-listingsutf8 on Fedora 36

In this tutorial we learn how to install texlive-listingsutf8 in Fedora 36. texlive-listingsutf8 is Allow UTF-8 in listings input

Introduction

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

What is texlive-listingsutf8

Package listings does not support files with multi-byte encodings such as UTF-8. In the case of \lstinputlisting, a simple workaround is possible if a one-byte encoding exists that the file can be converted to. The package requires the e-TeX extensions under pdfTeX (in either PDF or DVI output mode).

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

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

sudo dnf -y install texlive-listingsutf8

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

sudo yum -y install texlive-listingsutf8

How To Uninstall texlive-listingsutf8 on Fedora 36

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

sudo dnf remove texlive-listingsutf8

texlive-listingsutf8 Package Contents on Fedora 36

/usr/share/licenses/texlive-listingsutf8
/usr/share/licenses/texlive-listingsutf8/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/listingsutf8
/usr/share/texlive/texmf-dist/doc/latex/listingsutf8/README.md
/usr/share/texlive/texmf-dist/doc/latex/listingsutf8/listingsutf8.pdf
/usr/share/texlive/texmf-dist/tex/latex/listingsutf8
/usr/share/texlive/texmf-dist/tex/latex/listingsutf8/listingsutf8.sty

References

Summary

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