[GRASS-user] locating GRASS installation directories on different operating systems

Tyler Smith tyler at plantarum.ca
Fri Oct 30 08:09:44 PDT 2015


On Fri, Oct 30, 2015, at 06:57 AM, Markus Neteler wrote:
> 
> Please better use this (works "everywhere", also on non-Linux
> systems): ask GRASS itself where it is - of course the startup script
> needs to be in the PATH:
> 
> # Linux
> grass70 --config path
> /usr/local/grass-7.0.2svn
> 
> # Windows
> C:\>grass70.bat --config path
> C:\OSGeo4W\apps\grass\grass-7.0

Marvelous, thanks! To confirm, given the path returned by grass70
--config, can I count on the helper programs being under <path>/bin and
<path>/scripts, and the html docs will be under <path>/docs/html? That's
much easier than looking for all three locations.

What about the grass binary itself? Is there a way for GRASS to tell me
that too, or is there a Windows version of `which`?

Best,

Tyler


More information about the grass-user mailing list