Help - Search - Members - Calendar
Full Version: How to setup WINE in Redhat 8/9/Fedora
linux-noob.com/forums > Linux Noob > Wine
anyweb
my original wine guide (with screenshots) is here

http://anyweb.kicks-ass.net/computers/os/l...wine/index.html

----------------------------------------------------------------------


To install Wine for Red Hat 9 or Fedora Core Release 1/2 choose a link below corresponding to your CPU/Processor type and download the appropriate rpm from SourceForge:-



Pentium 4

Other Pentiums

Athlon

Please note that a full list of available WINE downloads and up to date rpms is located right here http://prdownloads.sourceforge.net/wine


ok to make this easier for y'all (lazy and uninformed ;-) ) check this list below (it's reasonably current) and match your DISTRO VERSION with the corresponding RPM.
in other words, if you are using FEDORA then do not try to install an RPM for SUSE, it won't work.



SUSE
-------

SUSE 9.1 professional

http://prdownloads.sourceforge.net/wine/wi...inux91.i586.rpm

SUSE 9.0

http://prdownloads.sourceforge.net/wine/wi...inux90.i586.rpm

SUSE 8.2

http://prdownloads.sourceforge.net/wine/wi...inux82.i586.rpm

SUSE 8.1

http://prdownloads.sourceforge.net/wine/wi...inux81.i586.rpm

REDHAT
-----------

REDHAT ENTREPRISE 3

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

REDHAT 9

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

REDHAT 8

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

REDHAT 7.3

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm



FEDORA CORE RELEASE x
------------------------------------

FEDORA CORE RELEASE 3

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

FEDORA CORE RELEASE 2

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

FEDORA CORE RELEASE 1

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

Once you have downloaded your rpm, open a console and login as root change to the directory that you downloaded the rpm file to, and then do:-

rpm -ivh wine*

The output should look something like this:-

[root@c-52aa70d5 rpms]# rpm -ivh wine*
Preparing... ########################################### [100%]
1:wine ########################################### [100%]
[root@c-52aa70d5 rpms]#


Provided you didn't get any dependancy errors, you have now got wine installed so let's test it.

Go and download mIRC (that's a Windows Program).

When you have downloaded it, LOGOUT as root and LOGIN as a normal user (for example anyweb or whoever you are) and go to (cd) the directory you downloaded the mIRC executable to, and type as follows:-

wine mirc603.exe

This command tells wine to 'run' a windows 'program'.

After a lot (an awful lot :-)) of scrolling in the console (and it can take a few minutes) you could be lucky like me and see the mIRC installtion setup screen. Continue with the install by clicking on next... and next and so on and please ignore any non-fatal errors relating to 'desktop icons'.

Once done, you should now have mIRC working (or whatever windows application you were testing). In this example we assume that we have installed it successfully so we are going to search for the application (mirc.exe).

We do know that mIRC ends up as an executable called 'mirc.exe' however we cannot search for it yet, we need to update the file system database. As root, open a console and type

updatedb

It will take some minutes. Once done, type

locate mirc.exe

This is the result i got:-

[anyweb@c-52aa70d5]$ locate mirc.exe
/home/anyweb/.wine/c/Program Files/mIRC/mirc.exe
[anyweb@c-52aa70d5]$


Now that we know where mirc.exe is, we can cd (change directory) to the mIRC folder now and run mIRC by typing:-

cd /home/anyweb/.wine/c/Program Files/mIRC/

and then wine mirc.exe
anyweb
by the way, the above worked just fine for me in Fedora Core Release 1.

cheers

anyweb
gamekeeper
Lets see if it works for me smile.gif
Lem0
I was about to post asking where wine put the "c drive" folder, but then I found this post! biggrin.gif

It looks like wine by default puts the c-drive folder at /home/yourname/.wine/c/ This could save you the time of doing the updatedb and listening to some rather scary sctartching noises as the command hits your hard drive. smile.gif
[NuLL]
i istaled wine in redhat 9.0
anda i cant put it to work, becous it tells me this error blink.gif

Warning: no valid DOS drive found, check your configuration file.
Warning: could not find wine config [Drive x] entry for current working directory /root/wine; starting in windows directory.
Invalid path L"c:\\windows" for L"windows" directory: does not exist.
Perhaps you have not properly edited your Wine configuration file (/root/.wine/config)

any one knows how to resolv this problame???
Thanks in advance
anyweb
i have just installed flashfxp in fedora core release 2 using this tutorial smile.gif

works fine !

cheers

anyweb
z0ny
I got a problem installing it on Fedora Core 2, the error message said: "wine: failed to create the process heap". Anyways, I figured it out: the exec shield is the problem. Here's the fix:

CODE
echo 0 >/proc/sys/kernel/exec-shield


z0ny
anyweb
strange i didnt get any error

what version of wine (what rpm) did you install/download ?

cheers

anyweb
Another Escape
I keep getting this error message in my terminal.
QUOTE
error: can't create transaction lock

blink.gif I dunno. I'm such a newbie. I just figured out how to switch directories in the terminal...and admittedly, this is my first attempt at installing something. unsure.gif
hockeypowah
anyweb, can you give me the link to the wine rpm you use?
ThePump
FEDORA CORE RELEASE 3

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm
anyweb
ive installed flashfxp (old version 2.1) in fedora core release 3 with this rpm for wine

for some reason the newest version of flashfxp does install but locks up once it connects to any ftp server

checkout the screenshot and the fonts, i installed the microsoft TTF fonts here in fedora as well, it makes things look so much better (compare the screenshot below with the one above, look at the fonts !!)

cheers

anyweb
lia
the very first link does not work..
anyweb
now it does !
xDamox
Anyweb nice tut but one thing missing wink.gif disabeling exec-shield this causes alot of problems
especially if you run Crossover office which is based on Wine. if you keep your machine upto
date disabeling exec-shield will be ok

first su root

CODE
su -


then run prelink

CODE
prelink -ua


next edit the PRELINK_OPTS in /etc/sysconfig/prelink change PRELINK_OPTS to:

CODE
PRELINK_OPTS="-m --no-exec-shield"


and finally run prelinks to disable it:

CODE
prelink -am --no-exec-shield
mizzy
Stupid question..

I'm interested in running wine on my laptop whichis currently running FC4. So which RPM do I download? There's only 1, 2 & 3 there and I'm running FC4 huh.gif
xDamox
Hi mizzy,

Try this as root:

CODE
yum install wine
mizzy
That's worked, cheers smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.