LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing and using WINE (https://www.linuxquestions.org/questions/linux-software-2/installing-and-using-wine-625170/)

The Other Guy 03-02-2008 12:34 PM

Installing and using WINE
 
I decided to get Wine from winehq.org, under the Ubuntu package category. To install it, I followed the instructions on the page by adding their repository key like this:

Code:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list

From there, I followed the standard "sudo apt-get update", followed by "sudo apt-get install wine".

After all of this, I'm kind of stumped. I can open WINE only through the terminal by typing "winecfg" (is it supposed to be like this?), and I have tried to add windows programs to my applications list. To do this, the first thing I did was move the files to my wine directory, which is "~/.wine/drive_c/windows".

Unfortunately, WINE can't seem to open the file I want (it's a .exe file with an associated .dll), it keeps saying that it cannot find the needed dll, even though I seem to have it. What is going wrong? Is it a configuration problem, or is the file simply not compatible with WINE?

(NOTE: I was able to open and use Notepad (notepad.exe) with WINE)

Samotnik 03-02-2008 12:49 PM

To run windows progs under wine you need to install it first with wine <path_to_installer.exe>.
Than you can run it with wine <path_to_executable_file.exe>.

The Other Guy 03-09-2008 10:09 AM

I tried that just now, but it didn't work. I checked wine's documentation, and I think I may need to use wineinstall to install the program. Is this true? If so, how do I do it? (Do I type a command, or do I need to download wineinstall on its own?)

Forgive me if I've just said something ignorant; I don't really know what I'm doing with this right now.

ieatsplaydoh 03-09-2008 12:02 PM

Quote:

Originally Posted by The Other Guy (Post 3083005)
I tried that just now, but it didn't work. I checked wine's documentation, and I think I may need to use wineinstall to install the program. Is this true? If so, how do I do it? (Do I type a command, or do I need to download wineinstall on its own?)

Forgive me if I've just said something ignorant; I don't really know what I'm doing with this right now.

You've said nothing ignorant. WINE is sometimes a pain to get running, but with a little bit of effort, you can get many things working.

This site, http://appdb.winehq.org/ , has a database of applications that people have gotten running, and applications that they can't get running. Look for the application you are trying to get to run, and see if there are any instructions.

DragonSlayer48DX 03-09-2008 03:51 PM

Hi,

winecfg is the Wine configuration editor. wine is the program installer/launcher. Go here for detailed instructions on installing and using Windows apps with Wine.

Cheers

The Other Guy 03-12-2008 01:13 PM

Thanks. Here's the situation now: I tried downloading the DLL it says I need. I unzipped it and put it in with the rest. Now, when I run WINE, it spits out these messages:

Code:

fixme:comm:set_queue_size insize 10240 outsize 10240 unimplemented stub
wine: Call from 0x40164f to unimplemented function MFC42.DLL.6625, aborting
wine: Unimplemented function MFC42.DLL.6625 called at address 0x40164f (thread 0009), starting debugger...
Unhandled exception: unimplemented function MFC42.DLL.6625 called in 32-bit code (0x7bc4273f).
wine: Call from 0x40164f to unimplemented function MFC42.DLL.6625, aborting
wine: Call from 0x40164f to unimplemented function MFC42.DLL.6625, aborting

There's also a lot of register dumps which appear, but I wasn't sure whether or not to include them. If someone could tell me what's going on here now, that would be great, thanx.

DragonSlayer48DX 03-12-2008 05:15 PM

Have you checked the links provided by ieatsplaydoh (which lists programs that are known to work, and, more importantly, those that are known to not work with Wine) and by me (which is a tutorial on properly configuring Wine and installing programs to run with Wine)?

Forgive me if I sound ignorant for asking, but we need to know exactly what you're doing. It might also help to know what program you're trying to run.

Cheers

The Other Guy 03-24-2008 06:42 PM

Sorry, I haven't been around for awhile. I'm trying to use a tiny, little program called Loader2.exe, which I finally took your advice and went to Wine's AppDB for. It seems that it will work, but it uses the serial port, so apparently I need to get it to see the port by linking com1 to dos_devices under my .wine directory. So I did, but I still get the same error as I earlier. What I'm really trying to figure out is what these errors mean, and what I need to do to correct them. (You might look at the page I linked to above; there might be something there I'm not understanding.)

Thank you!


All times are GMT -5. The time now is 07:56 PM.