http://qs1969.pair.com?node_id=78936

chorg has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,

I am configuring FreeBSD 4.3, and it comes with perl 5.00503. The production box is using 5.6.0. This is a dev/test box, so I'd like to use 5.6.(0|1) . Is there a way to easily update perl in this fashion??
_______________________________________________
"Intelligence is a tool used achieve goals, however goals are not always chosen wisely..."

Replies are listed 'Best First'.
Re: updating perl on freebsd
by mikfire (Deacon) on May 08, 2001 at 23:44 UTC
    As root, type
    cd /usr/ports/lang/perl5 make install
    I will note that the CVS files indicate that perl 5.6.1 will be moving into the core in a few weeks. I would highly recommend waiting until that time, cvsuping the world and
    cd /usr/sys/contrib/perl5 make install

    Yet another BSD bigot :)
    mikfire

Re: updating perl on freebsd (discussion)
by deprecated (Priest) on May 09, 2001 at 01:24 UTC
    You could download the source and install it as KM says, but the *BSD's offer a packaging system which few people seem to really know about. I have outlined the whole thing with tons of cool pod and links in my node, OpenBSD Package Manager in perl. It pertains in specific to OpenBSD, but the concept is the same. The programs you want to look at are:
    • pkg_add(1)
    • pkg_info(1)
    • pkg_delete(1)
    Yup, you have manpages too! :D

    brother dep.

    --
    Laziness, Impatience, Hubris, and Generosity.

Re: updating perl on freebsd
by KM (Priest) on May 08, 2001 at 23:38 UTC
    Just download the source and install it! :)

    Cheers,
    KM