HOWTO Use your Apple for Software Development
From Consultancy.EdVoncken.NET
My Apple MacBook Pro turns out to be an excellent software development platform:
- It runs Unix
- It supports the huge MacPorts collection, well known in the BSD world
- It comes with Xcode, Apple's IDE for software development
- It has lots of programming languages and other useful tools installed by default:
- Perl 5.8.8
- Python 2.5.1
- Subversion 1.4.4 (you will want to upgrade this to at least 1.6 using MacPorts)
Contents |
[edit] MacPorts
The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the Mac OS X operating system.
-- source: www.macports.org
- Download and install MacPorts, then read the documentation
- Optionally, install the Porticus GUI for port management
[edit] Common operations
- Seach for an application
- sudo port search foo
- Install an application
- sudo port install foo
- Update ports database
- sudo port selfupdate
- Display all software that needs to be upgraded
- sudo port outdated
- Upgrade all installed software to latest versions
- sudo port upgrade outdated
[edit] XCode
- Download and install Xcode. Then, head over to the Mac OS X Reference Library in the Mac Dev Center.