

The XQuartz project is an open-source effort to develop a version of the X.Org X Window System that runs on OS X. On the "Downloads for Apple Developers" list, select the Command Line Tools entry that you want.įor many scientific applications you will also need X11, the easiest way to get this is to install XQuartz. Or You can download the Xcode command line tools directly from the developer portal as a. You are asked for your Apple Developer login during the install process.

You may also need to update your BASH profile. If you need to remove MacPorts there is a detailed guide. Homebrew instead warns you of any clashes and allows you to decide which version to keep.

The reason I went with Homebrew rather than MacPorts is that I found on occasions MacPorts overwrote existing files.
#INSTALL XQUARTZ HOMEBREW FOR MAC OSX#
Homebrew is a package manager for Mac OSX that installs packages in it’s own directory then symlinks the files to /usr/local. There have been some changes with Homebrew which have meant that a few of the scientific applications are no longer available so I've decided to rewrite the page on installing them to use Anaconda which is now my preferred way to install.
