Sunday, January 06, 2008

FreeBSD still rocks my world!

Over the weekend I tried to do some upgrades. Since I had been stuck for Windows (too bloated for package management) and Linux (RPM hell) land in the past few months, I had forgotten how mighty the simplicity "The Ports" package management in FreeBSD was. Back in the day, server farms were updated this way on a shared NFS drive, with each machine helping out via distcc.

Enough nostalgia, here is the rockin part on installing diablo-jdk-1.5 on a freshly installed FreeBSD machine.

> pkg_add -r w3m ; rehash
> w3m http://www.FreeBSDFoundation.org/downloads/java.shtml // (download diablo-jdk-1.5 binary)
> pkg_add -r xorg-libraries
> pkg_add -r javavmwrapper
> pkg_add diablo-jdk-freebsd6.i386.1.5.0.07.01.tbz ; rehash
> java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)
Java HotSpot(TM) Server VM (build diablo-1.5.0_07-b01, mixed mode)


FreeBSD you rock!