[ncl-talk] ncl installation using homebrew
Ryan Pavlick
ryan.pavlick at gmail.com
Wed Jun 3 12:49:49 MDT 2015
I created a homebrew cask for easy installation of ncl on OS X.
To use it, you first need to install homebrew by pasting the following line
in to your Terminal (more info at http://brew.sh):
ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then, install caskroom (http://caskroom.io/), followed by ncl:
brew install caskroom/cask/brew-caskbrew cask install ncar-ncl
This will:
1) Download the appropriate NCL binary for your version of OS X from the
Earth System Grid
2) Check for homebrew dependencies, gcc and xquartz, and install them if
not found
3) Install ncl to /usr/local/ncl-6.3.0
A message will appear telling you how to:
1) add $NCARG_ROOT/bin to your $PATH
2) add libgfortran.3.dylib to your $DYLD_FALLBACK_LIBRARY_PATH.
After that, type ncl at the command line and you should be good to go.
You can also easily install other related tools using:
brew install homebrew/science/cdo
brew install homebrew/science/nco
brew cask install panoplybrew cask install qlnetcdf
brew install imagemagick
For the curious, the source code for the homebrew cask script is here:
https://github.com/caskroom/homebrew-cask/blob/master/Casks/ncar-ncl.rb
- Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150603/faad133c/attachment.html
More information about the ncl-talk
mailing list