mod2html command not found

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

Introduction

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

mod2html: command not found

or when using sudo you get the following error message

sudo: mod2html: command not found

Solutions to mod2html: command not found

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

In Ubuntu mod2html is provided by libpod-tree-perl package.

libpod-tree-perl is:

Pod::Tree parses a POD into a static syntax tree. Applications walk the tree to recover the structure and content of the POD. See Pod::Tree::Node for a description of the tree.

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

sudo apt-get -y install libpod-tree-perl

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

You can also use apt command to install libpod-tree-perl.

sudo apt -y install libpod-tree-perl

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

sudo aptitude install libpod-tree-perl

Summary

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