LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to export a path (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-export-a-path-4175467056/)

sryzdn 06-23-2013 03:52 AM

how to export a path
 
Hi,

I am installing a package called python-ase. I want to put the directory $HOME/ase in my PYTHONPATH environment variable using the following commands:

Quote:

export PYTHONPATH=$HOME/ase:$PYTHONPATH
export PATH=$HOME/ase/tools:$PATH
but when I have
Quote:

echo $PATH
I cannot see ase and ase/tools in the path. How could it be possible? (I do all these in /home)

catkin 06-23-2013 05:23 AM

Where are you running those export commands? The classic reason for your problem is putting the export commands in a script and executing it. Easiest solution is to put them in one of your shell's startup files. For bash, ~/.bashrc.

If the problem continues, please give more details of what you are doing.


All times are GMT -5. The time now is 09:51 PM.