1

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

enter image description here

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
ikegami
  • 367,544
  • 15
  • 269
  • 518
Sub
  • 27
  • 6
  • BTW, you may also want to install the most recent version of Perl (`perlbrew install perl-5.20.0`) which has some interesting new features. (But perl-5.14 is fine, too). – friedo Jul 16 '14 at 13:29
  • I will try when i finish the book :) thank you – Sub Jul 16 '14 at 21:01

2 Answers2

5

It's failing because the bzip2 command line utility isn't installed (can't be found in the PATH).

ikegami
  • 367,544
  • 15
  • 269
  • 518
0

Thank you ikegami, it was that.

I did this

aptitude install bzip2

and now it's working.

Sub
  • 27
  • 6