Skip to content

InstallFiPy%2FMacOSX%2FHomeBrew2

Jonathan Guyer edited this page Sep 26, 2014 · 1 revision

Homebrew has become a widely recommended package manager for Mac OS X.

This has all been written as though you're using `bash` (which is the Snow Leopard default). If you're using a `tcsh` variant, then you'll need to replace all of the `export` statements with appropriate `setenv` statements.

Developer Tools

Install Xcode from the Apple Developer site.

Homebrew

Install Homebrew using any one of the methods described at https://github.com/mxcl/homebrew/wiki/installation.

I have attempted to keep homebrew clear of `/usr/local`, but the brewsters strongly advocate against that and I've been running into more trouble lately.

For Mayavi

Apply vtk patch via `brew edit` (or otherwise)

For matplotlib (if you aren't install Mayavi)

For PyTrilinos

    • Note:** I needed to patch the HomeBrew formula for `trilinos` in order to support PyTrilinos:
    • Note:** It may be necessary to call `HOMEBREW_MAKE_JOBS=1 brew install --with-python guyer/science/trilinos` to avoid a problem with ifpack2.

[wiki:InstallFiPy/PipInstallsPython].

Now you can [wiki:InstallFiPy/MacOSX/SnowLeopard#Trilinos10.6.4].

Clone this wiki locally