Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I suppose with the onboard-perl from my linux-distribution I don’t have to care about updates. What is the right way of doing updates when I have build my perl from sourcefiles?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Your first sentence seems to be contradicted by the second. Do you maintain your Perl via your linux distribution's package manager, or do you build it from source?

If you build from source, simply download the new distribution, build it and install it like you did the first time. It will overwrite old versions of executables and libraries with new ones as needed, but won't delete anything you have installed via CPAN.

There's no trick to it really.

share|improve this answer
    
So there is no need to bother about updates until I hear from a new perl version. ( not like some multimedia applications, where I get nearly every second day an update ). –  sid_com Feb 5 '10 at 19:11
    
Correct; if you're on 5.10.1 (the latest "stable" release), you should be set for quite some time (5.11 was just released in the fall, but that's a beta for 5.12, not expected for a year or two still. –  Ether Feb 6 '10 at 0:16
    
@sid_com: actually, perl5.12.0 was just released this month, so I was off a little with my estimate :) –  Ether Apr 21 '10 at 17:01

You need to re-build from source. Since you can run any number of parallel builds (just install it in a different directory, and point your code to it in the header), this actually offers a few advantages over using a package manager. You don't have to update code if you don't want to, you don't break compatibility when you want to try out something new.

The one thing you really need to NOT do is mix package manager and building from source. Pick one, and stick with it. If you don't you're going to have significant issues.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.