cpanfile-dump command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cpanfile-dump: command not found
or when using sudo you get the following error message
sudo: cpanfile-dump: command not found
Solutions to cpanfile-dump: command not found
How To Fix cpanfile-dump: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cpanfile-dump is provided by libmodule-cpanfile-perl package.
libmodule-cpanfile-perl is:
Module::CPANfile is a tool to handle cpanfile format to load application specific dependencies, not just for CPAN distributions.
cpanfile
describes CPAN dependencies required to execute associated Perl
code.
Place the cpanfile
in the root of the directory containing the associated
code. For instance, in a Catalyst application, place the cpanfile
in the
same directory as myapp.conf
.
Tools supporting cpanfile
format (e.g. cpanm and carton) will automatically
detect the file and install dependencies for the code to run.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libmodule-cpanfile-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libmodule-cpanfile-perl.
sudo apt -y install libmodule-cpanfile-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libmodule-cpanfile-perl
Summary
In this tutorial we learn how to fix cpanfile-dump command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.