Ubuntu – ANACONDA – I have to type export PATH=~/anaconda3/bin:“$PATH” everytime I rerun the terminal

16.0418.04anacondapython3

Whenever I open a terminal, I have to write

export PATH=~/anaconda3/bin:$PATH

to use any feature of anaconda

I want a persistent path.

Best Answer

the file .bashrc (hidden file), located in the home directory, runs codes every time a new terminal is opened.

Then add a line on it:

export PATH=~/anaconda3/bin:$PATH
Related Question