oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button

Installing Fink on Mac OS X
Pages: 1, 2, 3, 4, 5

Installing Fink and FinkCommander

As with the binary and source packages, you can also install Fink in two ways: a binary release or a source release. But there really isn't a big difference. You always have the option to build a package from source or install a downloaded binary package.

On the Fink website, you can find detailed information on the installation. Here, I'll provide you with a brief description of the installation of the binary release. The installer is a DMG disk image. Tiger users install the Fink 0.8.0 release, Panther users install 0.7.2. Mount the disk image and double-click the enclosed installer package. The instructions on screen will guide you through the installation.

At the end, the installer launches the pathsetup utility to add some necessary commands to your shell's configuration files. If this doesn't work for some reason, you can configure this manually by putting the following line in the file .profile in your home directory:

. /sw/bin/

Read Fink's documentation for more information.

FinkCommander provides an easy to use graphical user interface for Fink. A version of FinkCommander is included in the binary distribution of Fink. Just drag the FinkCommander application in the FinkCommander folder of the Fink disk image to your Applications folder. If you want the newest version of FinkCommander, you can download it from the FinkCommander homepage.

Fink and FinkCommander are now installed. The next step is to scan the Fink packages and create an index. To do this, start FinkCommander and select the menu item Scanpackages in the Source menu. Since this is the first time you've used FinkCommander after installing, it'll tell you it doesn't have the correct permissions and needs a self-repair. Then it asks for your Administrator's password twice. When the self-repair process is done, you have to run the Scanpackages command again. After this you have to run the index command in the menu Source -> Utilities -> Index.

figure 1
Figure 1. Scan the Fink packages.

figure 2
Figure 2. Self-repair succeeded.

figure 3
Figure 3. The Fink packages are scanned now.

FinkCommander gives some output in the lower half of its window. This is in fact the output of Fink. What we have just done is equivalent to running "fink scanpackages; fink index" in a window.

First you should update the package descriptions to the newest version. In FinkCommander this can be done in the menu Binary -> Update descriptions. After that you update the fink package by selecting the fink package in the list of packages and clicking on Binary -> Install.

The same can be done in with the commands "sudo apt-get update ; sudo apt-get install fink."

Pages: 1, 2, 3, 4, 5

Next Pagearrow