Saturday, October 16, 2010

MacPorts - a slick system for easily installing OSS

It's been a month since I moved from a Windows-based laptop to a MacBook Pro and I'm just now getting around to playing with development toys..err, tools. First order of business was to grab Ant and Maven. Knowing that OS X is built around Linux meant it should be pretty easy. Of course, nothing ever is and it turns out there's lots of advice going back several years in the 'Verse. After seeing several references to MacPorts (formerly DarwinPorts) I checked it out. In a matter of minutes I had the two projects installed, configured and running.

Want to install Tomcat? It's as simple as...
$ port list tomcat*
tomcat-native  @1.1.20  java/tomcat-native
tomcat5        @5.5.25  java/tomcat5
tomcat6        @6.0.29  java/tomcat6

sudo port install tomcat6

Voila. There's 7,434 ports available at this time.

Powered by Qumana