LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-10-2020, 02:21 AM   #1
notooth
Member
 
Registered: Apr 2005
Posts: 192

Rep: Reputation: 15
How to install Wine 32bit on CentOS 8.1 64bit?


Hello,

Can anyone guide me install Wine 32bit on CentOS 8.1 64bit?
 
Old 03-10-2020, 09:58 AM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
https://tecadmin.net/install-wine-centos8/
 
Old 03-10-2020, 12:43 PM   #3
notooth
Member
 
Registered: Apr 2005
Posts: 192

Original Poster
Rep: Reputation: 15
After building Wine 32bit from source, it gives me a error:
Code:
0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
Can you help?
 
Old 03-10-2020, 11:11 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
should be as easy as using yum
Code:
su -
yum install wine
it is in the epel repo

this will install the 32 and 64 bit ( multi DLL )

you might also want to install the qt front end " q4wine"
 
Old 03-11-2020, 05:47 PM   #5
notooth
Member
 
Registered: Apr 2005
Posts: 192

Original Poster
Rep: Reputation: 15
Hi John,

After installing wine from the repo, I cannot use it:

Code:
$ WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine app.exe
wine: '/home/notooth/prefix32' is a 32-bit installation, it cannot support 64-bit applications.

$ WINEPREFIX="$HOME/prefix64" WINEARCH=win64 wine64 app.exe
wine: Bad EXE format for app.exe.

Last edited by notooth; 03-11-2020 at 05:58 PM.
 
Old 03-11-2020, 05:58 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
After installing wine from the repositories with
Code:
yum install wine
the resultant path is:
Code:
[root@localhost:~]# which wine
/bin/wine
[root@localhost:~]# which wine64
/bin/wine64
Whatever is in /home is probably leftover from your earlier attempts.
 
Old 03-11-2020, 06:46 PM   #7
notooth
Member
 
Registered: Apr 2005
Posts: 192

Original Poster
Rep: Reputation: 15
I installed wine with this command:
Code:
# yum install wine
But the path is:
Code:
$ which wine
/usr/bin/wine
$ which wine64
/usr/bin/wine64
 
Old 03-11-2020, 06:52 PM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by notooth View Post
I installed wine with this command:
Code:
# yum install wine
But the path is:
Code:
$ which wine
/usr/bin/wine
$ which wine64
/usr/bin/wine64
My point is that you were changing where to look for wine. /user/bin should be in your PATH. Don’t set WINEPREFIX, just login as the regular user and run
Code:
wine app.exe
to setup that user’s environment.
 
Old 03-11-2020, 07:00 PM   #9
notooth
Member
 
Registered: Apr 2005
Posts: 192

Original Poster
Rep: Reputation: 15
I still get the same error:
Code:
$ wine app.exe
wine: Bad EXE format for app.exe.

Last edited by notooth; 03-11-2020 at 07:09 PM.
 
Old 03-12-2020, 08:53 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what is this windows program you are trying to run ?

Not every microsoft program will run in wine
 
Old 03-12-2020, 09:16 AM   #11
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Puppy's way of handling this is for devs, at release of any new, 'official' version, to produce an SFS package which adds all the possible, commonly-required 32-bit dependencies to the /usr/lib32 directory. Following which you merely issue

Quote:
ldconfig
....to integrate it with the system. Because it's an SFS package, and can be loaded/unloaded 'on-the-fly', you just 'install' it as & when required....

Puppies always use the 32-bit versions of WINE, because WINE64 is just a pain in the a**e to get running. At all. Personally, I use a single, external 'install' of WINE in its own dedicated directory, sym-linked, via custom-made .pet packages, into 32- and 64-bit Puppies alike. Once set-up in any Puppy, it just works, OOTB, in any other.

Custom Menu entries permit me to access WINE from whatever Puppy I happen to be using for the day.


Mike.

Last edited by Mike_Walsh; 03-12-2020 at 09:22 AM.
 
Old 03-12-2020, 01:22 PM   #12
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by notooth View Post
I still get the same error:
Code:
$ wine app.exe
wine: Bad EXE format for app.exe.
I’m wondering if you have a bad app.exe left from your non-repo attempts.
 
Old 03-14-2020, 05:55 AM   #13
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
this will install the 32 and 64 bit ( multi DLL )
On CentOS 7, yes. But unfortunately, only wine64 is packaged for EPEL 8:
Code:
$ rpm -q wine
wine-4.0.3-1.el8.x86_64
Code:
$ ll /usr/bin/wine{,64}
lrwxrwxrwx. 1 root root    22 13. Dez 13:26 /usr/bin/wine -> /etc/alternatives/wine
-rwxr-xr-x. 1 root root 20024 27. Nov 16:10 /usr/bin/wine64
Code:
$ alternatives --display wine
wine - status is auto.
 link currently points to /usr/bin/wine64
/usr/bin/wine64 - priority 10
 slave wine-preloader: /usr/bin/wine64-preloader
Current `best' version is /usr/bin/wine64.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 13 32bit and then Linux Mint 32bit and then Ubuntu 10.04 32bit ciao303 Linux - Newbie 3 08-09-2010 11:03 PM
Porting 32bit application to 64bit on 64bit RedHat 5.4 pvpnguyen Programming 4 07-23-2010 06:52 AM
In a 64bit PC may make 4 partitions vista 32bit, vista 64bit, and ... lse123 Linux - Newbie 3 03-14-2009 09:09 AM
32bit(i386) or 64bit(amd64) on an amd 64bit cpu (amd 6000+)? d-_-b Debian 7 10-28-2007 07:48 PM
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration