OS X Software

From Peyton Hall Documentation

Revision as of 22:06, 3 May 2007 by Lkoven (Talk | contribs)
Jump to: navigation, search

Template:oldfaq

Here's a step-by-step setup guide for Mac OS 10.x

  1. First, you may want a web browser and E-mail client you're familiar with. Have a look at #FireFox and Thunderbird
  2. You'll want to make sure that X11 is installed, so go here: X-Windows for OSX
  3. You'll also want to make sure the developers tools are installed, especially if you want to compile any code (or install Fink, which also requires them). Handy to have around anyway. Here's more: Developer Tools
  4. Fink is a program which allows you to easily download and install many Unix-friendly tools (such as a TeX formatter, editors, and much more). You can find more information here: Fink
  5. Fink Commander is a GUI interface to Fink. Want more? Fink Commander

For any other 'gotcha's and information, browse around this section. If you can't find it here, then ask around on the mac-users mailing list, or send an email to help@astro.

Contents

X-Windows for OS X

10.3

Since the release of OS 10.3 (Panther), the Apple X11 server is now shipped with the machine. You no longer have to go download it as a separate application, it should be on one of the CDs that come with the machine.

10.4

In Tiger (OS X 10.4), X11 can be found as part of the Optional Installs package on the install DVD. When the Installer gives you the list of packages to install, X11 is located under "Applications". Chances are most, if not all, the rest of the packages are already installed. So, unless you know you need another optional package, I recommend just installing X11 as installing everything will take a little while.

Windows appearing off screen?

A note from Joe Hennawi, who had trouble with X windows appearing off the side of the screen:

As I mentioned to you earlier, I was having a problem after upgrading to Panther that the X11 windows were displaying off the screen occasionally. Thanks to Olivier for figuring out the solution to this problem. You need to create a .xinitrc with the following lines.

##
# This line sets the path
PATH = $PATH:/usr/X11R6/bin:/sw/bin:/usr/local/bin
export PATH

# Runs quartz-wm
/usr/X11R6/bin/quartz-wm

Fink vs. MacPorts

There are two main options for getting a lot Unix tools installed on OS X, Fink and MacPorts. The biggest difference between the two is that Fink typically provides binaries, while MacPorts requires you to compile from source -- however, MacPorts also tends to have fresher packages because of this.

Fink

You can get from http://fink.sourceforge.net. Follow the instructions provided and you'll find that Fink installs easily.

Fink gives you a package manager to install various open source programs, such as Vim, LaTeX, Ghostview, and many more. Once installed, browse through the package list and select those that you wish to have installed, and it will download and install them for you. If you have gcc installed as well, you can even have it compile packages from source.

FinkCommander

If you prefer a graphical approach to installing software, then after installing Fink, grab a copy of "Fink Commander." As of more recent releases of Fink, it comes in the same disk image as Fink. Just drag and drop it into your Applications folder. It will go through Fink and generate a package list, and then give you a graphical interface to installing the source or binary packages on your Mac. It has a convenient autoupdate facility. If a new version of Fink Commander is available, the program will let you know and offer to download it for you.

MacPorts

This was formerly known as DarwinPorts. It takes a page from the FreeBSD ports system by providing you with a bunch of files which let you compile applications yourself. I've found that MacPorts tends to have fresher software than Fink. You can get more information on how to download and install it from http://www.macports.org/.

Developer Tools

You'll probably want to install the OS X developer tools, which gives you a C compiler (gcc) and headers/libraries needed to link programs. While this is optional, it's a pretty good idea so that you have a compiler installed.

As of Panther (OS X 10.3), the Developer Tools have been renamed XCode. To install XCode (which includes gcc), OSX Install Disk 1, double-click the XCode Tools directory, and double-click "Developer.mpkg" (on 10.3) or "XcodeTools.mpkg" (on 10.4). Note that Apple's developer tools doesn't include a fortran compiler. For g77 or g95, you'll need to use Fink or Darwinports.

ssh-agent in OS X

If you want to be able to login to Peyton Hall servers you'll probably want to set up an ssh-agent. Click me to find out how!

FireFox and Thunderbird

While not strictly necessary, we recommend using FireFox and Thunderbird because they provide a bit of consistency across multiple platforms, which is nice if you switch between a Linux desktop and your Mac laptop on a regular basis. You can grab them both from http://mozilla.com .

What happened to Mozilla?

The decision was made by the folks at the Mozilla foundation to split the web and mail functionality previously together in Mozilla into two separate applications. Development has halted on Mozilla and therefore we don't recommend using it any longer. If you really want both functions in a single application, have a look at SeaMonkey

TeXShop

Another good program is TeXShop, which is available here: http://www.uoregon.edu/~koch/texshop/texshop.html

From their website:

TeXShop is a TeX previewer for Mac OS X, written in Cocoa. Since pdf is a native
file format on OS X, TeXShop uses "pdftex" and "pdflatex" rather than "tex" and
"latex" to typeset; these programs in the standard teTeX distribution of TeX
produce pdf output instead of dvi output.

TeXShop uses TeXLive and teTeX, standard distributions of Tex programs for Unix
machines. The distributions include tex, latex, dvips, tex fonts, cyrillic fonts,
and virtually all other programs and supporting files commonly used in the TeX
world.
Personal tools