podindex command not found

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

Introduction

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

podindex: command not found

or when using sudo you get the following error message

sudo: podindex: command not found

Solutions to podindex: command not found

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

In Ubuntu podindex is provided by libpod-index-perl package.

libpod-index-perl is:

The Pod-Index distribution includes various modules for indexing and searching POD that is appropriately marked with X<> POD codes.

Pod::Index, as a module, does nothing. Everything is done by Pod::Index::Builder, Pod::Index::Search, and other helper modules.

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

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

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

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

sudo apt -y install libpod-index-perl

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

sudo aptitude install libpod-index-perl

Summary

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