Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-23-2013, 03:52 AM   #1
Registered: Feb 2013
Posts: 273

Rep: Reputation: 9
how to export a path


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:

export PATH=$HOME/ase/tools:$PATH
but when I have
echo $PATH
I cannot see ase and ase/tools in the path. How could it be possible? (I do all these in /home)
Old 06-23-2013, 05:23 AM   #2
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export PATH scucci Linux - Newbie 3 10-28-2009 08:14 PM
Ubuntu 8.04 loses my $PATH. Why do I have to repeatedly export PATH= ? oouc Ubuntu 10 09-13-2009 11:54 PM
export PATH problem arnuld Fedora 13 12-13-2007 10:01 AM
export Path=/usr/java:$Path does not seem to work lumix Linux - Newbie 1 03-19-2007 03:11 PM
export PATH disappears twallstr Linux - General 4 12-13-2004 02:57 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration