使用终端查找 Mac 的相扑地点

Finding the location for sumo for a Mac using the terminal

我正尝试按照 link 中的步骤在我的 Mac 上安装 SUMO:

https://sumo.dlr.de/docs/Installing/index.html#macos

目前,我在台阶上:

export SUMO_HOME="/your/path/to/sumo"

我清除了我的终端,但没有复制它保存到的目录,所以我可以替换 /your/path/to/sumo.

当试图找到它的目录时,我 运行 以下内容:

which sumo

我得到了输出

/usr/local/bin/sumo

当我尝试访问它时 returns 它不是一个目录:

cd: not a directory: /usr/local/bin/sumo

如何在 mac 上找到相扑的路径?或者这是正确的路径,我错过了什么?

这里需要的不是 sumo 可执行文件的路径,而是安装目录的路径,可能 /usr/local/share/sumo。也许对 运行 find / -name sumo | grep share.

有帮助