How To Install texlive-nth on Fedora 36
Introduction
In this tutorial we learn how to install texlive-nth
on Fedora 36.
What is texlive-nth
The command \nth{
} generates English ordinal numbers of the form 1st, 2nd, 3rd, 4th, etc. LaTeX package options may specify that the ordinal mark be superscripted, and that negative numbers may be treated; Plain TeX users have no access to package options, so need to redefine macros for these changes.
We can use yum
or dnf
to install texlive-nth
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-nth.
Install texlive-nth 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-nth
using dnf
by running the following command:
sudo dnf -y install texlive-nth
Install texlive-nth 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-nth
using yum
by running the following command:
sudo yum -y install texlive-nth
How To Uninstall texlive-nth on Fedora 36
To uninstall only the texlive-nth
package we can use the following command:
sudo dnf remove texlive-nth
texlive-nth Package Contents on Fedora 36
/usr/share/licenses/texlive-nth
/usr/share/licenses/texlive-nth/pd.txt
/usr/share/texlive/texmf-dist/tex/generic/nth
/usr/share/texlive/texmf-dist/tex/generic/nth/nth.sty
References
Summary
In this tutorial we learn how to install texlive-nth
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).