Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

currently I'm running Ubuntu 11.10 64 Bit on my laptop and I want to install some windows programs with wine (Dreamweaver CS5/Starcraft II etc) but these programs require the 32Bit version of wine to work even being in a 64Bit enviroment... I'm a Fedora user most of the time and in that distro installing 32Bit versions of apps inside of a 64Bit system is never a problem, but didn't find a way to do that on ubuntu

Can someone help?

Thanks!

share|improve this question
please, reset your answer. the post that would solve your problem is the second one, not the one that says "you don't need to do anything". – Igoru Sep 18 '12 at 22:58

5 Answers

up vote 6 down vote accepted

The built-for-64bit package of Wine is 32bit. It's practically the same as the 32bit package, it just pulls in extra things like ia32-libs to allow it to run on a 64bit arch.

Windows programs run inside the standard package of Wine are therefore limited to 32bit.

In short: you don't need to do anything.


Wine64 is the name for the version of Wine that runs in true 64bit mode. It's considerably more buggy (at a basic level) than its 32bit brother and only a few applications can use it anywhere near reliably.

share|improve this answer
Then Why nothing I install under wine runs at all? – Manuel Escudero Nov 3 '11 at 0:34
I would say that's between you and Wine and not the package's fault. I run a lot of 32bit applications and games on Wine (inside a 64bit Ubuntu installation, with a standard Wine install, just as I've said). Try running the application from the terminal. Failing that, move ~/.wine to somewhere safe (or delete it if there's nothing of value in there) and start afresh. – Oli Nov 3 '11 at 15:41
Fixed the problem: Installed Wine 1.2 via PlayOnLinux and then ran the apps that won't run via the terminal, looked at the output. In the case of dreamweaver, it was matter of installing "vcrun2008" using winetricks. It runs fine now, thanks! – Manuel Escudero Nov 4 '11 at 21:32

Step 1: Install wine 1.4. This version of wine supports win32 and win64.

Step 2: Open a terminal.

Step 3: export WINEPREFIX=prefix32

Step 4: export WINEARCH=win32

Step 5: winecfg

Step 6: Enjoy, the new prefix is set for 32-bit execution.

This is the proper way to do this. Installing cross-arch packages is a dirty fix that's likely to cause you trouble.

share|improve this answer

On Ubuntu Oneiric, the 32-bit binaries and libraries of Wine are installed by default. No special action is necessary other than installing wine.

Confirmed with:

$ file `which wine`
/usr/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
share|improve this answer

The best ways to do this:

  1. (Permanently) Edit /etc/environment:

    • sudo nano /etc/environment

    • Add the following line:

      WINEARCH=win32

    Note: by the above solution, wine & wibom use always the 32 bit version of wine.

  2. (Temporary) Open a terminal(Ctrl-Alt-t) and type:

    • `env WINEARCH=win32 wine or
    • `env WINEARCH=win32 winecfg for 1st .wine 32 bit bottle
share|improve this answer

You can install 32bit Packages by using:

sudo dpkg --force-architecture -i whatever.deb

You need to download the wine-package for i686.

But you should be carefull to have the correct libraries installed as well.

sudo apt-get install ia32-libs

is the minimum you should do.

However, I never had a problem with a program not running in wine because of 64-bit ubuntu and much Windows-Software is 32bit.

share|improve this answer
This is unrelated to the question, installing wine on Ubuntu 11.10 Oneiric automatically pulls in the 32-bit packages, no need for forcing architectures. – Lekensteyn Nov 2 '11 at 9:34
Well if you know the answer, please post it as answer, then I can and will delete my answer which will also remove this comment. – Michael K Nov 2 '11 at 9:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.