How To Install texlive-doi on Fedora 36

In this tutorial we learn how to install texlive-doi in Fedora 36. texlive-doi is Create correct hyperlinks for DOI numbers

Introduction

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

What is texlive-doi

You can hyperlink DOI numbers to dx.doi.org. However, some publishers have elected to use nasty characters in their DOI numbering scheme (’<’, ‘>’, ‘_’ and ‘;’ have all been spotted). This will either upset (La)TeX, or your PDF reader. This package contains a single user-level command \doi{}, which takes a DOI number, and creates a correct hyperlink to the target of the DOI.

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

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

sudo dnf -y install texlive-doi

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

sudo yum -y install texlive-doi

How To Uninstall texlive-doi on Fedora 36

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

sudo dnf remove texlive-doi

texlive-doi Package Contents on Fedora 36

/usr/share/licenses/texlive-doi
/usr/share/licenses/texlive-doi/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/doi
/usr/share/texlive/texmf-dist/tex/latex/doi/doi.sty

References

Summary

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