LinuxQuestions.org
Visit Jeremy's Blog.
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 02-07-2012, 03:30 PM   #1
jdgr
Member
 
Registered: Feb 2012
Location: Ontario, Canada
Distribution: Fedora 18
Posts: 65

Rep: Reputation: Disabled
Question Slackware 13.37 - Installing wine


Hi all,

I am trying to get wine working in Slackware 13.37. I installed the package
Quote:
wine-1.3.37-x86_64-1sg.txz
directly from winehq.com and it said it was successfully installed, but I just don't know what to do with it now.

When I installed it under Ubuntu, I got the menu item
Quote:
Open with Wine...
but I do not have anything similar to that in Slackware. And just trying to run an .EXE that works in wine (again, on Ubuntu), said no program can be found to execute it.

Anyone know how I can get wine working or how to configure it?

Thanks.
 
Old 02-07-2012, 04:26 PM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
I take it you are running the x86_64 version of slackware. If you are you will need to install Alien Bob's 32-bit compatibility layer. Full information here.

If you have installed the Nvidia driver then you will have to re-install it and add the 32bit layer of that.

After that it should act just like Ubuntu. It works perfectly here.

samac
 
Old 02-08-2012, 12:30 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,203

Rep: Reputation: 292Reputation: 292Reputation: 292
I think Ubuntu's file manager may automatically run wine on a windows .exe when you double click it. AFAIK this doesn't work in Slackware by default, although please correct me if I'm wrong.

The usual way to run executables with wine is via the console:
wine /path/to/program.exe
 
Old 02-08-2012, 01:07 AM   #4
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
In addition to the above, have you tried "wine executable.exe"?
 
Old 02-08-2012, 02:25 AM   #5
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 307

Rep: Reputation: 22
jdgr, get rid of headache - install wine from slackbuilds.org. In any case Wine developers does not guarantee any usability if you get packages from 3rd-parties.
 
Old 02-08-2012, 05:20 AM   #6
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
He could do that, but the SlackBuilds version is the stable version and is very old. They started the 1.4 rc's though, so there's hope that another stable one will come soon.
 
Old 02-08-2012, 05:40 AM   #7
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 307

Rep: Reputation: 22
Konphine, I his hands are intact? Because it is matter of seconds(or of one sed invocation) to replace older version with new one. Or to use makepkg tool. Because moderate user should not ask such questions, unless they are disable.
 
Old 02-08-2012, 08:14 AM   #8
jdgr
Member
 
Registered: Feb 2012
Location: Ontario, Canada
Distribution: Fedora 18
Posts: 65

Original Poster
Rep: Reputation: Disabled
Sorry I took so long, been busy all morning at work. I'm downloading the version from SlackBuilds.org and will remove the newest installed package from my system and then install the SlackBuild version.

But to FeyFre directly, if I install the 1.2.3 version from SlackBuilds, how would I easily upgrade it to the newest version of Wine? Do I have to use slackpkg? Or is there another way I can upgrade by downloading the newest version from wineHQ and just upgrading it? I have not ran into doing this yet on Slackware and I am on unfamiliar grounds with it.

Also, since samac guessed correctly and I am using 64bit, would I still have to setup my system for multilib?
 
Old 02-08-2012, 09:30 AM   #9
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 307

Rep: Reputation: 22
jdgr, it is easy enough.(Actually this is almost universal algorithm to use slackbuild in order to build newer versions of packages).
1. Download wine.Slackbuild
2. Download wine sources (.tar.bz2 file) of desired version and put it in the same directory as slackbuild
3. Run next command line VERSION="wineversionhere" TAG="_yourtaghere" ./wine.SlackBuild
4. Wait until it done. In /tmp you will see ready package. Install it using installpkg
Of course, x64 means you should built it in multilib environment(or on other x32 machine), you should consult documentation of multilib.(Personally I against running 32 binaries in x64 environments).
 
Old 02-08-2012, 09:38 AM   #10
jdgr
Member
 
Registered: Feb 2012
Location: Ontario, Canada
Distribution: Fedora 18
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thank you for the very concise instructions. I will attempt to follow them to upgrade wine to the newest version.

I do have a follow up question though. You say you personally are against running 32 bit binaries in an x64 environment, how do you get around that? For example, wine only comes in 32bit flavor. How do you get around this, or do you simply not use those programs?
 
Old 02-08-2012, 02:46 PM   #11
jdgr
Member
 
Registered: Feb 2012
Location: Ontario, Canada
Distribution: Fedora 18
Posts: 65

Original Poster
Rep: Reputation: Disabled
I have installed wine successfully after following the instructions for setting up mulitlib and your instructions for installing wine from slackbuilds.

I have one other question, on wineHQ, it shows a 64 bit version, but it didn't seem to work for me. Does this version not actually work properly for 64 bit versions?
 
Old 02-08-2012, 03:26 PM   #12
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
I've never had much luck with the Slackware packages from winehq. When it comes to packages that work the best you can't do better than slackbuilds.org, Alien Bob, Robbie Workman,Piter Punk and any other of the core team of developers. I use Alien Bob's wine.slackbuild and modify it for the latest version 1.4-rc2 for example.

Consider getting playonlinux and winetricks as well.

samac
 
Old 02-08-2012, 05:25 PM   #13
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 307

Rep: Reputation: 22
jdgr, I use x64 binaries, or I don't use them at all.
First of all: I have bad experience with mixed environments, they all have bugs which cause system down.(I can remember what hell is to run 16bit DOS software on Windows). If I want run 32bit-only application and have not alternative I boot 32bit OS/boot virtual machine with 32bit OS. The same for 64bit. The same for Software for Windows - reboot to Windows or in VM. If I want debug DSP firmware I do it on chip using JTAG or other debugging technique, not on (e|si)mulator.
Second: So happened that most Software I use/support/create is quite complex system of user level application, kernel level driver and hardware peripheral. Coupling 64bit driver on 64bit OS with 32bit user level application is another kind of hell I trying to avoid.

That is my situation. Your situation is probably a lot easier, so you probably will not run into problems I do. Just setup multilib, wine and enjoy. But I suggest to test multilib configuration on something easier than wine(on native 32bit application, wine itself has a lot of bugs which will be multiplied by multilib misconfiguration, and you will probably end up with no results). Good luck!
 
Old 02-08-2012, 06:16 PM   #14
animeresistance
Member
 
Registered: Feb 2004
Distribution: Slackware
Posts: 190

Rep: Reputation: 19
I use the slack package (x86_64) that is on the wineHQ site, it works for me. But if you want to run 32 bit packages, you must install the multilib package.

And like FreFe says, it is not good to mix up things (32 with 64 bits), if you can avoid it, please avoid, unless there is an application that doesn't have a 64 bit version.

About Ubuntu, never tried to run wine on it, but honestly, i prefer to avoid ubuntu as much as i can.
 
Old 02-09-2012, 10:25 AM   #15
jdgr
Member
 
Registered: Feb 2012
Location: Ontario, Canada
Distribution: Fedora 18
Posts: 65

Original Poster
Rep: Reputation: Disabled
Thanks for all of the replies guys. Since I am running Slackware 64 bit, I have been trying to get all the 64 bit binaries. And when it comes to M$ software, I try like hell to find a Linux replacement that I can run instead.

But for work, I have 1 stupid program that is only windows based as far as I can find (Remote Admin) for remotely connecting to users PC's. It's running on all of them across about 150 stores (maybe 1000 PC's), and it's our backbone for support. Slowly rolling out Teamviewer to the PC's which does have a Linux version (I'm not sure about Slackware version though, haven't tried installing it yet), but it's a slow process and in the meantime, I have to use what I need. Since it's so often I use it for only a few minutes (and usually urgently), I don't want to reboot into Windows each time. But I understand why some people would. Every situation is different.
 
  


Reply

Tags
slackware 13.37, wine


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
Installing wine in slackware donaldfarkas Linux - Newbie 2 10-09-2011 07:55 PM
Installing Wine on Slackware 13.0 Tim Johnson Slackware 11 01-28-2010 04:25 PM
Installing wine on slackware 1337 Linux - Software 3 05-02-2009 04:58 AM
Installing Wine -- Slackware 10.0 (help) monroehips Slackware 5 09-13-2004 07:12 AM
Installing Wine In Slackware 9.0 react Linux - Newbie 1 10-28-2003 10:39 AM


All times are GMT -5. The time now is 08:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration