Fink安装:安装后(我相信):-bash:fink:命令未找到


0

我想在我的新MacBookpro上安装“fink”

The core packages have been updated. You should now update the other packages
using commands like 'fink update-all'.

我假设fink已成功安装,但当我尝试按照指令调用命令时:

fink update-all

-bash: fink: command not found

这是预期的吗?或者我做错了什么?我们需要任何信息来解决问题,请告诉我。

Answers:


3

检查一下这行

. /sw/bin/init.sh 

已在任一被添加.bash_profile.bash_login.profile。如果搜索结果为空,则将该行添加到其中一个文件中。如果您不确定应该使用哪个文件,请将其添加到.bash_profile。打开一个新的终端会话,init.sh并修改您的PATH变量。


我加入这一行.bash_profile,和source .bash_profilefink update-allPassword: Scanning package description files.......... Information about 10116 packages read in 1 seconds. No packages to install.我想它的工作,TKS!
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.