I must be either blind or brain-frozen by all the snow outside but even after reading through the introductions and downloading the North Carolina data I still don’t see how to start GRASS GIS 7.8.5 on my Fedora 33. I have over 30 years experience with Unix or Linux and I still don’t see a startup file. What am I missing?
Hi Michael,
mdwxman via grass-user <grass-user@lists.osgeo.org> schrieb am So.,
27. Dez. 2020, 06:19:
I must be either blind or brain-frozen by all the snow outside but even after reading through the introductions
and downloading the North Carolina data I still don't see how to start GRASS GIS 7.8.5 on my Fedora 33.
The reason will be that the start script isn't yet in $PATH.
So, the question is: did you run this step
sudo make install
?
- if yes, then it should be in /usr/local/bin/ which needs to be in
$PATH (usually it is)
- if no, then you need to create a link:
ln -s /where/you/compiled/grass_src/bin.x86_64-pc-linux-gnu/grass78
/some/directory/in/path/
Example (here in detail, also for others being interested):
So, in my $HOME I always create a "$HOME/bin/" directory into which I
then link the GRASS GIS startup script (and also other unrelated
stuff). Hence:
mkdir $HOME/bin/
Then add this line into $HOME/.bashrc (assuming that you use bash shell):
export PATH=$PATH:$HOME/bin
Next create the link (adapt path as needed):
ln -s $HOME/where/you/compiled/grass_src/bin.x86_64-pc-linux-gnu/grass78
$HOME/bin/
Now either start a new terminal or execute one time (needed as the
current terminal only reads $HOME/.bashrc at startup):
export PATH=$PATH:$HOME/bin
Now you should be able to start
grass78
I have over 30 years experience with Unix or Linux and I still don't see a startup file. What am I missing?
It is all about having the start scipt in $PATH.
HTH,
Markus
After all these years you would think that I would have automatically run “make install” or that I would have read the directions. Nope, not this time. Thanks for laying out the path comment. I’ll try to avoid being so neglectful in the future…
···
Michael Allen
Industrial Weather
763-777-1263
Hi Michael,
mdwxman via grass-user grass-user@lists.osgeo.org schrieb am So.,
27. Dez. 2020, 06:19:I must be either blind or brain-frozen by all the snow outside but even after reading through the introductions
and downloading the North Carolina data I still don’t see how to start GRASS GIS 7.8.5 on my Fedora 33.The reason will be that the start script isn’t yet in $PATH.
So, the question is: did you run this step
sudo make install
?
- if yes, then it should be in /usr/local/bin/ which needs to be in
$PATH (usually it is)- if no, then you need to create a link:
ln -s /where/you/compiled/grass_src/bin.x86_64-pc-linux-gnu/grass78
/some/directory/in/path/Example (here in detail, also for others being interested):
So, in my $HOME I always create a “$HOME/bin/” directory into which I
then link the GRASS GIS startup script (and also other unrelated
stuff). Hence:mkdir $HOME/bin/
Then add this line into $HOME/.bashrc (assuming that you use bash shell):
export PATH=$PATH:$HOME/binNext create the link (adapt path as needed):
ln -s $HOME/where/you/compiled/grass_src/bin.x86_64-pc-linux-gnu/grass78
$HOME/bin/Now either start a new terminal or execute one time (needed as the
current terminal only reads $HOME/.bashrc at startup):
export PATH=$PATH:$HOME/binNow you should be able to start
grass78
I have over 30 years experience with Unix or Linux and I still don’t see a startup file. What am I missing?
It is all about having the start scipt in $PATH.
HTH,
Markus
On Sun, Dec 27, 2020 at 8:46 AM mdwxman <mdwxman@protonmail.com> wrote:
After all these years you would think that I would have automatically run “make install” or that I would have read the directions. Nope, not this time. Thanks for laying out the path comment. I’ll try to avoid being so neglectful in the future...
The fun part is that you can use GRASS GIS directly compiled from the
source code tree No real need to run "make install"... just use
the PATH trick outlines earlier.
BTW: please send suggestions to improve the docs as needed.
Markus