I used the command:
PATH=$PATH:/opt/lum/ls/os/linux/bin/;export PATH
in terminal to add that path to the path command, but every time I leave the terminal window and check it again with
echo $PATH
It is no longer in there.
I am trying to install the play framework permanently.
http://www.playframework.org/documentation/2.0.2/Installing
export PATH=$PATH:/path/to/play20
This works fine, but after i close my command line, i have to reinstall it.
Is there a permanent solution?
I am trying to set LD_LIBRARY_PATH in my .bashrc, but it wont work when I add more than one path:
export LD_LIBRARY_PATH=/path/to/lib1
works fine, and when I type $LD_LIBRARY_PATH on a new terminal, I get
$ $LD_LIBRARY_PATH
bash: /path/to/lib1: is a directory
but when I try
export LD_LIBRARY_PATH=/path/to/lib1:/path/to/lib2
(I also tried export LD_LIBRARY_PATH=/path/to/lib2:$LD_LIBRARY_PAT
As far as I understand, the usual way to add a path to the PATH environment variable is by concatenating paths separated by the : character.
I have an application named delphi in Delphi_Dp directory.
Its PATH is /usr/kalyan/Downloads/Delphi_Dp
I have done export
PATH=$PATH:/usr/kalyan/Downloads/Delphi_Dp
echo 'export PATH=$PATH:/usr/kalyan/Downloads/Delphi_Dp' >> ~/.bash_profile
But in terminal, when I type delphi, it is showing Command not found.
Please Help..
So I am using CentOS 6.3 a fresh install and I was trying to add things to my path for OpenMPI so I edited my .bash_profile file to read:
FOO='test'
export FOO
# Add support for MPI
PATH=$PATH:/usr/lib64/openmpi/bin
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
Which apparently isn't being read when I start up a bash shell, my $PATH is without the /usr
I need to alter my PATH variable so I put export PATH=$PATH:somedir in my $HOME/.profile which is sourced by my $HOME/.zshrc.
This works, yet whenever I open a new terminal (urxvt in X11), .zshrc and thus .profile is read, adding the :somedir to the PATH again.
I have a JAVA_HOME variable, doing >echo $JAVA_HOME gives "old/path/to/my/jdk.1.7". I go to terminal and do a export JAVA_HOME=new/path/to/my/jdk.1.8.0 which works fine for the duration of the terminal session, but soon as I start a new tab/terminal instance and do a >echo $JAVA_HOME it gives me: old/path/to/my/jdk.1.7. What could I be doing wrong.
I'm pretty new to Apache Tomcat and somewhat new to Linux altogether. I am trying to install the JDK, which is a prereq for Apache Tomcat. I downloaded and untarred the JDK to /usr/java and now I'm trying to set the environment path.