pod2latex command not found

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

Introduction

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

pod2latex: command not found

or when using sudo you get the following error message

sudo: pod2latex: command not found

Solutions to pod2latex: command not found

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

In Ubuntu pod2latex is provided by libpod-latex-perl package.

libpod-latex-perl is:

Pod::LaTeX is a module to convert documentation in the Pod format into LaTeX. The pod2latex command uses this module for translation.

Pod::LaTeX is a derived class from Pod::Select.

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

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

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

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

sudo apt -y install libpod-latex-perl

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

sudo aptitude install libpod-latex-perl

Summary

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