How To Install texlive-datetime2 on Fedora 36
Introduction
In this tutorial we learn how to install texlive-datetime2
on Fedora 36.
What is texlive-datetime2
This package provides commands for formatting dates, times and time zones and redefines \today to use the same formatting style. In addition to \today, you can also use \DTMcurrenttime (current time) or \DTMnow (current date and time). Dates and times can be saved for later use. The accompanying datetime2- calc package can be used to convert date-times to UTC+00 Language and regional support is provided by independently maintained and installed modules. The datetime2-calc package uses the pgfcalendar package (part of the PGF/TikZ bundle). This package replaces datetime.sty which is now obsolete.
We can use yum
or dnf
to install texlive-datetime2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-datetime2.
Install texlive-datetime2 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-datetime2
using dnf
by running the following command:
sudo dnf -y install texlive-datetime2
Install texlive-datetime2 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-datetime2
using yum
by running the following command:
sudo yum -y install texlive-datetime2
How To Uninstall texlive-datetime2 on Fedora 36
To uninstall only the texlive-datetime2
package we can use the following command:
sudo dnf remove texlive-datetime2
texlive-datetime2 Package Contents on Fedora 36
/usr/share/licenses/texlive-datetime2
/usr/share/licenses/texlive-datetime2/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/datetime2
/usr/share/texlive/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
/usr/share/texlive/texmf-dist/tex/latex/datetime2/datetime2.sty
References
Summary
In this tutorial we learn how to install texlive-datetime2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).