Ubuntu :: /usr/games' Is Not Included In The PATH Environment Variable

Dec 6, 2010

I get this every time I try to run a game eg pacman Command 'pacman' is available in '/usr/games/pacman' The command could not be located because '/usr/games' is not included in the PATH environment variable. pacman: command not found

View 4 Replies


ADVERTISEMENT

Software :: Adding Sth - To All Users PATH Variable - Sudo Included

Aug 3, 2010

I've installed rubygems on ubuntu, but it has a known issue that the rubygems' bin/ directory is not in the PATH. I know about exporting the PATH variable, and adding it to .bashrc, but I'd like to configure it so that every user has it on his PATH, even if he tries to run it with sudo. Where should I export the PATH variable then?

View 2 Replies View Related

Ubuntu :: PATH Environment Variable?

Oct 20, 2010

I have just installed Ubuntu onto my machine and my question is if it automatically comes with the PATH environment variable?If so, how do I add something such as python.exe to the PATH environment variable?

View 2 Replies View Related

General :: Set The PATH Environment Variable?

Apr 25, 2011

set the PATH environment variable?

View 4 Replies View Related

Debian :: Setting PATH Environment Variable

May 19, 2015

I have been trying to change my PATH environment variable to no avail. I am using Jessie i386 with MATE. Using my .bashrc file works but not well because with subshells the modifications get repeated. I want the change to occur on login.

I tried modifying ~/.profile ~/.bash_profile /etc/profile and /etc/environment and one or two others but in no case did my change get picked up even after logging out and in again and even after rebooting. I searched the Internet and found each of the above places to make the change but they don't seem to work with Jessie.

Where do I make the necessary change?

View 7 Replies View Related

Ubuntu :: Gnome 3 Application Not Launching Because Of Path Environment Variable?

Apr 26, 2011

I am using gnome 3 and I installed neverputt from the repos, and when I click the icon in applications, it doesn't launch. Running it from the terminal gives:

Code:
Command 'neverputt' is available in '/usr/games/neverputt'
The command could not be located because '/usr/games' is not included in the PATH

[code]....

View 6 Replies View Related

Networking :: PATH Environment Variable To Be Updated In Apache?

Jan 21, 2011

I want to know from which configuration file , will apache take the environment variables ? In one of the test.php file , I added phpinfo() and saw that, PATH variable shows :

PATH/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/bin:/usr/java5/jre/bin:/usr/contrib/bin:/opt/freeware/mysql/bin

I want to add another path in this PATH variable. I tried to edit the /etc/environment file , ~/.profile file , stopped and started the apache server (httpd) , but still I am not able to see the PATH variable updated . Can anyone please help me out to know where should I make the changes to get the PATH variable updated ?

View 2 Replies View Related

General :: Deleted Path Variable - How To Return To The Original Path Value

Apr 26, 2011

Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.

View 3 Replies View Related

General :: Create An Environment Variable With The PRINTER Variable?

Apr 16, 2011

I am supposed to create an environment variable with the PRINTER variable, which should resolve to the word sales. Would the command be like this?: env PRINTER - NAME=SALES (is this the command to create that variable with resolving the word sales to it?)

View 3 Replies View Related

Red Hat / Fedora :: Appending A Path To PATH Variable Permanently?

Oct 21, 2010

how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.

View 2 Replies View Related

SUSE / Novell :: Add Path To $PATH Variable?

Apr 19, 2009

I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.

View 2 Replies View Related

Debian Configuration :: Environment To Run Old Linux Games-template

Mar 20, 2016

I have some old linux based games and applications that require old libraries to run.But in the mists of time, I've lost the scripts on how to set up a sandbox environment to run them. Any template for that type of fiddle? I should be able to resource libraries contemporary to the games from my collection of old distros, but my web fu on this matter(jargon) is cracked. It would have to be easier that continually trying to fiddle the MS OS version to run under Wine/PlayOnLinux. I've got Myst II, Civilisation CTP and Railway Tycoon II, although I think the last app I ran was Word Perfect 8.

View 3 Replies View Related

Ubuntu :: How To Set Environment Variable

Jun 28, 2010

Well on a Rsps forum it says that the reason i keep crashing in the client is cause my Envieronment Variable isnt set for Java. i was wondering how to do this.please make it deatailed since i am new to ubuntu and i dont know most of the things like usr/java

View 9 Replies View Related

Ubuntu :: Set The Environment Variable?

Feb 4, 2010

I'm trying to set the environment variable. java_home and path.

I used the following instruction:
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.14
and to check :
echo "java_home=$JAVA_HOME"
and every thing is ok.

But since i close the terminal every thing is deleted.

View 13 Replies View Related

Ubuntu :: How To Set A Environment Variable For Gnome

Jun 19, 2010

I'm trying to configure subclipse with JAVAHL for ganymede. I have everything installed and the right version of the JAVAHL.

I have seen that a lot of people uses java.library.path in the eclipse.ini file to set it up or just write a script for launching eclipse.

I have read about the .gnomerc file but i couldn't find it or create one and make it work. I'm using a 9.04 ubuntu.. is there anyway to configure an environment variable for gnome? What i want is just click on the shotcut and have it working, not having to run a script or all that stuff.

View 1 Replies View Related

Ubuntu :: TERM Environment Variable Not Set?

Oct 10, 2010

I just upgraded to 10.10, I use Tilda (terminal client) on my desktop but now when I type "clear" it says "TERM environment variable not set." instead of clearing the screen. Also commands like "tree" does not show folders and iles in color like they did before upgrading.

View 4 Replies View Related

Ubuntu :: Set Environment Variable In A Launcher?

Dec 1, 2010

I am trying to create a launcher which runs virtual box from a custom config directory. For this I have to set an environment variable first then call VirtualBox command. From terminal it looks like:

Code:
helena@mint ~ $ export VBOX_USER_HOME=/mnt/shared/VirtualBox/
helena@mint ~ $ nohup VirtualBox > /dev/null 2> /dev/null &

If I have to create a shortcut for this, I am not sure how to define variable & call the command in a single command. There are some examples on:

[URL]

Code:
"DISPLAY=:0 xterm"

but when I try this, it wont work. My test.Desktop entry (I have started x on :1):

Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0

pCode]....

View 2 Replies View Related

Ubuntu :: PATH Variable Set At Startup?

Jul 29, 2011

I need to set PATH environment variables so they will be set every tie I startup ubuntu. Is there a startup script that will do this, and where is it located?

View 2 Replies View Related

Debian :: Cannot Add Environment Variable

Apr 27, 2015

I'm trying to add 2 new environment variables (Debian . I have created a "/etc/profile.d/java.sh" file and in it I have added these lines (and just for the record, I've also tried adding those line to the profile file with the same results as explained below).

Code: Select allexport XAPPLRESDIR=/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83/X11/app-defaults

export LD_LIBRARY_PATH=/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83/bin/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v83/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v85/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v85/bin/glnxa64:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v85/sys/os/glnxa64

The first variable "XAPPLRESDIR" is added just fine (I check by doing echo $XAPPLRESDIR). The second variable is not added. Here's what I discovered though, if I change the variable name to LD_LIBRARY_PATK (I change the word "path" into something else) then it works just fine... So how am I supposed to add this variable? I need it to be named just that...

View 1 Replies View Related

Software :: How To Set Environment Variable

Mar 8, 2011

how to set environment variable as i am getting following message during ./configure.

checking for GtkGLExt - version >= 1.0.0...
*** pkg-config cannot find gtkglext-1.0 >= 1.0.0
*** Set the environment variable PKG_CONFIG_PATH to point to the correct

[code]...

View 18 Replies View Related

Programming :: Set Environment Variable Is Tcl ?

Apr 22, 2011

How are environment variable set in tcl? I tried "set $env(MYVAR) xxxx" but it didn't work.

View 1 Replies View Related

Slackware :: Environment Variable Being Set Twice?

Jul 25, 2010

I'm setting my CLASSPATH in /etc/profile.d/jre.sh. In a login shelleverything is fine. In an xterm window, the CLASSPATH consists of two of every intended entry.In jre.sh I am doing aCode:export CLASSPATH=$CLASSPATH:/many/paths/to/jarsSo I'm guessing this is getting run twice in the xterm case. Can someone explain what's going on here and what I should do to remedy this?

View 12 Replies View Related

Ubuntu :: Put An Environment Variable Back To Its Default?

Mar 2, 2010

I am happy to say that after almost a week of wandering around the INTERNET and posting desperate questions to our Ubuntu forums on how to set paths etc., I have finally begun to understand just how environment variables and path setting works. I must say, it wasn't all reading this or that, but rather making changes to my paths that helped me to understand. Anyway, if anyone who does not understand environment variables is reading this, then I recommend reading this

HTML Code:
http://java.sun.com/docs/books/tutorial/essential/environment/paths.html
and this
HTML Code:
http://www.belugalake.com/java/pathsetting.html

OK- I have 1 last question for my fellow linux users. Lets say I opened up $HOME /.profile and did some editing, and later decided to undo all of my changes but I forgot exactly what changes I made so now I want to set the default in there. How would I accomplish this? How do I set the defaults for any ~/.bashrc or ~/.cshrc type of files that I change.

View 1 Replies View Related

Ubuntu :: Set Current Directory As Environment Variable?

Jul 10, 2010

I have a simple shell script name "run.sh".

Code:
export PYTHONHOME="lib/"
python dispatch.py

[code]....

View 1 Replies View Related

Ubuntu :: Put Environment Variable In A Launch Button?

Apr 30, 2011

I use Emacs and there's a bug that highlights everything whenever you use the ver scroll bar with your mouse. (My bad: Only wimps use Emacs in a window.) The workaround is to start Emacs with this on a command line:

Code: $ GDK_NATIVE_WINDOWS=1 emacs where "$" is the shell prompt. Q: how can I put this environment variable in the Emacs lauch icon? Or how/where can I put this in a .bash* file and have it activated (without relogging in)? I've forgotten so much of my Unix cave man skills with Ubuntu. . .

View 7 Replies View Related

Ubuntu :: Environment Variable In A Launch Button?

Aug 9, 2011

I use Emacs and there's a bug that highlights everything whenever you use the ver scroll bar with your mouse. (My bad: Only wimps use Emacs in a window.) The workaround is to start Emacs with this on a command line:

Code:

$ GDK_NATIVE_WINDOWS=1 emacs

where "$" is the shell prompt. Q: how can I put this environment variable in the Emacs lauch icon? Or how/where can I put this in a .bash* file and have it activated (without relogging in)? I've forgotten so much of my Unix cave man skills with Ubuntu. . .

View 3 Replies View Related

General :: How To Set The Path Variable

Jan 14, 2010

By mistake I have modified the PATH variable you know what a kind of mess it is.

Code:
echo $PATH

I just need to set the path variable again so I just need the format. Or can anybody come up with how to set the path variable.

View 6 Replies View Related

Ubuntu :: Add PATH Variable In Root Terminal

Mar 16, 2010

I want to add a path (/usr/sys) to the global $PATH. I will use this to test commands and scripts, which I don't want to be mixed up with regular commands. I've added the path to /etc/environment. When I start a terminal session under my user account, the path is included in the $PATH variable. However, when I start a root terminal, it is not. Is there a way to to change $PATH on one place where it will also affect the root terminal, or do I have to change it on 2 locations?

View 4 Replies View Related

General :: Where Is The $HOME Environment Variable Set

Apr 17, 2011

I'm looking for the place where $HOME environment variable set. It is after login, to my mind.

I'm using Linux debian 2.6.32-5-686.

View 3 Replies View Related

General :: Set Environment Variable With A Given Script?

Nov 23, 2009

i have to set environment variables , after the installation of intel(R)MKL for linux OS given in intel mkl user guide, which are INCLUDE, LD_LIBRARY_PATH, MANPATH,LIBRARY_PATH, CPATH, FPATH, NLSPATH using the script file which, in my case,is "mklvarsem64t.sh"How can i set these environment variables?Do i need to set all these variables?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved