How To Install texinfo-tex on CentOS 8

texinfo-tex is Tools for formatting Texinfo documentation files using TeX

Introduction

In this tutorial we learn how to install texinfo-tex on CentOS 8.

What is texinfo-tex

Texinfo is a documentation system that can produce both online information and printed output from a single source file. The GNU Project uses the Texinfo file format for most of its documentation. The texinfo-tex package provides tools to format Texinfo documents for printing using TeX.

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

Install texinfo-tex 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 texinfo-tex using dnf by running the following command:

sudo dnf -y install texinfo-tex

Install texinfo-tex 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 texinfo-tex using yum by running the following command:

sudo yum -y install texinfo-tex

How To Uninstall texinfo-tex on CentOS 8

To uninstall only the texinfo-tex package we can use the following command:

sudo dnf remove texinfo-tex

texinfo-tex Package Contents on CentOS 8

/usr/bin/pdftexi2dvi
/usr/bin/texi2dvi
/usr/bin/texi2pdf
/usr/bin/texindex
/usr/share/man/man1/pdftexi2dvi.1.gz
/usr/share/man/man1/texi2dvi.1.gz
/usr/share/man/man1/texi2pdf.1.gz
/usr/share/man/man1/texindex.1.gz
/usr/share/texmf/tex/texinfo
/usr/share/texmf/tex/texinfo/texinfo.tex
/usr/share/texmf/tex/texinfo/txi-ca.tex
/usr/share/texmf/tex/texinfo/txi-cs.tex
/usr/share/texmf/tex/texinfo/txi-de.tex
/usr/share/texmf/tex/texinfo/txi-en.tex
/usr/share/texmf/tex/texinfo/txi-es.tex
/usr/share/texmf/tex/texinfo/txi-fr.tex
/usr/share/texmf/tex/texinfo/txi-hu.tex
/usr/share/texmf/tex/texinfo/txi-is.tex
/usr/share/texmf/tex/texinfo/txi-it.tex
/usr/share/texmf/tex/texinfo/txi-ja.tex
/usr/share/texmf/tex/texinfo/txi-nb.tex
/usr/share/texmf/tex/texinfo/txi-nl.tex
/usr/share/texmf/tex/texinfo/txi-nn.tex
/usr/share/texmf/tex/texinfo/txi-pl.tex
/usr/share/texmf/tex/texinfo/txi-pt.tex
/usr/share/texmf/tex/texinfo/txi-ru.tex
/usr/share/texmf/tex/texinfo/txi-sr.tex
/usr/share/texmf/tex/texinfo/txi-tr.tex
/usr/share/texmf/tex/texinfo/txi-uk.tex

References

Summary

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