SEARCH
TOOLBOX
LANGUAGES
modified on 3 September 2013 at 15:05 ••• 6,039 views

HowTo:GNUOSX

From Predictive Chemistry

Jump to: navigation, search

Quit awhile ago, Apple switched to BSD's kernel and libraries for the guts of its OSX. This means that you can already access the Unix terminal from the Utilities folder. Newer versions (like 10.8 here) are making some of those developer-friendly features harder to find - so let's briefly summarize how to get them back.

  1. Start with basic Apple setup: mail, calendar and sync. These are pretty easy due to their large user base.
    • To get multiple workspaces, you have to click the "+" on the top right of the "Mission Control" screen.
  2. Install the XCode package - https://developer.apple.com/xcode/
    • word has it that Starting with Xcode 4.3 - you must now manually install command line tools from Xcode menu > Preferences > Downloads
    • Apple is working hard to update the compiler toolchain by rewriting the monolithic GCC into a programming-language friendly LLVM framework with the CLANG compiler, so you'll see that GCC dependence is shrinking and LLVM is installed.
    • or, just install the cmd line to begin: [1]
    • or directly at [2]
      • this can be installed without the giant XCode IDE, but some fink packages won't work (sic)
  3. Install gfortran following the instructions at: [3]
    • Use the CRAN mirror at: [4]
    • I've found this package to work well.
    • It says not to use the compilers from HPC...
  4. Install X11 using XQuartz [5] - or find the link through Finder -> Applications -> Utilities -> X11
  5. Now you're ready to install a package manager. I recommend Fink,[fink.sf.net] since it's based on Debian's dpkg system, the packages are easy to make, and I've made a few of them too.
  6. See Some Productive Programs for useful GNU software.
  7. Don't forget TexShop [6] [7], Keynote, and Pages for papers, presentations, and posters.
    • Just drag TexShop to the Applications Folder.
    • Apple and MS software is available from the Library computer support desk here at USF
    • These often work much better than the port of Powerpoint because of the slowness of MS font rendering on the Mac.