pod2test command not found

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

Introduction

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

pod2test: command not found

or when using sudo you get the following error message

sudo: pod2test: command not found

Solutions to pod2test: command not found

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

In Ubuntu pod2test is provided by libpod-tests-perl package.

libpod-tests-perl is:

Pod::Tests is a specialized POD viewer to extract embedded tests and code examples from POD. It doesn’t do much more than that.

This module is deprecated, in favour of Test::Inline.

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

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

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

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

sudo apt -y install libpod-tests-perl

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

sudo aptitude install libpod-tests-perl

Summary

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