How To Install texlive-har2nat on Fedora 36

In this tutorial we learn how to install texlive-har2nat in Fedora 36. texlive-har2nat is Replace the harvard package with natbib

Introduction

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

What is texlive-har2nat

This small package allows a LaTeX document containing the citation commands provided by the Harvard package to be compiled using the natbib package. Migration from harvard to natbib thus can be achieved simply by replacing \usepackage{harvard} with \usepackage{natbib} \usepackage{har2nat} It is important that har2nat be loaded after natbib, since it modifies natbib commands.

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

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

sudo dnf -y install texlive-har2nat

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

sudo yum -y install texlive-har2nat

How To Uninstall texlive-har2nat on Fedora 36

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

sudo dnf remove texlive-har2nat

texlive-har2nat Package Contents on Fedora 36

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

References

Summary

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