txt2tags command not found

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

Introduction

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

txt2tags: command not found

or when using sudo you get the following error message

sudo: txt2tags: command not found

Solutions to txt2tags: command not found

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

In Ubuntu txt2tags is provided by txt2tags package.

txt2tags is:

txt2tags is a document generator written in Python that generates HTML, XHTML, SGML, LaTeX, Lout, man page, Wikipedia, Google Code Wiki, DokuWiki, MoinMoin, Magic Point and PageMaker documents from a plain text file with little marks.

Different from other conversion tools, it is generic, and not target-specific (as a txt2html tool). This way, you can keep just one source text file and one tool for all your formatting needs.

Supports header, title, bold/italic/underline/strike, preformatted, quote, link, lists, bar, image and table.

With txt2tags, you can focus your mind on the document content, and forget about formatting. Just let the program do this dirty job.

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

sudo apt-get -y install txt2tags

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

You can also use apt command to install txt2tags.

sudo apt -y install txt2tags

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

sudo aptitude install txt2tags

Summary

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