LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-16-2014, 12:46 AM   #1
klerg
LQ Newbie
 
Registered: Oct 2007
Posts: 25

Rep: Reputation: 0
Can Slackware 64 run 64-bit Windows programs with Wine?


I have Slackware 64 14.1, and installed the multilib library for 32-bit support. Now, I'm not sure which Wine package(s) to install that will be able to run both 64-bit and 32-bit Windows programs.

Thanks

Last edited by klerg; 03-16-2014 at 12:49 AM.
 
Old 03-16-2014, 01:55 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
Wine has a pure 64-bit version, as well as a 32-bit version, but it's also got some WOW64 capabilities if you build for it. Instructions to do so are on the winehq website. Check the FAQ there for exclusive details.
 
Old 03-16-2014, 06:32 AM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
This might help you http://wiki.winehq.org/WineOn64bit
 
Old 03-16-2014, 04:36 PM   #4
klerg
LQ Newbie
 
Registered: Oct 2007
Posts: 25

Original Poster
Rep: Reputation: 0
Well, that link lead me to http://wiki.winehq.org/Wine64, and i'm following "Building a shared WoW64 setup" section, but stuck on the 4th, 9th and 11th commands. What is ../wine-git/? When i type ../wine-git/ in terminal, it tells me that directory does not exist. Also, the ../wine64 part of the 9th command and 11th command is confusing me, do i replace .. with something else? I found the source and extracted it to $HOME folder. Can i go ahead and ignore ../wine-git and compile without it?
 
Old 03-16-2014, 04:57 PM   #5
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Well I didn't try to build Wine but AlienBob has packages for it http://www.slackware.com/~alien/slac...ne/pkg64/14.1/
You can try.
 
Old 03-16-2014, 09:24 PM   #6
klerg
LQ Newbie
 
Registered: Oct 2007
Posts: 25

Original Poster
Rep: Reputation: 0
I think these packages are 32-bit versions of Wine for Slackware 64 system, but i may be wrong. Can anyone confirm if the AlienBob packages support both 32-bit and 64-bit programs under Slackware 64?
 
Old 03-17-2014, 03:41 AM   #7
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
Quote:
Originally Posted by moisespedro View Post
Well I didn't try to build Wine but AlienBob has packages for it http://www.slackware.com/~alien/slac...ne/pkg64/14.1/
You can try.
this is 64bit package (pkg64), but i download it and a 'file' in usr/bin showed me they are all 32 bit executables, so you need multilib installed

mmm... and libraries are under /usr/lib, not /usr/lib64

anyway, i have stock slack64, no way to execute 32bit programs, my wine can run 32bit windows executables

Last edited by gengisdave; 03-17-2014 at 03:43 AM.
 
Old 03-17-2014, 03:53 AM   #8
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by gengisdave View Post
this is 64bit package (pkg64), but i download it and a 'file' in usr/bin showed me they are all 32 bit executables, so you need multilib installed

mmm... and libraries are under /usr/lib, not /usr/lib64

anyway, i have stock slack64, no way to execute 32bit programs, my wine can run 32bit windows executables
Just checked the SlackBuild and it is indeed a package with 32 bit executables. Maybe OP can modify the SlackBuild and use it?
 
Old 03-17-2014, 04:10 AM   #9
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
indeed, export LDFLAGS="-L/usr/lib -ldl", this slackbuild will have some trouble on a 64 bit host
 
Old 03-17-2014, 12:06 PM   #10
klerg
LQ Newbie
 
Registered: Oct 2007
Posts: 25

Original Poster
Rep: Reputation: 0
Glad i did not install the AlienBob package, since its definitely 32-bit Wine for Slackware 64. What is Slackbuild, and how can i modify it? I will try to build/compile the WOW64 Wine from source, and ignore the ../wine-git/ part of the command and report what happens.
 
Old 03-17-2014, 12:13 PM   #11
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
http://docs.slackware.com/slackware:slackbuild_scripts

basically, it's a shell script containing the sequence from source package to slack package, you can enter all lines manually on command line, result should be the same

http://www.slackware.com/~alien/slackbuilds/wine/build/

this folder contain sources, script and all files which you can use to compile it by yourself

hint: add --enable-win64=yes to ./configure to enable 64bit wine

Last edited by gengisdave; 03-17-2014 at 12:15 PM.
 
Old 03-17-2014, 01:04 PM   #12
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
SlackBuild is a script that automates the creation of a Slackware package. I am not sure of how exaclty you should edit this one but when you edit a SlackBuild you can define: version, architeture, destination of the installed binaries, etc. It is a great tool and learning it is not hard, just read a few ones and you can get the concept.
 
Old 03-18-2014, 03:38 PM   #13
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
Blog Entries: 14

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
What is ../wine-git/?
Means that "This requires an out-of-tree build.." and you should be downloading the source from git. But, considering you're new to all that, you *might* be getting in over your head.

I haven't tackled that project *yet* but if I do I'll report back on what worked; or if you persevere, do post what you did exactly.
 
Old 03-18-2014, 04:27 PM   #14
enorbet
LQ Guru
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,063

Rep: Reputation: 4698Reputation: 4698Reputation: 4698Reputation: 4698Reputation: 4698Reputation: 4698Reputation: 4698Reputation: 4698Reputation: 4698Reputation: 4698Reputation: 4698
Greetings
I'm not absolutely certain this could solve your issues since there is no exclusively 64bit wine app I want to run, but I do know this. PlayOnLinux is available as a SlackBuild and it can install and manage multiple instances (even wildly different versions) of Wine. I only use Wine for a very few things anymore so I don't care to spend too much time having to deal with "The Windows Way" and I find PlayOnLinux to be a great time-saver. It's not limited to gaming, although that's all I use it for these days, and even that number is dwindling.

Correction - moisespedro's post reminded me that I do also use Wine for pipelight though apparently that will change soon as MS is killing Silverlight.

Last edited by enorbet; 03-18-2014 at 04:40 PM.
 
Old 03-18-2014, 04:31 PM   #15
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
I got rid off all the Windows softwares I used. Except for Silverlight, I am using pipelight for it now. I think, except when there is no alternative avaliable, wine should be the last option.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Getting Catalyst to work for 32-bit programs with multilib on Slackware 14 angryfirelord Slackware 2 08-25-2013 02:43 PM
Can't get wine to run 64-bit .exe programs Parisa Tatapudy Linux - Newbie 10 05-28-2012 05:38 AM
can i run any windows programs with wine? z99 Linux - Newbie 4 09-01-2010 07:03 AM
HELP - How do I run 32 bit applications on 64 bit Slackware 13? CCR_Diver Slackware 13 12-05-2009 07:31 AM
how can i run windows programs on lindspire hbakj Linux - Newbie 1 09-01-2004 11:16 AM

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

All times are GMT -5. The time now is 04:04 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