05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

344<br />

CHAPTER 19 EXTENDING THE POWER OF DARWIN<br />

Table 19-4. Fink Commands (Assumes Xcode Tools Are Installed)<br />

Command Action<br />

fink list Gives you a list of all the available packages. This is a long list, so<br />

you might want to do something like fink list > finkapps to<br />

create a text file called finkapps (or whatever you want to call it)<br />

containing the package list that can be pursued in a text editor,<br />

Preview, or even Quick View.<br />

fink describe someapp Prints a description of someapp.<br />

fink install someapp Downloads and installs someapp.<br />

fink --use-binary-dist someapp Downloads and installs the binary version of someapp, thus<br />

skipping the install phase.<br />

fink remove someapp Removes someapp from your system. The -r option will remove all<br />

dependencies as well.<br />

fink purge someapp Removes someapp from your system, along with all the<br />

configuration files.<br />

fink cleanup Removes obsolete and temporary files, freeing up disk space. By<br />

default this includes any old .deb files as well as any existing<br />

source files.<br />

fink update-all Updates all your installed Fink packages to their latest versions.<br />

fink selfupdate Updates the actual Fink package to its latest version. Upon its first<br />

use you will be prompted to select either rsync or CVS; rsync is<br />

the recommended option.<br />

If you don’t have the Xcode Tools installed for some reason and you still want to use Fink,<br />

you certainly can, but rather than using fink at the command line, you would be best served<br />

using either the apt-get command or dselect. dselect will allow you to scroll through a text listing<br />

of packages and manually select the ones you want to install. apt-get works more like the<br />

fink command and can be used as described in Table 19-5.<br />

Table 19-5. apt-get Commands (for Binary Package Management in Fink)<br />

Command Action<br />

apt-get update Updates the listing of binary packages. This command must be run to<br />

initially get a list of packages for apt-get. After that it should be run<br />

periodically to keep the list updated.<br />

apt-get install someapp Installs someapp.<br />

apt-get remove someapp Removes someapp.<br />

NOTE Most packaging applications will require you to use sudo to install and remove packages.<br />

<strong>Mac</strong>Ports<br />

<strong>Mac</strong>Ports (www.macports.org) originated as the DarwinPorts project and was originated at Apple<br />

as the quasi-official way to manage additional Darwin applications. As such, it was rumored<br />

that sooner or later DarwinPorts would be integrated into <strong>Mac</strong> <strong>OS</strong> X. As of yet this has never<br />

happened; instead, recently, the project was renamed to <strong>Mac</strong>Ports. <strong>Mac</strong>Ports is part of <strong>Mac</strong> <strong>OS</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!