On Mon, 30 Sep 2002 20:07:29 -0700, [EMAIL PROTECTED]
([EMAIL PROTECTED]) wrote:

>Hi:  I have both perl 5.6.1 and perl 5.6.0 on my system.
>
>What're the steps to remove them, and prepare for install of perl 5.8?
>
>When I run locate perl 5.6.0, I get a list of files.  Is this the way to 
>do it?  File by file?

If I were you I would keep your 5.61 version as a backup in case
5.8 gives you some trouble. There could be some modules
which have slightly changed, etc.

You could do perl -V  and it will show you where the
libs are for each perl version, then you can delete the
whole libdir in 1 shot.

So you must have a way of keeping 5.60 and 5.6.1 separated
in your system? Like having the the perl5.6.1 executable in
/usr/local/bin  and perl5.6.0 in /usr/bin   ??  And letting the
path select which perl is used? /usr/local/bin is usually searched
first, before /usr/bin. Another thing you can do is rename your perls to
perl560 and perl561.

You can then just install 5.8.0 to it's default location,
/usr/local/bin/perl.
It will become your default, but if you need to run 561, then
you can still do
#!/usr/bin/perl561

Each perl executable knows where to look for it's own libraries.
The default for 5.8 is in /usr/local/lib/perl5 but you might have
your 5.6.1 in /usr/lib/perl5. That is where Suse likes to install them,
so if you install your own to the default location, in /usr/local/lib,
they will become the default perl, because /usr/local/bin is normally
searched before /usr/bin in the default path.  That is why some distros
put perl in /usr/lib. 






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

Reply via email to