|< Day Day Up >|
13.1. Installing Fink
You can install Fink from binary, from a source tarball, or from source in CVS.
13.1.1. Installing Fink from a Disk Image
The binary installation involves the following steps:
After Fink has completed its installation, unmount the disk image and drag the .dmg file to the Trash.
13.1.2. Installing Fink from Source
To install the latest release of Fink from source, perform the following steps:
13.1.3. Installing Fink from CVS
You can also install the latest version source of Fink via CVS:
Fink must be installed and run with superuser privileges whenever you use it to install, uninstall, or update packages. Whether you install and configure Fink from the downloaded tarball or from CVS, the bootstrap.sh script will prompt you to configure Fink to be run with sudo, su, or root. If you choose the default sudo, you won't have to invoke fink explicitly with sudo. Instead, you'll automatically be prompted for your administrative password.
13.1.4. Post-Installation Setup
When you install Fink, it should configure your shell initialization files to call either /sw/bin/init.sh (sh, bash, and similar shells) or /sw/bin/init.csh (csh or tcsh). If not, or if you need to configure Fink for another user, open a Terminal window and run the command /sw/bin/pathsetup.command. When that's finished, you should close the Terminal window and open a new one to begin using Fink.
Fink can later be updated by entering the commands:
fink selfupdate fink update-all
The first command updates Fink itself, including the list and descriptions of available packages, while the second command updates any installed packages. The first time you run selfupdate, Fink will prompt you to choose whether to use rsync (faster, less bandwidth), CVS, or to "Stick to point releases":
$ fink selfupdate sudo /sw/bin/fink selfupdate Password: ******** fink needs you to choose a SelfUpdateMethod. (1) rsync (2) cvs (3) Stick to point releases Choose an update method  1 I will now run the rsync command to retrieve the latest package descriptions.
The last option means that you'll stay away from the bleeding edge: Fink will be more stable, but you may not get the latest and greatest versions of applications. You can change the selfupdate method to CVS by using the command fink selfupdate-cvs. You can switch back to using rsync with fink selfupdate-rsync.
|< Day Day Up >|