You are not logged in.

#1 2007-09-23 21:55:41

Kienja Kenobi
Member
Registered: 2007-08-17
Posts: 62

WINE Command not Found

I installed WINE 0.9.45 from source without any errors.  I can go to /usr/local/bin via Konqueror and execute the shell scripts that are there and everything works perfectly.  I can even run Windows applications through winefile. 

However, when I try to do anything with WINE through the console, it says the "wine" command does not exist.  If I type "man wine" it once again can not find it.  The WINE install worked perfectly, and I can run WINE by going to its directory with Konqueror, so any ideas why the wine command is not found?

Offline

#2 2007-09-23 21:58:19

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: WINE Command not Found

/usr/local/{sbin,bin} isn't in $PATH by default, last time I looked.


1000

Offline

#3 2007-09-23 22:54:19

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: WINE Command not Found

Protip: if you want to compile wine yourself run configure with --prefix=/home/you/(utilities/)wine45, because it produces a LOT of programs/scripts. This way you also don't need root.
And add $HOME/wine45/bin to your $PATH.

When the next version comes out you can install it to a new directory and delete the old one without having to worry about general package management issues.

Offline

#4 2007-09-23 23:07:08

Kienja Kenobi
Member
Registered: 2007-08-17
Posts: 62

Re: WINE Command not Found

So you are saying for the configure step I will type this:
./configure --prefix=/home/Kienja/Utilities/wine45

And then add "$HOME/wine45/bin" to my $PATH

If what I just said was correct, then my only question is how I add something to the $PATH.

Offline

#5 2007-09-23 23:20:59

TreeMinds
Member
Registered: 2007-09-01
Posts: 35

Re: WINE Command not Found

I think the command is:

export PATH=$PATH:/the/directory

and u put this is ~/.profile or etc/profile to make it permanent.
And to see which paths are in ur $PATH:

set   or   echo $PATH

Offline

#6 2007-09-24 00:12:25

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: WINE Command not Found

Did you know there's a program to print (an) environment variable(s)?

"printenv PATH" (omit the $)

smile

Offline

Board footer

Powered by FluxBB