MacPorts 2.0 for Mac OS X 10.7 Lion Released
MacPorts 2.0 has been released, the new version includes full OS X 10.7 compatibility. For those who are unfamiliar, MacPorts is a popular package management utility used to easily install thousands of open-source applications and utilities for the command line, X11, and even some Aqua apps. Because MacPorts handles the retrieval and building of dependencies in addition to the bundle you are looking for, it’s easier than finding and compiling a variety of packages yourself.
To install MacPorts 2, you will also need to have downloaded XCode 4.1, which is now a free download from the Mac App Store for OS X Lion users.
Get MacPorts 2.0
You can read the 2.0 update page or just download the DMG directly. If you already have MacPorts installed you can just run the selfupdate command:
sudo port selfupdate
This will update whatever version you are currently running to 2.0.
After MacPorts is installed, you can searching for and start installing a variety of command line software with the port command.
To search for a port use:
port search port_name
To install a port (some apps require sudo):
port install port_name
Enjoy your open source software!