10

I am trying to make backup in directadmin but it shows this error, perl is installed and updated

Can't locate Digest/MD5.pm in @INC (@INC contains: /tmp/.perl-ppk-  BP6PxZ/lib .
perl5 .) at /tmp/.perl-ppk-BP6PxZ/lib/Cpanel/Pkgacct/Archive/Writer.pm line 12
BEGIN failed--compilation aborted at /tmp/.perl-ppk-BP6PxZ/lib/Cpanel/Pkgacct/
Compilation failed in require at /tmp/.perl-ppk-BP6PxZ/lib/Cpanel/Pkgacct/Arch
BEGIN failed--compilation aborted at /tmp/.perl-ppk-BP6PxZ/lib/Cpanel/Pkgacct/
Compilation failed in require at /tmp/.perl-ppk-BP6PxZ/scripts/main.pl line 29
BEGIN failed--compilation aborted at /tmp/.perl-ppk-BP6PxZ/scripts/main.pl lin
Dennis Sheil
  • 729
  • 5
  • 16
Angel
  • 219
  • 1
  • 2
  • 5

4 Answers4

41

If you are running on centos/redhat you can install it with yum :

yum install perl-Digest-MD5 -y
Skullone
  • 594
  • 5
  • 10
8

You need to install the Digest::MD5 perl module. Using CPAN is the easiest way.

From your terminal (SSH):

cpan

install Digest::MD5
Steven Carlson
  • 925
  • 1
  • 10
  • 25
1

To complement the previous answers. With neither root access nor cpan, the instructions in meta::cpan work like a charm:

perl -MCPAN -e shell
install Digest::MD5
gvegayon
  • 812
  • 12
  • 23
0

If using conda:

conda install perl-digest-md5
F. Privé
  • 11,423
  • 2
  • 27
  • 78
  • 1
    my conda can't find perl-digest-md5. 'conda install -c bioconda perl-digest-md5' works for me. – banma Jun 15 '21 at 17:25