How To Install texlive-nolbreaks on Fedora 36

In this tutorial we learn how to install texlive-nolbreaks in Fedora 36. texlive-nolbreaks is No line breaks in text

Introduction

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

What is texlive-nolbreaks

Use \nolbreaks{some text} to prevent line breaks in “some text”. This has the advantage over \mbox{} that glue (rubber space) remains flexible. Most common cases are handled here (\linebreak is disabled, for example) but spaces hidden in macros or { } can still create break-points.

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

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

sudo dnf -y install texlive-nolbreaks

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

sudo yum -y install texlive-nolbreaks

How To Uninstall texlive-nolbreaks on Fedora 36

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

sudo dnf remove texlive-nolbreaks

texlive-nolbreaks Package Contents on Fedora 36

/usr/share/licenses/texlive-nolbreaks
/usr/share/licenses/texlive-nolbreaks/pd.txt
/usr/share/texlive/texmf-dist/tex/latex/nolbreaks
/usr/share/texlive/texmf-dist/tex/latex/nolbreaks/nolbreaks.sty

References

Summary

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