I'm trying to change the directory that is accessed when I call
blender in my terminal.
This is currently where it is:
...$ which blender /usr/bin/blender
And I'd like to instead use the version of blender I have located in:
I understand that similar questions have been asked, but I can't find anything that helps with my beginner level.
I'm using Debian 9.
...$ echo $PATH /home/myname/tools/cmake/bin/:/<private>/home/myname/<private>/:/home/myname/tools/anaconda3/bin:/home/myname/tools/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Question 1: Why don't I see the "/usr/bin/blender" path when I call echo $PATH?
Question 2: How do I permanently change the directory that's called when I type "blender" into the command line?
export PATH=$PATH: ~/tools/Blender-2.79-CellBlender/blender
which works, but this doesn't help because:
it doesn't permanently change the PATH, and
since I already have "/usr/bin/blender" in the PATH (though I don't know how to see that!), it will always go to the first directory in the PATH, which isn't the one I want.