config_data command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
config_data: command not found
or when using sudo you get the following error message
sudo: config_data: command not found
Solutions to config_data: command not found
How To Fix config_data: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu config_data is provided by libmodule-build-perl package.
libmodule-build-perl is:
Module::Build is a framework for easily building, testing and installing Perl packages. It is meant as a next-generation replacement for ExtUtils::MakeMaker and offers many additional features characteristic of a more modern install system, including simple subclassing for custom build actions.
Because it is written in Pure Perl, it has very few external dependencies. In particular, it allows for installation of packages on systems without ‘make’ and will even work without a shell. Its only prerequisites are modules that are included with perl 5.6.0 and it is core as of perl 5.10.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libmodule-build-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libmodule-build-perl.
sudo apt -y install libmodule-build-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libmodule-build-perl
Summary
In this tutorial we learn how to fix config_data command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.