Options for installing dot on Mac OS X
1. use the mac installer package at
2. use fink (see below).
fink has the advantage that software is installed in /sw where
upgrades to the Mac OS X won't touch it.
(also has lots of stuff you can install)
the installer package is simple, but installs things in /usr/local
which is subject to wiping upon major OS version change
-- not always a bad idea, since it forces you to update other stuff :-)
=======
Step 0) Do you have an old "dot" installed?
Best way to find out by typing
$> which dot
from command line.
If it replies with "/sw/bin/dot" then you have one installed through
fink. Goto Step 1a).
If it replies with "/Users//" then you have a
custom installation that might conflict with a fink installation. In
that case, best to rename the file "dot" to something else (and leave it
where it is). There might be other complicating factors in that case.
If the reply is empty, you currently don't have a dot installed. Goto
Step 1a).
=======
Step 1) Install or upgrade fink.
From the command line, test whether fink is installed.
$> which fink
If empty reply, you can proceed to new installation in Step 1a)
If not empty, you may want to upgrade Step 1b) or clean the installation
and then do the new install.
Note, either step may take a long time (5-20 minutes). Also, you will
be asked for our password (you must have Admin privileges) from time to
time.
=======
Step 1a) Install fink.
From http://fink.sourceforge.net/, get the fink release for your Mac OS
X: version 0.8.0 (for 10.4, Tiger) or version 0.7.2 (for 10.3, Panther).
Follow the instructions to "Quick Start" under the downloads link
(http://fink.sourceforge.net/download/index.php?phpLang=en).
=======
Step 1b) Upgrade fink.
From the command line, issue these commands. Note that the scripts
executed from these commands are sometimes interactive and need the user
to respond to questions.
$> fink selfupdate
$> fink update-all
=======
Step 2) Install or update "dot" through fink.
$> fink install graphviz
(It will say "No packages to install." if it has the latest version.)
Also, as fink depends on some other things, it might ask to confirm
installing these other packages.