On Fri, 18 Oct 2002 00:12:16 -0500, [EMAIL PROTECTED] (Randy
Perkins) wrote:

>i would like to upgrade perl to 5.8.0
>i currently have 5.6.1
>
>i use redhat and perl was originally installed as a precompiled binary
>(.rpm)
>
>i started out with 5.6.0
>and somehow it got updated to 5.6.1
>
>i am worried that if i compile it the redhat version will not be removed.
>or i will have other problems
>
>what is the best way to proceed?


You can have multiple versions of Perl coexisting side by side.
Each perl executable knows where it's libraries are, do a "perl -V".

So your easiest option is to find your current perl version 561
binary and rename it to perl56.
Then go and install 5.8, and it will become plain perl.
If you want to use your old 5.61 version of perl:
#!/usr/bin/perl56

If you want to manually remove the perl56, do perl -V
and remove the directories listed.
Some distros put the perl libs in /usr/lib/perl and
the binary in /usr/bin/perl.
The default 58 install will put them in /usr/local/bin/perl
and the libs in /usr/local/lib/perl.









-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to