What does ".bashrc or prepend the Anaconda install location" mean?
Solution 1:
Is asking if you want to add Anaconda to your
PATH
. This basically means that when you type anaconda at the command line interface it knows where to look for it.Just suggesting you do what
1.
recommended or perform the following command so you are able to run anaconda from the command line without first having to go to/opt/anaconda/anaconda.bin
(this is just an example as i don't know the actual path.)This is a way to add the anaconda install directory to your path so you can just type anaconda. Basically an alternative form of one.
Yes i would recommend you execute number three. It won't hurt anything and will likely just make your life easier.
EDIT
Also when you are trying to switch to root you can just issue sudo su
no -
is needed. Just an fyi it is usually not needed. You might read here for details. Either way no biggie
Solution 2:
If you are using Anaconda3, add the following to the very end of your /root/.bashrc
file:
export PATH="/root/anaconda3/bin:$PATH"
As far as Anaconda path goes, that export
is all you need to know. Anaconda uses hard links.