1
vote
1answer
67 views

Changing the PATH variable for a process running as a user on Linux

I have a server application which I start using an init.d script and run as a user: su $USER -c "${PLAY} start ${APPLICATION_PATH} --%prod-test >/dev/null" The application needs ffmpeg, which is ...
1
vote
1answer
2k views

/etc/environment not working

I am using Ubuntu 12.04. Recently, I accidentatlly removed python, causing a huge number of packages to be uninstalled. I reinstalled them, but now I am having problems. $ echo $PATH ...
3
votes
2answers
89 views

Recently installed applications missing from $PATH

When I install apps using apt-get or NVM or NPM on Ubuntu, I can type the command and it works. Then I log out of the shell and log back in. Now none of the things I installed work when I ask for ...
1
vote
2answers
635 views

why can't linux see my run.sh command?

I have a run.sh in a directory in ubuntu linux 12.04 LTS. I've been changing the Path variable so that it can "see" binaries elsewhere in the directory structure. But I am still getting a command not ...
1
vote
0answers
367 views

How to install Ruby Test to Sublime Text 2

I am quite new to Ubuntu, so I am running into some problems. I was following this tutorial to install Ruby Tests for Sublime Text 2: https://github.com/maltize/sublime-text-2-ruby-tests There is ...
3
votes
3answers
2k views

A system-wide way to set or get $JAVA_HOME in Ubuntu?

I wonder whether Ubuntu itself provides a system-wide way to find the current JAVA_HOME or whether there is right place for setting JAVA_HOME. Mac OS X does well in this, for /usr/libexec/java_home ...
2
votes
4answers
586 views

Update Linux Path permanently [duplicate]

Possible Duplicate: How do I set a user environment variable? (permanently, not session) How can I permanently modify the PATH variable in Ubuntu? Is it possible to do it without modifying ...
0
votes
2answers
2k views

Unix (Ubuntu Server): $PYTHONPATH resets to blank when I reboot [duplicate]

Possible Duplicate: How to make exported shell variables permanent? Each time I set the $PYTHONPATH on my new Ubuntu server machine (old Thinkpad) and reboot, it's reset to blank. I'm ...
1
vote
1answer
2k views

Help with installation of ROOT, PATH variable is getting deleted

I am trying to install ROOT which I need for work. I run Ubuntu 10.04 64 bit on virtualbox on my laptop. After extracting the tarball, I try to source the .sh file using the command as suggested in ...
2
votes
2answers
262 views

Software (SciTe) runs differently when opened from Terminal Vs GUI

When I open SciTe from the terminal everything works fine. When I open it via Ubuntu 10.04 GUI drop down boxes I get this error every time I try to run a ruby program: sh: ruby: not found At this ...
2
votes
1answer
1k views

temporary setting the path in an “init” file

I have an "init" file that reads #!/bin/sh export PATH=$PATH:/home/me/morph_numsys/software/bin by which I'd just like to set the path to that folder for only this bash session. However, when I ...