Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. A wiki on installing Xcode via the App Store can be found here: Installing Xcode Tools and X11
  2. Upon completing these steps you should have:
  3. Installed Xcode
  4. Installed Xcode Command Line Tools.

    1. Code Block
      sudo xcode-select --install
    Accepted the Xcode License Agreement
    1. sudo xcodebuild -license (type
       
      sudo xcodebuild -license (type "agree" to accept license).
      open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg (10.14 and later)



Installing Macports

  1. Download and install Macports from http://www.macports.org/ .
  2. Sync your local software tree with the master repository using this command:

    Code Block
    sudo port -v selfupdate


  3. This installs all the ports used at IGPP:
    1. sudo port install szip gdal +curl +geos +hdf5 +netcdf gmt5 gmt4 gawk ghostscript gv xorg-libXt +flat_namespace nedit g95 xpdf rsync sshfs geographiclib py27-obspy py27-numpy py27-scipy py27-matplotlib netcdf hdf5-18 ncarg gcc5 +universal sudo port install szip gdal +curl +geos +hdf5 +netcdf gmt5 gmt4 gawk ghostscript gv xorg-libXt +flat_namespace nedit g95 xpdf rsync sshfs geographiclib py27-obspy py27-numpy py27-scipy py27-matplotlib netcdf hdf5-18 ncarg gcc5 +universal

...