Install Homebrew
In order to install Homebrew you need to satisfy some requirements.
Homebrew Requirements
- An Intel CPU
- OS X 10.5 or higher
Apple doesn't include an X Windows server anymore, so you need to install Quartz X Windows Server
Command Line Tools for Xcode or Xcode 4
XCode 4.3: Command Lines Tools is now an optional install. You’ll need to enable under Preferences > Downloads.
Install Homebrew
You can install Homebrew, after satisfying the requirements, by running this script in Terminal.app:
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
Once the installation is completed update Homebrew to ensure the latest sources:
brew update
Prepare Environment for Homebrew
You will need to add these lines to your ~/.bashrc to have Homebrew be at the front of the PATH.
export PATH=/usr/local/bin:$PATH export PYTHONPATH="/usr/local/lib/python2.7/site-packages:/usr/local/lib/python:$PYTHONPATH"
In order for the above changes to take effect reopen the terminal or run this command:
source ~/.bashrc
Add the ROS Fuerte Homebrew Tap
Execute the following line to add the official ROS Fuerte Homebrew repository ("tap" in Homebrew terminology).
brew tap ros/fuerte