tfdocgen command not found

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

Introduction

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

tfdocgen: command not found

or when using sudo you get the following error message

sudo: tfdocgen: command not found

Solutions to tfdocgen: command not found

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

In Ubuntu tfdocgen is provided by tfdocgen package.

tfdocgen is:

The tfdocgen program is a program used by the libti2 libraries to generate their HTML documentation from sources and misc files. You don’t need this package unless you want to develop on the libti2 libraries.

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

sudo apt-get -y install tfdocgen

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

You can also use apt command to install tfdocgen.

sudo apt -y install tfdocgen

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

sudo aptitude install tfdocgen

Summary

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