texi2html command not found

In this troubleshooting guide we learn how to fix texi2html command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

texi2html: command not found

or when using sudo you get the following error message

sudo: texi2html: command not found

Solutions to texi2html: command not found

How To Fix texi2html: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu texi2html is provided by texi2html package.

texi2html is:

texi2html is a Perl script that converts Texinfo files to HTML.

The program takes Texinfo files (not info ones) and produces a set of HTML files. The quality of the output is close to the printed output and is much better than an info->HTML gateway.

Compared to the output of `makeinfo –html’, texi2html’s output is more customizable and (subjectively) produces better output by default.

To fix this problem, we can install more using the command below.

sudo apt-get -y install texi2html

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install texi2html.

sudo apt -y install texi2html

Or if you have aptitude installed you can use the following command.

sudo aptitude install texi2html

Summary

In this tutorial we learn how to fix texi2html command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.