LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2008, 11:03 PM   #1
taurusx5
Member
 
Registered: Jan 2008
Posts: 424

Rep: Reputation: 30
Wine Doesn't Work - Help !!!


I installed wine using: 'sudo apt-get install wine' ... however, when I right click to open an .exe file with wine, nothing happens.

Also, someone suggested that I use: 'wine program.exe'... however, when I run this in temrinal, I get an error message that says, 'could not load L"c:\\windows\\system32\\program.exe": Module not found'.

What do I do to fix this?

Lastly, is the best way to install wine using 'sudo aptitude install wine'?
 
Old 03-11-2008, 01:57 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
When someone says do "wine program.exe" they mean that you should substitute the "program.exe" part for the name of the program executable. You will probably have to have changed to the directory where the program is installed too.

You should also provide more information - what distro (and version) are you using? What program are you trying to run? What version of wine are you using? Did you check the wine application database to see if it is compatible?
 
Old 03-11-2008, 02:12 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
when I right click to open an .exe file with wine, nothing happens.
That cannot be true - when you rt-click anywhere you should get a context menu.

Would you normally attempt to run an executable in the system32 directory in Windows?

I'm with matthewg42 on this one - more information please.

Quote:
Lastly, is the best way to install wine using 'sudo aptitude install wine'?
In general, yes - depends on specifics, which you have not supplied.
 
Old 03-11-2008, 05:03 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Hmmm... checking: C:\windows\system32\ contains the system files does it not? Is OP trying to run windows under wine?
 
Old 03-11-2008, 06:27 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Wine Doesn't Work - Help !!!
Have you tried vodka?
 
Old 03-11-2008, 06:58 AM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Quote:
Originally Posted by Simon Bridge View Post
Hmmm... checking: C:\windows\system32\ contains the system files does it not? Is OP trying to run windows under wine?
The OP want to run "an .exe file". Not Windows itself. If you call wine with an argument, this is taken to be the path or name of an executable which wine should execute. If it is not a full path, it will be searched for in the current directory, then the Windows PATH and finally the C:\Windows\System32 directory. If the program is not found in any of these, the message which is printed is the one mentioned.

The solution is to change to the directory where the program is found before calling wine. You could also copy the program to the C:\Windows\System32 directory before calling wine, but this is less likely to work - many apps care what the working directory is, and it should be where the program is installed.

Note that when I refer to C:\Windows\System32 under wine, I am actually referring to $HOME/.wine/drive_c/Windows/System32... or whatever the wine settings make the actual path to the windows/wine files.
 
Old 03-11-2008, 05:57 PM   #7
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Also, applications that use shared files- and supply the version they need- dump them in the Windows system folder (because it's in the startup file's PATH statement, and therefore you won't need the entire path defined in the call- only the filename). To simplify execution of the program, Wine obligingly creates all necessary folders during program installation. (drive_c/Program Files/ is another example).

For detailed info on using Wine, go here.

Cheers

Last edited by DragonSlayer48DX; 03-11-2008 at 06:00 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine - Diablo II LOD TCP/IP doesn't work +where is my wine.conf brainlesspinkey Linux - Games 7 08-26-2007 08:10 AM
Problems with "Descent 3" using wine; and does American McGee's Alice work with wine? JBailey742 Linux - Games 6 05-24-2006 04:01 PM
How does Wine work and how do I MAKE it work? TheMusicGuy Linux - Newbie 7 03-10-2004 07:16 PM
How do I get WINE to work? kleptophobiac Slackware 1 08-07-2003 04:43 PM
Wine won't work pilot1 Linux - General 4 03-25-2003 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration