Search code examples
macosterminaldirectorysumo

Finding the location for sumo for a Mac using the terminal


I'm trying to install SUMO on my Mac by following the steps in this link:

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

Currently, I'm on the step:

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

I cleared my terminal without copying the directory it was saved to so I can replace /your/path/to/sumo.

When attempting to find its directory, I run the following:

which sumo

and I get the output

/usr/local/bin/sumo

Which when I try to go to it returns that it is not a directory:

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

How can I find the path to sumo on my mac? or is this the right path and I'm missing something?


Solution

  • It is not the path to the sumo executable but to the installation directory which is needed here, probably /usr/local/share/sumo. Maybe it helps to run find / -name sumo | grep share.