How To Install texlive-smartref on Fedora 36
Introduction
In this tutorial we learn how to install texlive-smartref
on Fedora 36.
What is texlive-smartref
The package extends the LaTeX labelling system label is set, the values of counters (selected by the user) are recorded, along with the label. The value of these counters can be recalled with a command similar to \pageref. The package also adds commands \s[name]ref (for each counter [name] that the user has selected); these commands display something only if the value of the [name] counter is changed from when the label was set. Many commands are provided to serve as a macro programming environment for using the extended labels.
We can use yum
or dnf
to install texlive-smartref
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-smartref.
Install texlive-smartref 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-smartref
using dnf
by running the following command:
sudo dnf -y install texlive-smartref
Install texlive-smartref 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-smartref
using yum
by running the following command:
sudo yum -y install texlive-smartref
How To Uninstall texlive-smartref on Fedora 36
To uninstall only the texlive-smartref
package we can use the following command:
sudo dnf remove texlive-smartref
texlive-smartref Package Contents on Fedora 36
/usr/share/licenses/texlive-smartref
/usr/share/licenses/texlive-smartref/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/smartref
/usr/share/texlive/texmf-dist/tex/latex/smartref/byname.sty
/usr/share/texlive/texmf-dist/tex/latex/smartref/smartref.sty
References
Summary
In this tutorial we learn how to install texlive-smartref
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).