How To Install texlive-prettyref on Fedora 36
Introduction
In this tutorial we learn how to install texlive-prettyref
on Fedora 36.
What is texlive-prettyref
Prettyref provides a command \newrefformat, which specifies the way in which a reference is typeset, according to a label “identification”. The identification is set in the \label command, by using prefixed label names; so instead of \label{mysection}, one uses \label{sec prettyref interprets the “sec with hyperref and with other packages.
We can use yum
or dnf
to install texlive-prettyref
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-prettyref.
Install texlive-prettyref 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-prettyref
using dnf
by running the following command:
sudo dnf -y install texlive-prettyref
Install texlive-prettyref 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-prettyref
using yum
by running the following command:
sudo yum -y install texlive-prettyref
How To Uninstall texlive-prettyref on Fedora 36
To uninstall only the texlive-prettyref
package we can use the following command:
sudo dnf remove texlive-prettyref
texlive-prettyref Package Contents on Fedora 36
/usr/share/licenses/texlive-prettyref
/usr/share/licenses/texlive-prettyref/pd.txt
/usr/share/texlive/texmf-dist/tex/latex/prettyref
/usr/share/texlive/texmf-dist/tex/latex/prettyref/prettyref.sty
References
Summary
In this tutorial we learn how to install texlive-prettyref
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).