pod2pdf command not found

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

Introduction

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

pod2pdf: command not found

or when using sudo you get the following error message

sudo: pod2pdf: command not found

Solutions to pod2pdf: command not found

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

In Ubuntu pod2pdf is provided by pod2pdf package.

pod2pdf is:

POD allows for the documentation of Perl code. But with a few tricks, e.g., when disguised as comments, it is applicable to many other languages, too. It resembles HTML in the way that it allows for the structured representation of text. Hence, it looks rather good when converted for printers, HTML or man pages.

This package represents more than a mere alternative to pod2man|groff -man to achieve a coversion from POD to PostScript and from there via ps2pdf to PDF. Its major advantage lies in the inclusion of images for the documentation. This renders POD suitable for many smallish projects as a lingua franca for their documentation - associated with the source and separate documents - so texts (and graphics) can be shared more easily between documenters and programmers.

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

sudo apt-get -y install pod2pdf

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

You can also use apt command to install pod2pdf.

sudo apt -y install pod2pdf

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

sudo aptitude install pod2pdf

Summary

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