pdict command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pdict: command not found
or when using sudo you get the following error message
sudo: pdict: command not found
Solutions to pdict: command not found
How To Fix pdict: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pdict is provided by libnet-dict-perl package.
libnet-dict-perl is:
Net::Dict is a perl module for looking up words and their definitions on network dictionary servers. Net::Dict provides a simple DICT client API for the network protocol described in RFC2229. This module allows connect with DICT server, matching words and selecting databases.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libnet-dict-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libnet-dict-perl.
sudo apt -y install libnet-dict-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libnet-dict-perl
Summary
In this tutorial we learn how to fix pdict command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.