LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 13.37 - Installing wine (https://www.linuxquestions.org/questions/slackware-14/slackware-13-37-installing-wine-928175/)

jdgr 02-07-2012 03:30 PM

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.

samac 02-07-2012 04:26 PM

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

dive 02-08-2012 12:30 AM

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

Konphine 02-08-2012 01:07 AM

In addition to the above, have you tried "wine executable.exe"?

FeyFre 02-08-2012 02:25 AM

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.

Konphine 02-08-2012 05:20 AM

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.

FeyFre 02-08-2012 05:40 AM

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.

jdgr 02-08-2012 08:14 AM

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?

FeyFre 02-08-2012 09:30 AM

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

jdgr 02-08-2012 09:38 AM

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?

jdgr 02-08-2012 02:46 PM

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?

samac 02-08-2012 03:26 PM

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

FeyFre 02-08-2012 05:25 PM

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!

animeresistance 02-08-2012 06:16 PM

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.

jdgr 02-09-2012 10:25 AM

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.


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