Red Hat
From Wine-Wiki
Contents |
[edit] Red Hat
There are two main methods for installing Wine for Red Hat
- Source:
- Download the (approx 8MB) binary from WineHQ Downloads.
- See Building Wine from Source
- After Installing, type wine and then the path to the program you want to use, and it will run.
- RPM
- Wine comes prepackaged as an RPM from WineHQ Downloads Recommended
- Install it with your package manager that you normally use
- OR with superuser privileges type on the command line rpm -i [wine package name]
L. Zhang [Jun 07 Wine devel]: For older RH (derived) systems. On the Wine download page (http://www.winehq.org/site/download) the text link for RH/Fedora is a 404, and the icon links to an out of date page: http://www.winehq.org/site/download-rh.
Does anyone want to do the builds for these systems? I wrote a script to automate building RPMs for RH 9 / RHEL 3 / CentOS 4. The script checks against the git web interface for the latest version of Wine, and it will download and build Wine if it finds a new release. One just need to have a working copy of the target OS and put the script in a cron job.
Further Reading
Along with the Wine installation are Windows replacement programs for notepad and winemine (which is minesweeper). Both of these can run without Native Windows dlls.
Test that Wine is installed correctly by running the Notepad replacement by typing at the command line
wine notepad
If you can type, save, and also print with 'notepad', you have confirmed your version of Wine is working.
[edit] Red Hat 9
A user reported: Red Hat 9 has been partially broken since 2.4 kernel support has been dropped a while back but this patch makes it totally unusable. It is unfortunate that 2.4 kernel support has been removed from wine because in "The Real World" (large enterprise and dedicated or embedded systems) users don't have the option of upgrading the OS to the latest and greatest. Some systems will never be upgraded once deployed. Dropping 2.4 support is a regression.
A. Julliard countered: 2.4 support is not dropped at all, it still works fine. What doesn't work is using a recent glibc on a kernel that doesn't support NPTL; that's not something we can do anything about. If you use an old glibc with an old kernel everything should still work fine. wine archive
[edit] Troubleshooting Wine rpm installations
A User[Jan 06]: I have downloaded wine*.rpm from wine Hq but i am getting error while installing rpm that dependencis error libgult.so.3 required and i can't find what is lib.so.3
[Anon Jan 05] This question belongs in the wine-user mailing list so first try asking there. You might want to check out one of the many rpm search engines. Confirm the spelling and then a search using the correct file name will produce a list of rpm installations which contain the needed file. eg http://rpm.pbone.net/ or http://www.rpmfind.net/ otherwise a search using the keywords 'Red Hat' and the filename via google and google groups can often get you started. However ask first in the wine user list, and by all means add the answer to the wiki. An often overlooked alternative is building wine from source, as this is not difficult. Wine build from source is easy to uninstall. The instructions are in the readme file.
[edit] rpm Selection
A user: I am concerned that I may have installed the incorrect version. I installed: wine-20050524-1fc3winehq-1.i386.rpm and I think I should have grabbed the i686 version.
Anon: The i686 is an optimized for Pentium processors, but the i386 should work fine (maybe a little slower though!). If you want to remove the old rpm (for future reference), you only need to run "rpm -e wine".
[edit] building an rpm
Is there other ways to install and configure wine on RedHat 9
Tyche [Aug 05]: try grabbing the sources and compiling, have had to do that upon occaision. or if you want to keep your rpm database upto date, run rpmbuild. will make the rpm for you. if you cant find a [wine] rpm that works for rh9, do the same with [the troublesome] glibc. Wine Archive
building an RPM A user [Sept 05] queried about building the RPMs for Redhat 8: I wanted to build a source RPM to work with, so I modified the 20050524 spec file for 20050830. V. Beron posted his spec file for 20050830 on RH8 and explained some of the changes. Wine Archive.
[edit] Forum Comments
D. Kegel [Oct06]: The page http://www.winehq.com/site/download-rh is great, but nobody's built these packages since 0.9.2. Can someone whip out a White Box Enterprise Linux 3.0 build of 0.9.22? wine archive

