Getting your fink installation to use packages that I have pre-compiled
From OS X Scientific Computing
Contents
|
Please Note: I only have packages available for 10.4.x (and 10.5.x)
I have no way to update or trouble-shoot older operating system versions. Sorry.
- I have a "live" (continuously updated) set of packages now for intel and a separate set for ppc. Do not mix them up.
For PowerPC and Intel Macs running OS X 10.4.x or 10.5.x:
Introduction
This page describes how to get your current fink installation to look to mine for packages that I have pre-compiled. There are two reasons you might want to do this. The first is that fink officially only distributes pre-compiled binary (debian) packages for a subset of packages, i.e., those in the "stable" branch that have unrestricted licenses like GPL and LGPL. For that reason, none of the crystallography programs are distributed in pre-compiled form officially by fink. (Almost all of them are in the "unstable" branch of fink and many have restrictive licenses.) The second reason is that I have made some packages that are not available officially in fink. CNS is one such example. These are packages that exist in my personal "local" branch.
How-To
Here is all you need to do to configure your fink installation to automatically install my pre-compiled fink packages for crystallography (and other) programs. If you would rather manually install one or two packages, follow this example.
Install Fink at /sw (default basepath).
This is what happens normally when you install the fink binary. Follow the directions on that webpage. Be sure to issue the commands
fink scanpackages; fink index sudo apt-get update sudo apt-get dist-upgrade
Then, if you don't already have fink local directories, do this (it can't hurt, even if you never make use of this):
sudo mkdir -p /sw/fink/dists/local/main/finkinfo
sudo mkdir -p /sw/fink/dists/local/main/binary-darwin-powerpc
Run fink configure and enable the option to download packages from the binary distribution
Alternatively, you can edit the /sw/etc/fink.conf file and put the line
UseBinaryDist: true
at the bottom of the file.
Edit the file /sw/etc/apt/sources.list
and add the following sets lines to the bottom of that file:
Specific to 10.5
Use this only if you are running 10.5.X on intel.
sources.list for 10.5 intel only
or
For both 10.4 and 10.5
These are compiled on 10.4 but also work perfectly fine on 10.5 (the fink 10.4 and 10.5 branches are the same). Choose the link for intel or ppc appropriate to your machine.
sources.list for 10.5 and 10.4 intel only
sources.list for 10.5 and 10.4 ppc only
Run the following two commands:
fink scanpackages sudo apt-get update
Install or update programs as with the following examples:
sudo apt-get install ccp4
sudo apt-get install cns coot
sudo apt-get dist-upgrade
The first command installs or updates ccp4, the second installs or updates both cns and coot, and the third command updates (or upgrades) all the packages to the most currently available version.
These instructions are modified from those available in Fink's documentation.

