module-faker command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
module-faker: command not found
or when using sudo you get the following error message
sudo: module-faker: command not found
Solutions to module-faker: command not found
How To Fix module-faker: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu module-faker is provided by libmodule-faker-perl package.
libmodule-faker-perl is:
Module::Faker is a tool for building fake CPAN modules and, perhaps more importantly, fake CPAN distributions. These are useful for running tools that operate against CPAN distributions without having to use real CPAN distributions. This is much more useful when testing an entire CPAN instance, rather than a single distribution, for which see CPAN::Faker.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libmodule-faker-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libmodule-faker-perl.
sudo apt -y install libmodule-faker-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libmodule-faker-perl
Summary
In this tutorial we learn how to fix module-faker command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.