Macos 如何说服自制软件不再安装MacPorts

Macos 如何说服自制软件不再安装MacPorts,macos,macports,homebrew,Macos,Macports,Homebrew,Hi已按照官方说明卸载MacPorts,然后重新启动。Spotlight确认我的系统上没有留下MacPort目录。特别是,/opt/local/不再存在 但当我运行brew doctor时,它会说: Warning: You have Macports or Fink installed. This can cause trouble. You don't have to uninstall them, but you may like to try temporarily moving the

Hi已按照官方说明卸载MacPorts,然后重新启动。Spotlight确认我的系统上没有留下MacPort目录。特别是,/opt/local/不再存在

但当我运行
brew doctor
时,它会说:

Warning: You have Macports or Fink installed.
This can cause trouble. You don't have to uninstall them, but you may like to
try temporarily moving them away, eg.
sudo mv /opt/local ~/macports

我该怎么办?

检查以下各项是否正确:

  • 哪个端口
    哪个fink
    返回指向某个对象的路径
  • /sw
    /opt/local
    存在

谢谢。虽然“which fink”没有返回任何内容,但我在/sw/中手动找到了fink。一定是几年前安装的!现在尝试卸载它。作为参考,这里是Homebrew用来检查这些库的函数:。@theunraveler Yep,这就是我写这篇文章时所看到的。:)