Jump to content
Sign in to follow this  
anyweb

How to setup WINE in Redhat 8/9/Fedora

Recommended Posts

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

Edited by anyweb

Share this post


Link to post
Share on other sites

by the way, the above worked just fine for me in Fedora Core Release 1.

 

cheers

 

anyweb

Share this post


Link to post
Share on other sites

I was about to post asking where wine put the "c drive" folder, but then I found this post! :D

 

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. :)

Share this post


Link to post
Share on other sites
Guest [NuLL]

i istaled wine in redhat 9.0

anda i cant put it to work, becous it tells me this error :blink:

 

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

Share this post


Link to post
Share on other sites

i have just installed flashfxp in fedora core release 2 using this tutorial :)

 

works fine !

 

cheers

 

anyweb

post-5-1084969245.png

Share this post


Link to post
Share on other sites

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:

 

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

 

z0ny

Share this post


Link to post
Share on other sites

strange i didnt get any error

 

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

 

cheers

 

anyweb

Share this post


Link to post
Share on other sites

I keep getting this error message in my terminal.

error: can't create transaction lock

:blink: 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:

Share this post


Link to post
Share on other sites

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

post-5-1102515659.png

Share this post


Link to post
Share on other sites

now it does !

Share this post


Link to post
Share on other sites

Anyweb nice tut but one thing missing ;) 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

 

su -

 

then run prelink

 

prelink -ua

 

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

 

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

 

and finally run prelinks to disable it:

 

prelink -am --no-exec-shield

Share this post


Link to post
Share on other sites

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:

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...