perldig command not found

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

Introduction

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

perldig: command not found

or when using sudo you get the following error message

sudo: perldig: command not found

Solutions to perldig: command not found

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

In Ubuntu perldig is provided by libperldoc-search-perl package.

libperldoc-search-perl is:

Perldoc::Search uses the swish-e engine to index the local Perl documentation. It provides both the command line utility perldig and an API to perform searches on the index. It uses SWISH::API::Common as the indexing and search engine.

This package also contains the command line utility perldig, which digs up keywords in the local Perl documentation

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

sudo apt-get -y install libperldoc-search-perl

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

You can also use apt command to install libperldoc-search-perl.

sudo apt -y install libperldoc-search-perl

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

sudo aptitude install libperldoc-search-perl

Summary

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