Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [dan@localhost ~]$ curl -LO http://xrl.us/perlbrew
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 90796 100 90796 0 0 35110 0 0:00:02 0:00:02 --:--:-- 300k
- [dan@localhost ~]$ chmod +x perlbrew
- [dan@localhost ~]$ ./perlbrew install
- install [options] perl-<version>
- install [options] <version>
- Build and install the given version of perl.
- Version numbers usually look like "5.x.xx", or "perl-5.xx.x-RCx" for
- release candidates.
- The specified perl is downloaded from the offical CPAN website or
- from the mirror site configured before.
- To configure mirror site, invoke `mirror` command.
- install [options] perl-blead
- install [options] blead
- A special way to install the blead version of perl, which is
- downloaded from this specific URL regardless of mirror settings:
- http://perl5.git.perl.org/perl.git/snapshot/blead.tar.gz
- install [options] /path/to/perl/git/checkout/dir
- Build and install from the given git checkout dir.
- install [options] /path/to/perl-5.14.0.tar.gz
- Build and install from the given archive file.
- install [options] http://example.com/mirror/perl-5.12.3.tar.gz
- Build and install from the given URL. Supported URL schemes are
- "http://", "https://", "ftp://" and "file://".
- Options for "install" command:
- -f --force Force installation
- -j $n Parallel buildng and testing. ex. C<perlbrew install -j 5 perl-5.14.2>
- -n --notest Skip testing
- --as Install the given version of perl by a name.
- ex. C<perlbrew install perl-5.6.2 --as legacy-perl>
- -D,-U,-A Switches passed to perl Configure script.
- ex. C<perlbrew install perl-5.10.1 -D usemymalloc -U uselargefiles>
- --sitecustomize $filename
- Specify a file to be installed as sitecustomize.pl
- By default, all installations are configured after their name like this:
- sh Configure -de -Dprefix=$PERLBREW_ROOT/perls/<name>
- [dan@localhost ~]$ ./perl5/perlbrew/bin/perlbrew init
- bash: ./perl5/perlbrew/bin/perlbrew: No such file or directory
- [dan@localhost ~]$ echo "source ./perl5/perlbrew/etc/bashrc" >> ~/.bashrc
- [dan@localhost ~]$ source ~/.bashrc
- bash: ./perl5/perlbrew/etc/bashrc: No such file or directory
- dan@localhost ~]$ perlbrew install perl-5.12.2 <- what instructions say to enter (mistake)
- bash: perlbrew: command not found
- ./perlbrew install perl-5.12.2
- Fetching perl 5.12.2 as /home/dan/perl5/perlbrew/dists/perl-5.12.2.tar.bz2
- Unable to open config (/home/dan/perl5/perlbrew/Config.pm): No such file or directory at /loader/0x1e74658/App/perlbrew.pm line 53.
- ^ what should be entered (everything fails)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement