Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to learn perl. My Mandrake distro (9.2) installed 5.8.1, but for various reasons I want to install and configure my own perl, which would be 5.8.2. I can't remove 5.8.1 obviously; half the userland shit relies on it and something as simple as rpm -e perl (just to cut to the chase) returns a few pages of dependency problems.
So I tried just installing perl 5.8.2, and there was no problem. but
still returns 5.8.1, which didn't really surprise me.
The question is: how can I walk a new perl installation over an old one, destroying all the old configuration, but leaving all the dependencies (of other programs on perl) in place? There's obviously the problem that perl resides currently in a directory named afer its version, so there's 1,000 PATH's out there going: "/usr/lib/perl5/5.8.1/*"
Or is everyone just going to tell me to go read a few books first?
Technoslave is close, I think. mo's just lessin' README's. Doesn't anyone ever upgrade perl? Do I have to grep the whole filesystem for 5.8.1? All those config.scripts pointing there? wipe it out, install new ver, grep and replace....
There's no way this is what everyone does when they upgrade perl.
At least I hope not!
Maybe reinstall the OS ultra vanilla, install perl like I want, and take it from there? But when A new version comes out with some feature I *totally* need?
I can already install a whole new kernel easier than this! Hell, I just did this morning (but who didn't? _)
The answer to BigNate is: "none; I just don't like the install; I want to pass some arguments of my own." I have figured out how to deal with my specific problems anyway. Nevertheless, the question remains unanswered: how does one upgrade perl? The day may come when it becomes strictly necessary. Reinstalling the OS to fix problems is for windows users, god (or someone) bless their little souls.
P.S. sorry to bump this up from oblivion; I was visiting kin in the mountainous outbacks of southern Arizona, where people actually connect at 56k, and my family wouldn't stand for me wasting precious holiday time cursing at a laptop.
Um, I told you how to upgrade perl...Don't complain just because you don't like the answer :-D
If you mean via RPM, if you can find a 5.8.2 rpm, then you'd just issue rpm -Uvh perl-5.8.2.rpm, etc.
To expand a little more.
Once you've ./configure; make; make install perl the 1st time. Assuming Larry doesn't change the layout of where perl is placed, you can always redo the same thing with a new version of perl and it will just overwrite the old version ( at least until version 6 comes out )
Last edited by Technoslave; 12-23-2003 at 02:41 AM.