How To Install texinfo on CentOS 8

texinfo is Tools needed to create Texinfo format documentation files

Introduction

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

What is texinfo

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. Install texinfo if you want a documentation system for producing both online and print documentation from the same source file and/or if you are going to write documentation for the GNU Project.

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

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

sudo dnf -y install texinfo

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

sudo yum -y install texinfo

How To Uninstall texinfo on CentOS 8

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

sudo dnf remove texinfo

texinfo Package Contents on CentOS 8

/usr/bin/makeinfo
/usr/bin/pod2texi
/usr/bin/texi2any
/usr/share/doc/texinfo
/usr/share/doc/texinfo/AUTHORS
/usr/share/doc/texinfo/ChangeLog
/usr/share/doc/texinfo/NEWS
/usr/share/doc/texinfo/README
/usr/share/doc/texinfo/TODO
/usr/share/info/texinfo.info-1.gz
/usr/share/info/texinfo.info-2.gz
/usr/share/info/texinfo.info-3.gz
/usr/share/info/texinfo.info.gz
/usr/share/licenses/texinfo
/usr/share/licenses/texinfo/COPYING
/usr/share/locale/ca.us-ascii/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/ca/LC_MESSAGES/texinfo.mo
/usr/share/locale/ca/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/cs/LC_MESSAGES/texinfo.mo
/usr/share/locale/cs/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/da/LC_MESSAGES/texinfo.mo
/usr/share/locale/da/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/de.us-ascii/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/de/LC_MESSAGES/texinfo.mo
/usr/share/locale/de/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/de_AT/LC_MESSAGES/texinfo.mo
/usr/share/locale/el/LC_MESSAGES/texinfo.mo
/usr/share/locale/el/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/eo/LC_MESSAGES/texinfo.mo
/usr/share/locale/eo/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/es/LC_MESSAGES/texinfo.mo
/usr/share/locale/es/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/fr/LC_MESSAGES/texinfo.mo
/usr/share/locale/fr/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/he/LC_MESSAGES/texinfo.mo
/usr/share/locale/hr/LC_MESSAGES/texinfo.mo
/usr/share/locale/hr/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/hu/LC_MESSAGES/texinfo.mo
/usr/share/locale/hu/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/id/LC_MESSAGES/texinfo.mo
/usr/share/locale/it/LC_MESSAGES/texinfo.mo
/usr/share/locale/it/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/ja/LC_MESSAGES/texinfo.mo
/usr/share/locale/nb/LC_MESSAGES/texinfo.mo
/usr/share/locale/nl/LC_MESSAGES/texinfo.mo
/usr/share/locale/nl/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/no.us-ascii/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/pl/LC_MESSAGES/texinfo.mo
/usr/share/locale/pl/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/pt.us-ascii/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/pt/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/pt_BR.us-ascii/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/pt_BR/LC_MESSAGES/texinfo.mo
/usr/share/locale/pt_BR/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/ro/LC_MESSAGES/texinfo.mo
/usr/share/locale/ru/LC_MESSAGES/texinfo.mo
/usr/share/locale/rw/LC_MESSAGES/texinfo.mo
/usr/share/locale/sl/LC_MESSAGES/texinfo.mo
/usr/share/locale/sv/LC_MESSAGES/texinfo.mo
/usr/share/locale/tr/LC_MESSAGES/texinfo.mo
/usr/share/locale/uk/LC_MESSAGES/texinfo.mo
/usr/share/locale/uk/LC_MESSAGES/texinfo_document.mo
/usr/share/locale/vi/LC_MESSAGES/texinfo.mo
/usr/share/locale/zh_CN/LC_MESSAGES/texinfo.mo
/usr/share/locale/zh_TW/LC_MESSAGES/texinfo.mo
/usr/share/man/man1/makeinfo.1.gz
/usr/share/man/man1/pod2texi.1.gz
/usr/share/man/man1/texi2any.1.gz
/usr/share/man/man5/texinfo.5.gz
/usr/share/texinfo
/usr/share/texinfo/DebugTexinfo
/usr/share/texinfo/DebugTexinfo/DebugTree.pm
/usr/share/texinfo/Pod-Simple-Texinfo
/usr/share/texinfo/Pod-Simple-Texinfo/Pod
/usr/share/texinfo/Pod-Simple-Texinfo/Pod/Simple
/usr/share/texinfo/Pod-Simple-Texinfo/Pod/Simple/Texinfo.pm
/usr/share/texinfo/Texinfo
/usr/share/texinfo/Texinfo/Common.pm
/usr/share/texinfo/Texinfo/Convert
/usr/share/texinfo/Texinfo/Convert/Converter.pm
/usr/share/texinfo/Texinfo/Convert/DocBook.pm
/usr/share/texinfo/Texinfo/Convert/HTML.pm
/usr/share/texinfo/Texinfo/Convert/IXIN.pm
/usr/share/texinfo/Texinfo/Convert/IXINSXML.pm
/usr/share/texinfo/Texinfo/Convert/Info.pm
/usr/share/texinfo/Texinfo/Convert/Line.pm
/usr/share/texinfo/Texinfo/Convert/NodeNameNormalization.pm
/usr/share/texinfo/Texinfo/Convert/Paragraph.pm
/usr/share/texinfo/Texinfo/Convert/ParagraphNonXS.pm
/usr/share/texinfo/Texinfo/Convert/PlainTexinfo.pm
/usr/share/texinfo/Texinfo/Convert/Plaintext.pm
/usr/share/texinfo/Texinfo/Convert/Texinfo.pm
/usr/share/texinfo/Texinfo/Convert/TexinfoSXML.pm
/usr/share/texinfo/Texinfo/Convert/TexinfoXML.pm
/usr/share/texinfo/Texinfo/Convert/Text.pm
/usr/share/texinfo/Texinfo/Convert/TextContent.pm
/usr/share/texinfo/Texinfo/Convert/UnFilled.pm
/usr/share/texinfo/Texinfo/Convert/Unicode.pm
/usr/share/texinfo/Texinfo/Documentlanguages.pm
/usr/share/texinfo/Texinfo/Encoding.pm
/usr/share/texinfo/Texinfo/MiscXS.pm
/usr/share/texinfo/Texinfo/ModulePath.pm
/usr/share/texinfo/Texinfo/Parser.pm
/usr/share/texinfo/Texinfo/Report.pm
/usr/share/texinfo/Texinfo/Structuring.pm
/usr/share/texinfo/Texinfo/Transformations.pm
/usr/share/texinfo/Texinfo/XSLoader.pm
/usr/share/texinfo/htmlxref.cnf
/usr/share/texinfo/init
/usr/share/texinfo/init/book.pm
/usr/share/texinfo/init/chm.pm
/usr/share/texinfo/init/html32.pm
/usr/share/texinfo/init/latex2html.pm
/usr/share/texinfo/init/tex4ht.pm
/usr/share/texinfo/texindex.awk
/usr/share/texinfo/texinfo.dtd

References

Summary

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