I am completely new to Ubuntu, and I would permanently set an environment variable.
I have read here that I have to set ~/.profile, but I don't know how to apply it. In my case I would permanently set export PATH="/home/name/anaconda/bin:$PATH", how could I do?
Asked
Active
Viewed 1.8e+01k times
56
Simone
- 663
1 Answers
62
- Open a terminal window with Ctrl+Alt+T.
Open the file for editing with
gedit ~/.profileAdd the command to the bottom of the file.
Save and close gedit.
Log out and log in again.
Gunnar Hjalmarsson
- 34,191