使用所附的 Fink Commander 来选择和安装软件包。Fink Commander 提供一个 Fink 的简单易用的图形界面。对新用户或不习惯命令行的用户这是一个推荐的办法。Fink Commander 有二进制(Binary)和源代码(Source)两个菜单。如果你没有安装开发工具包或不希望自己编译源程序,你应该用二进制方式安装。
-
Fink Commander 中用二进制文件更新
fink
的操作步骤为:
-
Binary->Update descriptions
-
选择
fink
软件包。
-
Binary->Install
-
推荐的在 Fink Commander 中从源代码更新
fink
的操作步骤为:
-
Source->Selfupdate
-
Tools->Interact with Fink...
-
确认 "Accept default response" 已经选中,然后点击 "Submit"。
-
fink
和其它基础软件包会自动构建和运行
现在你已经更新好
fink
,你可以安装其它软件包。
-
要从二进制文件安装,选择软件包,然后使用 Binary->Install。
-
要从源代码安装,选择软件包,然后 Source->Install。
使用 Use apt-get。Apt-get 可以为你获取和安装二进制软件包,而节省编译的时间。如果你没有安装开发工具包的话,你也可以使用这个办法或 Fink Commander 的二进制安装模式(见上)。
要更新
fink
,打开终端程序窗口,输入
sudo apt-get update ; sudo apt-get install fink
在你更新了
fink
以后,你可以使用类似的语法安装其它的软件包,例如:
sudo apt-get install gimp
来安装 Gimp。注意,并不是全部 fink 软件包都有二进制安装版本的。
从源代码安装 (
requires the XCode Tools [Developer Tools on 10.2] to be installed
)。
要更新
fink
,运行
fink selfupdate
命令。在后面会有提示让你选择,请选择 (1), "rsync"。这会自动更新
fink
软件包。
一旦
fink
已经更新,你可以使用 "
fink install
" 来获取和编译源代码形式提供的软件包。例如,要安装 Gimp,运行
fink install gimp
。
Additional Things to Install
XCode Tools/Developer Tools
You may find that only using binary packages limits the utility of Fink. There are fewer packages available in binary format than from source, and the binary versions are generally older. To build packages from source, you will need to install the Developer Tools (known as the XCode Tools for Mac OS 10.3 and later).
Although a Developer Tools/XCode Tools version usually comes with your OS install media, you'll probably want a newere one. Go to
the Apple Developer Connection
to download a newer version (and any updates) after free registration.
Recommended Developer Tools versions by OS
December 2002 Developer Tools and August 2003
gcc3.3
updater
XCode 1.5 and the November 2004
gcc3.3
updater
10.4 on PowerPC
XCode 2.2.1, and the XCode Legacy Tools (for packages that need
gcc3.1
or
gcc2.95
to build)
10.4 on Intel
XCode 2.2.1
Almost all of the applications on Fink that have graphical user interfa
ces (GUIs) require some flavor of X11 (since most were originally developed on p
latforms that only had that as a GUI option).
Apple provides its own X11 distribution for OS 10.3 and 10.4. This is
the easiest option with which to get started. They have elected to split it int
o two parts:
-
The
X11User
package contains everything you need just to ru
n Apple's X11. It is available on your OS install media for 10.3 and 10.4 as an
optional install.
X11SDK
package contains the development headers. You need this if you want to build an
ything from source that uses X11. This package is available as part of the XCod
e Tools, and installed by default with XCode 2.x.
Once you've installed X11 Fink should automatically register it. If you're having problems check out the
FAQ entry
on X11 installation problems
Further information
要了解更多信息,请参考
常见疑问
和
文档
。
如果在上面的文档中找不到答案,请查看
帮助页面
。
希望通知新版本发布的消息,可以订阅
fink-声明 邮件列表
.
安装磁盘映象文件里面的软件的源代码可以在本站
这里
下载。