perlbrew / PERL STANALONE


[root@ipbx ecentrix]# chmod +x /home/ecentrix
[root@ipbx ecentrix]# su – ecentrix
[ecentrix@ipbx ~]$  curl -L http://install.perlbrew.pl | bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
107  1074  107  1074    0     0    419      0  0:00:02  0:00:02 –:–:–  4837

## Download the latest perlbrew

## Installing perlbrew
perlbrew is installed: ~/perl5/perlbrew/bin/perlbrew

perlbrew root (~/perl5/perlbrew) is initialized.

Append the following piece of code to the end of your ~/.bash_profile and start a
new shell, perlbrew should be up and fully functional from there:

source ~/perl5/perlbrew/etc/bashrc

Simply run `perlbrew` for usage details.

Happy brewing!

## Installing patchperl

## Done.

[ecentrix@ipbx ~]$ echo “source ~/perl5/perlbrew/etc/bashrc” >> ~/.bashrc

[ecentrix@ipbx ~]$ source ~/.bashrc

[ecentrix@ipbx ~]$ perlbrew available
perl-5.21.2
perl-5.20.0
perl-5.18.2
perl-5.16.3
perl-5.14.4
perl-5.12.5
perl-5.10.1
perl-5.8.9
perl-5.6.2
perl5.005_04
perl5.004_05
perl5.003_07

[ecentrix@ipbx ~]$ perlbrew install-multiple perl-5.21.2 –both thread -Doptimize=’-O3′ –append=’-O3′
perlbrew install-multiple perl-5.18.2 –both thread -Doptimize=’-O3′ –append=’-O3′
perlbrew install-multiple perl-5.20.0 –both thread -Doptimize=’-O3′ –append=’-O3′

[ecentrix@ipbx ~]$ perlbrew list

[ecentrix@vcentos bin]$ perlbrew install-cpanm

/home/ecentrix/perl5/perlbrew/bin/cpanm already exists, are you sure to override ? [y/N] [N] y

cpanm is installed to

/home/ecentrix/perl5/perlbrew/bin/cpanm

cpanm –interactive -v Log::Dispatch::FileRotate
cpanm –interactive -v DBI
cpanm –interactive -v Data::UUID
cpanm –interactive -v Time::HiRes
cpanm –interactive -v threads
cpanm –interactive -v threads::shared
cpanm –interactive -v Device::Gsm::Sms
cpanm –interactive -v Device::Modem
cpanm –interactive -v UUID::Generator::PurePerl
cpanm –interactive -v Log::Log4perl
cpanm –interactive -v Device::Gsm::Pdu
cpanm –interactive -v Time::HiRes
cpanm –interactive -v threads::shared
cpanm –interactive -v feature
cpanm –interactive -v IO::Socket::INET
cpanm –interactive -v Log::Dispatch::FileRotate
cpanm –interactive -v DBD::mysql
cpanm –interactive -v Pod::Perldoc::ToMan
cpanm –interactive -v Device::SerialPort
cpanm –interactive -v File::Basename
cpanm –interactive -v UUID::Generator::PurePerl

OR

/home/ecentrix/perl5/perlbrew/perls/perl-5.21.2-thread-multi-O3/bin/perl -MCPAN -e ‘fforce install Log::Dispatch::FileRotate’

Thanks
Moses
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: