Jump to content

Mod:Hunt Research Group/InstallXcode

From ChemWiki

How to install Xcode on your Mac

  • you will need to go and download Xcode from the Mac app store
  • it should do it's stuff without any significant input from you!
  • execute this command and accept the license

sudo xcodebuild -license

  • you will also need to install the command line tools which are not installed by default type

xcode-select --install

  • check what version of gfortran and gcc you have type "gcc -v" or "gfortran -v"
  • then try to compile
  • note that many packages can be installed using management packages like "MacPorts"