Upgrading Perl within 5.2

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Apr 2 03:47:21 PST 2004


On Thu, Apr 01, 2004 at 10:05:35AM -0500, Jesse Sheidlower wrote:

> Yesterday I installed FreeBSD 5.2.1, and the active Perl port
> is /usr/ports/lang/perl, which is v. 5.6.1. I'd like to upgrade
> to 5.8.2, which is in /usr/ports/lang/perl5.8 and thus I can't
> just do "portupgrade perl".

You can tell the portupgrade tools the path relative to /usr/ports --
so to upgrade from perl-5.6.1 to perl-5.8.2 you would do:

    # pkg_deinstall -f lang/perl5
    # portinstall lang/perl5.8

and then all the 'use.perl port' stuff, as well as re-installing any
perl modules (ie. anything that installed files under
/usr/local/lib/perl5/5.6.1 or /usr/local/lib/perl5/site-perl/5.6.1)

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040402/b91395f1/attachment.bin


More information about the freebsd-questions mailing list