Finally, you may want to consider a Ureka install, which includes Python 2.7, the most popular scientific Python tools, pyraf, and IRAF. With a little more work and a lot more time (everything compiled from source), you can install Python using MacPorts. OS 10.8, 10.9: See the page Installing Scientific Python via the Python4Astronomers group for discussion - they recommend Anaconda. ![]() MacOS 10.12: We recommend installing Anaconda and AstroConda (optionally with IRAF support). ![]() emacs +x11 (assuming you want the X11-savvy version).Each package gets installed (along with its dependencies) via "sudo port install ", and you can list available packages by search string via "port search ". Check out the MacPorts 101 page for an introduction, overview, and usage pointers. Now would be a good time to install MacPorts (via package) and start downloading and compiling your favorite MacPorts packages. I686-apple-darwin11-llvm-gcc-4.2: no input files Test the install by checking the gcc install via the command line. To learn more, read "About Xcode Tools.pdf" on your install disc. This gives you gcc, Java, and many other developer tools. Use Finder to search the disk for "XcodeTools.mpkg". Install Apple's binary version of gcc: Insert the DVD/CD that came with your computer into the drive.(Optional) Install a standard Fortran compiler, gfortran (38 MB).Additional help with XCode installation and its many uses is here: XCode Support.Agree to Xcode license in Terminal: sudo xcodebuild -license.Go to XCode "Preferences > Downloads > Components" and install the "Command Line Tools.". ![]() 10.9: Command Line > xcode-select -install.(The App Store should be available as an icon in your Dock.) Install XCode (1.5 GB) from the App Store.XCode includes the standard C compiler (gcc) and command line tools (e.g., make, tar, gzip, vi) that are necessary so that you can use the terminal's full suite of commands as you would in a linux enivornment. You will then be able to launch xterm instances from the "Applications" menu. To initiate an X11 session: Launch XQuartz from Applications/Utilities. You may wish to install Xquartz anyway (link above). OS 10.7 and earlier: X11 is already pre-installed. The XQuartz project is an open-source effort to develop a version of the X.Org X Window System that runs on OS X. Terminal is built-in and will work for basic commands, but X11 is required for graphics. X11 is the standard linux graphical window environment and most astronomical software (and anything written for li/unix) requires X11. A full logout / login or system reboot may be needed for the shell change to register in Xquartz / X11. Testing: Start up the "Terminal" application, and type "echo $SHELL". Don't change anything else in here, these are dangerous settings. Change your "Login Shell" setting by selecting or typing "/bin/tcsh". Select the "Advanced Options" option when it appears. Then right click (or Ctrl-click, or two-finger tap) on your user account in the account list on the left hand side. If the padlock icon in the lower left corner is locked, click on it and authenticate. To change your default shell, look under "System Preferences" and open the "Users & Groups" panel. Click the apple in the upper lefthand corner of your screen, and choose "About This Mac." You should be on a good internet connection and allow at least a couple hours to complete the entire setup. Many of these apps are large files and will take a while to download. ![]() Because unix is the engine, you can use your favorite linux tools, plus prettier programs written for Macs. It is a version of BSD Unix with a fancy graphical interface. This is not a tutorial.Īs a brief introduction: Mac's operating system is called "OS X" or now "macOS". This page assumes you want to write scripts, reduce data, plot results, work with LaTeX, and give presentations, among other handy things. If you're a scientist with a new Apple computer, read on. Setup a New Mac for Astronomy Getting Started
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |