macdevcenter.com
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button

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

If the package is installed, the status column in the FinkCommander window gets updated. The columns "Installed," "Latest," and "Binary" display the version of the installed package, the latest available source version, and the latest available binary version, respectively. If you install a binary package, it's possible the installed version is outdated. Mostly, the source versions of the packages are newer than the binary versions.

figure 7
Figure 7. The package libxslt has been installed.

Finally, removing a package is easy: select the package and choose the menu item Binary -> Remove.

You can also install packages directly with the command-line programs of Fink in Terminal.app. For example, in order to find all packages that have something to do with DocBook, you use the command "apt-cache search":

figure 8
Figure 8. Search packages with the command "apt-cache search."

Installing a package is possible with the command "apt-get install":

figure 9
Figure 9. Install packages with the command "apt-get install."

You can install more than one package at the same time. Just specify all the names of the packages with a space between them. Besides, you have to execute the apt-get install command with sudo because a normal user doesn't have the permissions to install software. If you didn't execute sudo within the last five minutes or so, you'll have to supply the password of the account you're logged in with.

If a binary version of the package doesn't exist, it's possible that Fink has a source version of it. Since you can't install it with apt-get, you have to use the fink command to install the package from source, as explained in the next section. If the fink command doesn't have the package listed either, it isn't even available in the collection of source packages.

If apt-get can't find a package to install, it outputs the following message:

figure 10
Figure 10. The package isn't available as a binary package.

A list of installed packages can be generated by the command "dpkg -l":

figure 11
Figure 11. A list of installed packages.

Removing a binary package can be done with the command "apt-get remove":

sudo apt-get remove libxslt

Pages: 1, 2, 3, 4, 5

Next Pagearrow