Solved

how to get win32 software to run on linux

Posted on 2002-06-11
7
241 Views
Last Modified: 2010-04-20
Hi,

I have offically switched my machine to linux redhat 7.3
I was wondering can any tell me what is the best way to run a win32 application in linux?
What is the difference in vmware, wine em2dos etc...?
Which one is the best to first setup?
I have never tried any of them. I had softwindowns for my SGI which ran win95 and that sucked! It was so slow.

Thanks onestar
0
Comment
Question by:onestar
  • 4
  • 2
7 Comments
 
LVL 15

Accepted Solution

by:
samri earned 50 total points
Comment Utility
Onestar,

Wmware is very good, and runs flawlessly.  The problem is, you might need a huge mem, and fast processor.  In addition, it is NOT free.  But it should work just fine.

Wine is free, but I haven't got a chance to try them.  Try doing a "wine program-name.exe".  Reading manual page for wine should be a good start; man wine

0
 
LVL 15

Expert Comment

by:samri
Comment Utility
OK, I got wine working with some basic windows program.  My system is running Rh7.2 full install.  Have win98 (in /dev/hda2 mounted at /mnt/win98).

You will need to create a directory .wine in your home dir.  I logged in as root, and create the dir .wine, and create the file wine.conf in that dir.  Basic config would look like (copied from a website -- forgot the link already).

----------
[Drive C]
Path=/mnt/win98/
Type=hd

[wine]
Windows=c:\windows
System=c:\windows\system
Path=c:\windows;c:\windows\system
Temp=c:\temp
----------                    

to run a program, I cd'ed to /mnt/win98/windows, and try;
winelauncher winmine.exe

voila; you got Minesweeper running.

SOme basic windows program should run, calc.exe, notepad.exe.  haven't got a chance to try others.

good luck.
0
 
LVL 1

Author Comment

by:onestar
Comment Utility
Do you have to have windows installed on a drive to use wine?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 15

Expert Comment

by:samri
Comment Utility
Onestar,

I believe it won't be necessary if you were to run some standalone Windows program (like notepad, calc).  However in most cases, some windows program might be calling other DLL's that is required.  It is best to have an exact windows directory tree (mine is available since I mount the partition for win98 under /mnt/win98).  

Licensing would be an issue is you have one windows installation, and you copied it over to your linux dirs.  But by mounting it under linux, it should be OK.

Perhaps you might want to check Wine FAQ at http://www.winehg.com/

I kinda like VMWare, since it's a virtual machine running on top of Linux, whereas Wine is just an emulator.

cheers.
0
 
LVL 2

Expert Comment

by:fremsley
Comment Utility
> The problem is, you might need a huge mem, and fast
> processor.

I use NT4 in VMWare with a K6/300MHz 128MB machine -- it's
'good enough.'

> SOme basic windows program should run [with Wine]

And some others too; Photoshop 4.01 for example.

> It is best to have an exact windows directory tree

Most programs work fine when they have been installed
using a normal Windows installation. After setup the
program's directory tree can be moved to a place using
the same path in Wine. When needed DLLs are missing,
Wine will print an error message, so one can find the
missing libraries.

> Licensing would be an issue is you have one windows
> installation [...]

No problems in the European Union as long as both
installations are on the same computer.

Hope it helps

0
 
LVL 15

Expert Comment

by:samri
Comment Utility
onestar,

any luck?
0
 
LVL 1

Author Comment

by:onestar
Comment Utility
Thanks for the help,

I got wine to work for some small exe files. I downloaded a trial of vmware and got it to work for redhat 7.3.  I will keep testing it out but it seems pretty good.


Onestar
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now