Setting up Fink CVS Access

Fink is developed via CVS. This means that you can stay up to date between releases and always get the newest stuff. This page tells you how to set up an existing Fink installation for updating via CVS. The information on this page applies to Fink 0.3.x and later.

Fink CVS Structure

Fink has several CVS modules. The module dists (ViewCVS) contains the package descriptions and patches for OS X 10.2 and above. There are other modules used by Fink developers, which anyone can view, but these are not interesting for most users.

Updating the Package Descriptions

In the past this was a bit tedious procedure; but in the current Fink versions, this is a very simple procedure. Just issue this command:

fink selfupdate-cvs

Fink will perform all necessary steps automatically for you. This includes retrieving the latest set of Package Descriptions, and updating a few essential core packages (among them the Fink package manager).

If you are behind a firewall consult FAQ 3.2.

After you have updated your package descriptions this way, you may want to update your packages to the latest available versions. You can do so by with the following command:

fink update-all

Updating the Package Manager

Note: As of September 20, 2001 it is no longer necessary to update the package manager separately; it is treated like any other package. It's still possible to update it directly from CVS, though this is usually only interesting for people creating packages, not the average user.

The package manager must be updated through a separate directory and the script. That script puts package descriptions and tarballs for the fink and base-files packages in your Fink tree and builds them.

For the first time procedure, you need a temporary directory (called tempdir in the example) which is empty (or at least doesn't contain a subdirectory named 'fink'). The procedure goes like this:

cd tempdir
cvs login
cvs -z3 co fink
cd fink

The login command will ask for a password - just press return. You could delete the temporary directory after the procedure, but if you leave it around, updating is easier the next time. The procedure is then:

cd tempdir/fink
cvs -z3 update -d