我正在尝试在directadmin中进行备份,但它显示此错误,perl已安装并更新
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
答案 0 :(得分:16)
如果您使用centos / redhat运行,可以使用yum安装它:
yum install perl-Digest-MD5 -y
答案 1 :(得分:3)
您需要安装Digest :: MD5 perl模块。使用CPAN是最简单的方法。
从您的终端(SSH):
#navBar ul
答案 2 :(得分:0)
如果使用conda:
conda install perl-digest-md5
答案 3 :(得分:0)
补充之前的答案。既没有 root 访问权限,也没有 cpan
,meta::cpan
中的说明很有魅力:
perl -MCPAN -e shell
install Digest::MD5