How To Install texi2html on CentOS 8

texi2html is A highly customizable texinfo to HTML and other formats translator

Introduction

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

What is texi2html

The basic purpose of texi2html is to convert Texinfo documents into HTML, and other formats. Configuration files written in perl provide fine degree of control over the final output, allowing most every aspect of the final output not specified in the Texinfo input file to be specified.

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

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

sudo dnf -y install texi2html

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

sudo yum -y install texi2html

How To Uninstall texi2html on CentOS 8

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

sudo dnf remove texi2html

texi2html Package Contents on CentOS 8

/etc/texinfo
/usr/bin/texi2html
/usr/share/doc/texi2html
/usr/share/doc/texi2html/AUTHORS
/usr/share/doc/texi2html/COPYING
/usr/share/doc/texi2html/ChangeLog
/usr/share/doc/texi2html/NEWS
/usr/share/doc/texi2html/README
/usr/share/doc/texi2html/TODO
/usr/share/doc/texi2html/texi2html.init
/usr/share/info/texi2html.info.gz
/usr/share/locale/cs/LC_MESSAGES/texi2html.mo
/usr/share/locale/da/LC_MESSAGES/texi2html.mo
/usr/share/locale/de.us-ascii/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/de/LC_MESSAGES/texi2html.mo
/usr/share/locale/de_AT/LC_MESSAGES/texi2html.mo
/usr/share/locale/eo/LC_MESSAGES/texi2html.mo
/usr/share/locale/es.us-ascii/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/es/LC_MESSAGES/texi2html.mo
/usr/share/locale/fr.us-ascii/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/fr/LC_MESSAGES/texi2html.mo
/usr/share/locale/he/LC_MESSAGES/texi2html.mo
/usr/share/locale/hr/LC_MESSAGES/texi2html.mo
/usr/share/locale/hu/LC_MESSAGES/texi2html.mo
/usr/share/locale/hu/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/id/LC_MESSAGES/texi2html.mo
/usr/share/locale/it/LC_MESSAGES/texi2html.mo
/usr/share/locale/it/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/ja/LC_MESSAGES/texi2html.mo
/usr/share/locale/ja/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/nb/LC_MESSAGES/texi2html.mo
/usr/share/locale/nl.us-ascii/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/nl/LC_MESSAGES/texi2html.mo
/usr/share/locale/no.us-ascii/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/pl/LC_MESSAGES/texi2html.mo
/usr/share/locale/pt.us-ascii/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/pt_BR.us-ascii/LC_MESSAGES/texi2html_document.mo
/usr/share/locale/ro/LC_MESSAGES/texi2html.mo
/usr/share/locale/ru/LC_MESSAGES/texi2html.mo
/usr/share/locale/rw/LC_MESSAGES/texi2html.mo
/usr/share/locale/sv/LC_MESSAGES/texi2html.mo
/usr/share/locale/tr/LC_MESSAGES/texi2html.mo
/usr/share/locale/vi/LC_MESSAGES/texi2html.mo
/usr/share/locale/zh_CN/LC_MESSAGES/texi2html.mo
/usr/share/locale/zh_TW/LC_MESSAGES/texi2html.mo
/usr/share/man/man1/texi2html.1.gz
/usr/share/texi2html/i18n
/usr/share/texi2html/i18n/de.thl
/usr/share/texi2html/i18n/en.thl
/usr/share/texi2html/i18n/es.thl
/usr/share/texi2html/i18n/fr.thl
/usr/share/texi2html/i18n/hu.thl
/usr/share/texi2html/i18n/it.thl
/usr/share/texi2html/i18n/ja.thl
/usr/share/texi2html/i18n/nl.thl
/usr/share/texi2html/i18n/no.thl
/usr/share/texi2html/i18n/pt.thl
/usr/share/texi2html/i18n/pt_BR.thl
/usr/share/texi2html/images
/usr/share/texi2html/images/COPYING
/usr/share/texi2html/images/COPYING.Attribution-ShareAlike
/usr/share/texi2html/images/GPL
/usr/share/texi2html/images/Mybg.png
/usr/share/texi2html/images/README
/usr/share/texi2html/images/a_begin.png
/usr/share/texi2html/images/a_begin_na.png
/usr/share/texi2html/images/a_document.png
/usr/share/texi2html/images/a_document_na.png
/usr/share/texi2html/images/a_empty.png
/usr/share/texi2html/images/a_end.png
/usr/share/texi2html/images/a_end_na.png
/usr/share/texi2html/images/a_help.png
/usr/share/texi2html/images/a_help_na.png
/usr/share/texi2html/images/a_index.png
/usr/share/texi2html/images/a_index_na.png
/usr/share/texi2html/images/a_left.png
/usr/share/texi2html/images/a_left_na.png
/usr/share/texi2html/images/a_leftdouble.png
/usr/share/texi2html/images/a_leftdouble_na.png
/usr/share/texi2html/images/a_page.png
/usr/share/texi2html/images/a_page_na.png
/usr/share/texi2html/images/a_right.png
/usr/share/texi2html/images/a_right_na.png
/usr/share/texi2html/images/a_rightdouble.png
/usr/share/texi2html/images/a_rightdouble_na.png
/usr/share/texi2html/images/a_search.png
/usr/share/texi2html/images/a_search_na.png
/usr/share/texi2html/images/a_searchdoc.png
/usr/share/texi2html/images/a_searchdoc_na.png
/usr/share/texi2html/images/a_tableofcon.png
/usr/share/texi2html/images/a_tableofcon_na.png
/usr/share/texi2html/images/a_top.png
/usr/share/texi2html/images/a_top_na.png
/usr/share/texi2html/images/a_up.png
/usr/share/texi2html/images/a_up_na.png
/usr/share/texi2html/images/bg.jpg
/usr/share/texi2html/images/bg_left.png
/usr/share/texi2html/images/bg_right.png
/usr/share/texi2html/images/blue_dir.png
/usr/share/texi2html/images/blue_down.png
/usr/share/texi2html/images/blue_grab.png
/usr/share/texi2html/images/blue_help.png
/usr/share/texi2html/images/blue_next.png
/usr/share/texi2html/images/blue_nnext.png
/usr/share/texi2html/images/blue_pprev.png
/usr/share/texi2html/images/blue_prev.png
/usr/share/texi2html/images/blue_readme.png
/usr/share/texi2html/images/blue_top.png
/usr/share/texi2html/images/blue_up.png
/usr/share/texi2html/images/blue_uup.png
/usr/share/texi2html/images/contents_motif.png
/usr/share/texi2html/images/index_motif.png
/usr/share/texi2html/images/next_motif.png
/usr/share/texi2html/images/next_motif_gr.png
/usr/share/texi2html/images/previous_motif.png
/usr/share/texi2html/images/previous_motif_gr.png
/usr/share/texi2html/images/spacer3.png
/usr/share/texi2html/images/xy_contents.png
/usr/share/texi2html/images/xy_foot.png
/usr/share/texi2html/images/xy_next.png
/usr/share/texi2html/images/xy_next_gr.png
/usr/share/texi2html/images/xy_nextsection.png
/usr/share/texi2html/images/xy_nextsection_gr.png
/usr/share/texi2html/images/xy_previous.png
/usr/share/texi2html/images/xy_previous_gr.png
/usr/share/texi2html/images/xy_previoussection.png
/usr/share/texi2html/images/xy_previoussection_gr.png
/usr/share/texi2html/images/xy_up.png
/usr/share/texi2html/images/xy_up_gr.png
/usr/share/texinfo
/usr/share/texinfo/html/texi2html.html
/usr/share/texinfo/init/book.init
/usr/share/texinfo/init/chm.init
/usr/share/texinfo/init/html32.init
/usr/share/texinfo/init/mediawiki.init
/usr/share/texinfo/init/tex4ht.init

References

Summary

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