Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

update perl from 5.14.2 (ubuntu 12.04 default version) to 5.18

by Thai Heng (Beadle)
on Jun 07, 2013 at 11:50 UTC ( #1037661=perlquestion: print w/ replies, xml ) Need Help??
Thai Heng has asked for the wisdom of the Perl Monks concerning the following question:

Now I have installed perl 5.18 to another directory ~/myhome/localperl, but I am a newbie for perl and catalsyt. I find some cpan moduler may dependent on perl version and some application created in perl 5.14.2 can't work when I export ~/myhome/localperl to $PATH. my questions are:

1. How can I uninstall perl 5.18?

2. How can I update from 5.14.2 to 5.18?

Thanks any reply!!!

Comment on update perl from 5.14.2 (ubuntu 12.04 default version) to 5.18
Re: update perl from 5.14.2 (ubuntu 12.04 default version) to 5.18
by Thai Heng (Beadle) on Jun 07, 2013 at 11:53 UTC

    I must uninstall all cpan modulers installed in perl 5.14.2? and how can I do that simply?

      Don't!

      Don't uninstall 5.14 modules. Don't mess with the default Perl because it's used by system processes. Set up (as you did) another dir for 5.18, and install the modules you need there. Then make sure your path to perl -- hashbang and lib directives -- point to the new package.

      Search this site (Google works well for this) for some combination of keywords "ubuntu," "update," "Perl" and "version."


      If you didn't program your executable by toggling in binary, it wasn't really programming!

Re: update perl from 5.14.2 (ubuntu 12.04 default version) to 5.18
by CountZero (Bishop) on Jun 08, 2013 at 07:58 UTC
    Use Perlbrew.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1037661]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2014-09-19 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls