t2html command not found

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

Introduction

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

t2html: command not found

or when using sudo you get the following error message

sudo: t2html: command not found

Solutions to t2html: command not found

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

In Ubuntu t2html is provided by t2html package.

t2html is:

Convert text file into HTML 4.01/CSS2 format. The is written in natural white paper format by using standard headings and indented paragraphs at standard tab position column 8. The text can contain ASCII =markup= `tokens’. Embedding HTML is also possible via INCLUDE directives. This utility predates similar Python-based asciidoc.

A showcase: http://pm-doc.sourceforge.net/doc/

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

sudo apt-get -y install t2html

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

You can also use apt command to install t2html.

sudo apt -y install t2html

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

sudo aptitude install t2html

Summary

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