m.dr
September 28th, 2010, 03:49 AM
I know this has been talked about at length but somehow it's not working for me.
I added a new path /usr/lib/trilinos to the default PATH that is already there in /etc/environment.
I tried adding in 2 ways.
1. Creating a new line PATH="$PATH:/usr/lib/trilinos"
2. I also tried just appending to end of the first line already there by just adding :/usr/lib/trilinos within the quotes.
I saved and started a new terminal and typed echo $PATH and neither time the new path that I added showed up.
What am I doing wrong? I thought that /etc/environment is where its read from.
Thanks.
I added a new path /usr/lib/trilinos to the default PATH that is already there in /etc/environment.
I tried adding in 2 ways.
1. Creating a new line PATH="$PATH:/usr/lib/trilinos"
2. I also tried just appending to end of the first line already there by just adding :/usr/lib/trilinos within the quotes.
I saved and started a new terminal and typed echo $PATH and neither time the new path that I added showed up.
What am I doing wrong? I thought that /etc/environment is where its read from.
Thanks.