简体   繁体   中英

Can't install perl 5.14.2 with perlbrew

I am on a virtual machine with Debian (6.0.7-i386) and i want to learn Perl (with Beginning Perl written by Curtis Poe).

I have trouble with perlbrew .

  1. I installed perlbrew with

     wget --no-check-certificate -O - http://install.perlbrew.pl | bash 
  2. I add the following command to ~/.bashrc :

     source ~/perl5/perlbrew/etc/bashrc 
  3. After that, I logged out and logged back, and then I ran the following command:

     perlbrew install perl-5.14.2 

I got

在此处输入图片说明

Please help me


English translation of the output:

tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
/bin/tar: Child returned status 2
/bin/tar: Error is not recoverable: exiting now

失败是因为未安装bzip2命令行实用程序(在PATH中找不到)。

Thank you ikegami, it was that.

I did this

aptitude install bzip2

and now it's working.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM