This page is quite outdated (last update was in 2004). More recent information is linked from the main menu page.Here I follow the defaults - i.e., there are no special settings necessary to prepare the OSX system for the next steps. In particular, the file system that should be used is HFS+ (not UFS, even though that would at first glance seem more logical ...).
The software installs the essential prequisites, most importantly the
This can be done from the CD that comes with the computer. Alternatively, download this package from the Apple site: http://developer.apple.com/tools/. You have to log in (or first sign up) as a member of the ADC (Apple Developer Connection). all this is free of charge. Make sure you don't get an older version of this software!
In this and the following installation, the software comes as a package (.pkg) which is installed by double-clicking. Enter your password (assuming you are the user whose name the computer recognizes as its boss...).
xmodmap -e "remove Mod1 = Alt_R"
chmod 755 .xinitrc
If you are new to fink, it may be useful to use a graphical user
interface rather than the command-line version which I am using. The
GUI, called Fink Commander, is available from
One departure from the fink instructions: I actually included
/sw/bin/init.csh" in my
.tcshrc file, not in
.cshrc because the MAc
runs tcsh by default. If you're sure you don't have and won't need
.tcshrc file, then you can ignore this modification.
fink install system-xfree86
fink install tetex
sudocommand is essential (it requires you to enter your password) so that the installations are done with root privileges.
Next come the other useful installations which depend on individual
needs. In order to get the BLAS and LAPACK libraries optimized, I now
do the following:
sudo emacs /sw/etc/fink.conf
This file has a line called "Trees:", to which I prepend "unstable/main unstable/crypto". The first is necessary in order to perform the next installation step:
fink install octave-atlas
You will be asked several questions which can be acknowledged by simply hitting return, except when asked for the type of processor. There, coose G4. Everything else is then automatic (there is another dialog later on asking you to enter the number at the top of the screen - that means the biggest part of the compilations are done...)
After this lengthy installation, you'll also have octave installed. If you want to find out more about this and other packages, go to the last section.
To conclude this step, I suggest you first remove the "unstable/main" from
Remark: If you want to install only stable software, leave
/sw/etc/fink.conf alone. Meanwhile, ATLAS is also
available in the stable tree. If you want a non-optimized but
easier-to compile version, do
fink install octave
instead.However, the ATLAS version of octave is far superior in terms of speed.
ls -lG, a color-coded directory listing appears. Another use of colors in Terminal is the emacs editor that comes pre-installed in OS X.
alias acro "open -a /Applications/Adobe\ Reader\ 6.0/Adobe\ Reader\ 6.0.app $1"An alternative solution is to put such definitions into a directory ~/bin/ and make sure that it's in your PATH. E.g., you could create a file called ~/bin/acro with the content
alias browse "open -a /Applications/Camino.app $1"
/usr/bin/open -a /Applications/Adobe\ Reader\ 6.0/Adobe\ Reader\ 6.0.app $1and make it executable (with
chmod 700 ~/bin/acro). That is an easier way to define commands that you want to be available even when you're not running tcsh (say, bash or zsh...).
I also like to start Unix commands by double-clicking in Aqua (sometimes). To do that, one has to pass the Unix command to the Terminal application as an argument to be executed. This is done by opening the Unix command executable in the OSX finder, and choosing "Show Info". In "Open with Application", choose "Other..." and then navigate to Terminal in /Applications/Utilities/. You can choose Terminal only if you select "Show All" at the top of the dialog window.