minicpan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
minicpan: command not found
or when using sudo you get the following error message
sudo: minicpan: command not found
Solutions to minicpan: command not found
How To Fix minicpan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu minicpan is provided by libcpan-mini-perl package.
libcpan-mini-perl is:
CPAN::Mini is a Perl module that provides a simple mechanism to build and update a minimal mirror of the CPAN on your local disk. It contains only those files needed to install the newest version of every distribution.
This package also provides a command line utility, minicpan, which can be used to create and update such mirrors easily and without writing any code.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libcpan-mini-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libcpan-mini-perl.
sudo apt -y install libcpan-mini-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libcpan-mini-perl
Summary
In this tutorial we learn how to fix minicpan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.