pod2docbook command not found

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

Introduction

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

pod2docbook: command not found

or when using sudo you get the following error message

sudo: pod2docbook: command not found

Solutions to pod2docbook: command not found

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

In Ubuntu pod2docbook is provided by libpod-2-docbook-perl package.

libpod-2-docbook-perl is:

Pod::2::DocBook is a module for translating Pod-formatted documents to DocBook 4.2 SGML (see http://www.docbook.org/). It is primarily a back end for pod2docbook, but, as a Pod::Parser subclass, it can be used on its own.

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

sudo apt-get -y install libpod-2-docbook-perl

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

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

sudo apt -y install libpod-2-docbook-perl

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

sudo aptitude install libpod-2-docbook-perl

Summary

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