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?
Open the file for editing with
gedit ~/.profile
Add the command to the bottom of the file.
Save and close gedit.
Log out and log in again.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments