Install Perl and required Perl modules

The installation of MySQL requires Perl to be present, in combination with some Perl modules.

You can check if your system contains Perl with the following command:

$ which perl

You must also ensure that the Data::Dumper Perl module exists, which can be done with the following command:

$ perl -MData::Dumper -e 'print "Data::Dumper is installed\n"'

If Perl or Data::Dumper are not present, run the following commands for installing the missing components:

  • Debian/Ubuntu:

      $ sudo apt-get install perl
  • CentOS/Fedora/RHEL:

      $ sudo yum install perl perl-Data-Dumper
Last modification September 5, 2018