How To Install texlive-datetime on CentOS 8

texlive-datetime is Change format of oday with commands for current time

Introduction

In this tutorial we learn how to install texlive-datetime on CentOS 8.

What is texlive-datetime

Provides various different formats for the text created by the command \today, and also provides commands for displaying the current time (or any given time), in 12-hour, 24-hour or text format. The package overrides babel’s date format, having its own library of date formats in different languages. The package requires the fmtcount package.

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

Install texlive-datetime on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install texlive-datetime using dnf by running the following command:

sudo dnf -y install texlive-datetime

Install texlive-datetime on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install texlive-datetime using yum by running the following command:

sudo yum -y install texlive-datetime

How To Uninstall texlive-datetime on CentOS 8

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

sudo dnf remove texlive-datetime

texlive-datetime Package Contents on CentOS 8

/usr/share/licenses/texlive-datetime
/usr/share/licenses/texlive-datetime/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/latex/datetime
/usr/share/texlive/texmf-dist/doc/latex/datetime/CHANGES
/usr/share/texlive/texmf-dist/doc/latex/datetime/README
/usr/share/texlive/texmf-dist/doc/latex/datetime/datetime-manual.css
/usr/share/texlive/texmf-dist/doc/latex/datetime/datetime-manual.html
/usr/share/texlive/texmf-dist/doc/latex/datetime/datetime-manual.tex
/usr/share/texlive/texmf-dist/doc/latex/datetime/datetime.pdf
/usr/share/texlive/texmf-dist/doc/latex/datetime/datetime.perl
/usr/share/texlive/texmf-dist/doc/latex/datetime/dt-lang.tex
/usr/share/texlive/texmf-dist/doc/latex/datetime/dt-sampl.tex
/usr/share/texlive/texmf-dist/doc/latex/datetime/samples
/usr/share/texlive/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf
/usr/share/texlive/texmf-dist/doc/latex/datetime/samples/dt-lang.tex
/usr/share/texlive/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf
/usr/share/texlive/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex
/usr/share/texlive/texmf-dist/tex/latex/datetime
/usr/share/texlive/texmf-dist/tex/latex/datetime/datetime-defaults.sty
/usr/share/texlive/texmf-dist/tex/latex/datetime/datetime.sty
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-UKenglish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-USenglish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-american.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-australian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-austrian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-bahasa.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-basque.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-breton.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-british.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-bulgarian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-canadian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-catalan.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-croatian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-czech.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-danish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-dutch.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-esperanto.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-estonian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-finnish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-french.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-galician.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-german.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-greek.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-hebrew.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-icelandic.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-irish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-italian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-latin.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-lsorbian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-magyar.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-naustrian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-newzealand.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-ngerman.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-norsk.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-polish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-portuges.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-romanian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-russian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-samin.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-scottish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-serbian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-slovak.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-slovene.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-spanish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-swedish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-turkish.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-ukraineb.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-usorbian.def
/usr/share/texlive/texmf-dist/tex/latex/datetime/dt-welsh.def

References

Summary

In this tutorial we learn how to install texlive-datetime on CentOS 8 using yum and dnf.