How-To: Install the latest version of Wine in LMDE

Wine Logo transparent backgroundFeb 2013 Update: More recent versions of Wine are now available in the standard LMDE repositories, so skip all the headache below and just install Wine with a s swift sudo apt-get install wine and you’re done!


The Wine “not-emulator” allows you to run Windows software under Linux, but the version in the Debian testing repos (themselves cutting edge) is pretty old, at time of writing it’s a 1.3.6 variant, while Wine 1.5.0+ is now available. Unfortunately, upgrading can be a bit of a pig if you want to build Wine yourself, so a far better solution is to find some Debian binaries and install them. So let’s do that…

Getting the Debian binaries

Wine binaries are available for a whole heap of different platforms, distros and architectures from http://www.winehq.org/download/, but in this case I’m installing on Debian, so if you are too, head on over to http://dev.carbon-project.org/debian/wine-unstable/ and grab the following packages (either 32 or 64 bit, depending on your architecture – I’m using 64-bit LMDE so I’ll use the 64-bit package names for this quick guide):

  • libwine-alsa-unstable_1.5.0-0.2_amd64.deb
  • libwine-bin-unstable_1.5.0-0.2_amd64.deb
  • libwine-capi-unstable_1.5.0-0.2_amd64.deb
  • libwine-cms-unstable_1.5.0-0.2_amd64.deb
  • libwine-dbg-unstable_1.5.0-0.2_amd64.deb
  • libwine-dev-unstable_1.5.0-0.2_amd64.deb
  • libwine-gl-unstable_1.5.0-0.2_amd64.deb
  • libwine-gphoto2-unstable_1.5.0-0.2_amd64.deb
  • libwine-ldap-unstable_1.5.0-0.2_amd64.deb
  • libwine-openal-unstable_1.5.0-0.2_amd64.deb
  • libwine-oss-unstable_1.5.0-0.2_amd64.deb
  • libwine-print-unstable_1.5.0-0.2_amd64.deb
  • libwine-sane-unstable_1.5.0-0.2_amd64.deb
  • libwine-unstable_1.5.0-0.2_amd64.deb
  • wine-bin-unstable_1.5.0-0.2_amd64.deb
  • wine-unstable_1.5.0-0.2_amd64.deb

Satisfying Dependencies

jp helpfully provided details that for the above packages to install without issue, you’ll first need to install the packages:

  • libc6-i386
  • lib32asound2
  • libc6-dev-i386

So do that via your mechanism of choice, for example, if you use apt-get then you can install them though a simple:

Replacing Wine

Before you can install any new Wine stuff, you’ll first have to uninstall the wine package. Do that through whatever means you feel most comfortable with, ya know, synaptic, apt, dpkg etc.

Once that’s done, you’ll want to install all the libwine packages through dpkg (to be honest, you might not need them all – but it doesn’t hurt, and you’ll certainly need most of them).

To install all the libs, open up the location you saved all the .deb files to in the console, and run:

Once that’s completed successfully, in the same location run:

And finally, in the same location again, run:

Almost done!

Getting the gecko engine

At this point we’re 99% complete, we just need to launch winecfg and let it install the Gecko engine for web-browser shenanigans (again, you might not need this – but there’s no harm in it, and Wine’ll moan at you about it if you don’t). So just run:

And when it prompts you about gecko, just click on [Install].

Ta-da!

New cutting-edge Wine goodness is now yours to play with, although from this point on you won’t get automatically updated as wine won’t be installed from any repository. For this reason, it’s worth holding onto all the debs so you can uninstall them with ease via a swift sudo dpkg -P *.deb (-P for purge) if at a later date you want to go back to the repo version.

As Bryant would say – Drink some for me, eh, pal? ;)

13 thoughts on “How-To: Install the latest version of Wine in LMDE”

    1. I don’t know what repos you’re using – if you’re tracking Debian testing (i.e. wheezy) Wine is in the repos.

      I’m using the following repos in /etc/apt/sources.list:

      And apt-pinning them to prefer linuxmint packages where available in /etc/apt/preferences with:

  1. ~/Downloads/Wine-150 $ sudo dpkg -i libwine*
    Selecting previously unselected package libwine-alsa-unstable.
    (Reading database … 169239 files and directories currently installed.)
    Unpacking libwine-alsa-unstable (from libwine-alsa-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-bin-unstable.
    Unpacking libwine-bin-unstable (from libwine-bin-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-capi-unstable.
    Unpacking libwine-capi-unstable (from libwine-capi-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-cms-unstable.
    Unpacking libwine-cms-unstable (from libwine-cms-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-dbg-unstable.
    Unpacking libwine-dbg-unstable (from libwine-dbg-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-dev-unstable.
    Unpacking libwine-dev-unstable (from libwine-dev-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-gl-unstable.
    Unpacking libwine-gl-unstable (from libwine-gl-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-gphoto2-unstable.
    Unpacking libwine-gphoto2-unstable (from libwine-gphoto2-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-ldap-unstable.
    Unpacking libwine-ldap-unstable (from libwine-ldap-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-openal-unstable.
    Unpacking libwine-openal-unstable (from libwine-openal-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-oss-unstable.
    Unpacking libwine-oss-unstable (from libwine-oss-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-print-unstable.
    Unpacking libwine-print-unstable (from libwine-print-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-sane-unstable.
    Unpacking libwine-sane-unstable (from libwine-sane-unstable_1.5.0-0.2_i386.deb) …
    Selecting previously unselected package libwine-unstable.
    Unpacking libwine-unstable (from libwine-unstable_1.5.0-0.2_i386.deb) …
    dpkg: dependency problems prevent configuration of libwine-capi-unstable:
    libwine-capi-unstable depends on libcapi20-3; however:
    Package libcapi20-3 is not installed.
    dpkg: error processing libwine-capi-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-dev-unstable:
    libwine-dev-unstable depends on libgettextpo0; however:
    Package libgettextpo0 is not installed.
    dpkg: error processing libwine-dev-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-unstable:
    libwine-unstable depends on libmpg123-0 (>= 1.6.2); however:
    Package libmpg123-0 is not installed.
    dpkg: error processing libwine-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-alsa-unstable:
    libwine-alsa-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-alsa-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-bin-unstable:
    libwine-bin-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-bin-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-cms-unstable:
    libwine-cms-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-cms-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-dbg-unstable:
    libwine-dbg-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-dbg-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-gl-unstable:
    libwine-gl-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-gl-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-gphoto2-unstable:
    libwine-gphoto2-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-gphoto2-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-ldap-unstable:
    libwine-ldap-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-ldap-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-openal-unstable:
    libwine-openal-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-openal-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-oss-unstable:
    libwine-oss-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-oss-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-print-unstable:
    libwine-print-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-print-unstable (–install):
    dependency problems – leaving unconfigured
    dpkg: dependency problems prevent configuration of libwine-sane-unstable:
    libwine-sane-unstable depends on libwine-unstable (= 1.5.0-0.2); however:
    Package libwine-unstable is not configured yet.
    dpkg: error processing libwine-sane-unstable (–install):
    dependency problems – leaving unconfigured
    Processing triggers for man-db …
    Errors were encountered while processing:
    libwine-capi-unstable
    libwine-dev-unstable
    libwine-unstable
    libwine-alsa-unstable
    libwine-bin-unstable
    libwine-cms-unstable
    libwine-dbg-unstable
    libwine-gl-unstable
    libwine-gphoto2-unstable
    libwine-ldap-unstable
    libwine-openal-unstable
    libwine-oss-unstable
    libwine-print-unstable
    libwine-sane-unstable

    ~/Downloads/Wine-150 $ sudo dpkg -i wine-bin*
    Selecting previously unselected package wine-bin-unstable.
    (Reading database … 175059 files and directories currently installed.)
    Unpacking wine-bin-unstable (from wine-bin-unstable_1.5.0-0.2_i386.deb) …
    dpkg: dependency problems prevent configuration of wine-bin-unstable:
    wine-bin-unstable depends on libwine-bin-unstable (= 1.5.0-0.2); however:
    Package libwine-bin-unstable is not configured yet.
    dpkg: error processing wine-bin-unstable (–install):
    dependency problems – leaving unconfigured
    Processing triggers for mime-support …
    Processing triggers for man-db …
    Processing triggers for gnome-menus …
    Processing triggers for desktop-file-utils …
    Errors were encountered while processing:
    wine-bin-unstable

    ~/Downloads/Wine-150 $ sudo dpkg -i wine-unstable*
    Selecting previously unselected package wine-unstable.
    (Reading database … 175111 files and directories currently installed.)
    Unpacking wine-unstable (from wine-unstable_1.5.0-0.2_i386.deb) …
    dpkg: dependency problems prevent configuration of wine-unstable:
    wine-unstable depends on wine-bin-unstable (= 1.5.0-0.2); however:
    Package wine-bin-unstable is not configured yet.
    wine-unstable depends on libwine-alsa-unstable (= 1.5.0-0.2) | libwine-oss-unstable (= 1.5.0-0.2); however:
    Package libwine-alsa-unstable is not configured yet.
    Package libwine-oss-unstable is not configured yet.
    wine-unstable depends on libwine-gl-unstable (= 1.5.0-0.2); however:
    Package libwine-gl-unstable is not configured yet.
    wine-unstable depends on libwine-print-unstable (= 1.5.0-0.2); however:
    Package libwine-print-unstable is not configured yet.
    wine-unstable depends on libwine-sane-unstable (= 1.5.0-0.2); however:
    Package libwine-sane-unstable is not configured yet.
    wine-unstable depends on libwine-cms-unstable (= 1.5.0-0.2); however:
    Package libwine-cms-unstable is not configured yet.
    wine-unstable depends on libwine-gphoto2-unstable (= 1.5.0-0.2); however:
    Package libwine-gphoto2-unstable is not configured yet.
    wine-unstable depends on libwine-ldap-unstable (= 1.5.0-0.2); however:
    Package libwine-ldap-unstable is not configured yet.
    wine-unstable depends on libwine-openal-unstable (= 1.5.0-0.2); however:
    Package libwine-openal-unstable is not configured yet.
    dpkg: error processing wine-unstable (–install):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:
    wine-unstable

    Same problem as always with that carbon web site. Doesn’t work with Debian 6 or with LMDE 2012. Debian needs a wine repository!

  2. The following packages needs to be installed before installing the wine deb packages:

    libc6-i386
    lib32asound2
    libc6-dev-i386

    aptitude will automatically take care or install the other dependencies needed by the above three packages.

    Here’s my output after satisfying the above required packages:

    localhost Wine # dpkg -i libwine-*
    (Reading database … 213932 files and directories currently installed.)
    Preparing to replace libwine-alsa-unstable 1.5.5-0.1 (using libwine-alsa-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-alsa-unstable …
    Preparing to replace libwine-bin-unstable 1.5.5-0.1 (using libwine-bin-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-bin-unstable …
    Preparing to replace libwine-capi-unstable 1.5.5-0.1 (using libwine-capi-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-capi-unstable …
    Preparing to replace libwine-cms-unstable 1.5.5-0.1 (using libwine-cms-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-cms-unstable …
    Preparing to replace libwine-dbg-unstable 1.5.5-0.1 (using libwine-dbg-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-dbg-unstable …
    Preparing to replace libwine-dev-unstable 1.5.5-0.1 (using libwine-dev-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-dev-unstable …
    Preparing to replace libwine-gl-unstable 1.5.5-0.1 (using libwine-gl-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-gl-unstable …
    Preparing to replace libwine-gphoto2-unstable 1.5.5-0.1 (using libwine-gphoto2-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-gphoto2-unstable …
    Preparing to replace libwine-ldap-unstable 1.5.5-0.1 (using libwine-ldap-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-ldap-unstable …
    Preparing to replace libwine-openal-unstable 1.5.5-0.1 (using libwine-openal-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-openal-unstable …
    Preparing to replace libwine-oss-unstable 1.5.5-0.1 (using libwine-oss-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-oss-unstable …
    Preparing to replace libwine-print-unstable 1.5.5-0.1 (using libwine-print-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-print-unstable …
    Preparing to replace libwine-sane-unstable 1.5.5-0.1 (using libwine-sane-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-sane-unstable …
    Preparing to replace libwine-unstable 1.5.5-0.1 (using libwine-unstable_1.5.5-0.1_amd64.deb) …
    Unpacking replacement libwine-unstable …
    Setting up libwine-unstable (1.5.5-0.1) …
    Processing triggers for man-db …
    Setting up libwine-capi-unstable (1.5.5-0.1) …
    Setting up libwine-cms-unstable (1.5.5-0.1) …
    Setting up libwine-dbg-unstable (1.5.5-0.1) …
    Setting up libwine-dev-unstable (1.5.5-0.1) …
    Setting up libwine-gl-unstable (1.5.5-0.1) …
    Setting up libwine-gphoto2-unstable (1.5.5-0.1) …
    Setting up libwine-ldap-unstable (1.5.5-0.1) …
    Setting up libwine-openal-unstable (1.5.5-0.1) …
    Setting up libwine-oss-unstable (1.5.5-0.1) …
    Setting up libwine-print-unstable (1.5.5-0.1) …
    Setting up libwine-sane-unstable (1.5.5-0.1) …
    Setting up libwine-alsa-unstable (1.5.5-0.1) …
    Setting up libwine-bin-unstable (1.5.5-0.1) …
    localhost Wine # dpkg -i wine-*
    Selecting previously unselected package wine-bin-unstable.
    (Reading database … 213932 files and directories currently installed.)
    Unpacking wine-bin-unstable (from wine-bin-unstable_1.5.5-0.1_amd64.deb) …
    Selecting previously unselected package wine-unstable.
    Unpacking wine-unstable (from wine-unstable_1.5.5-0.1_amd64.deb) …
    Setting up wine-bin-unstable (1.5.5-0.1) …
    Processing triggers for mime-support …
    Processing triggers for man-db …
    Processing triggers for gnome-menus …
    Processing triggers for desktop-file-utils …
    Setting up wine-unstable (1.5.5-0.1) …
    localhost Wine #

  3. It looks as though the site you referenced may have been abandoned. It still has 1.5.5 packages (from May 2012), while the latest test version is 1.5.12. Using an obsolete test version doesn’t help anyone (the version you are using might be broken, yet any bug reports from it would be completely useless to the developers)

  4. The packages provided above are not available. The following works for a 32-bit system.

    1) sudo apt-get install libc6 libc6-dev

    2) The ALSA library will need to be downloaded from this link
    http://ftp.us.debian.org/debian/pool/main/a/alsa-lib/libasound2_1.0.25-4_i386.deb

    3) Right-click that ALSA deb when it downloads and install it with GDebi package installer.

    4) Download all the i386 packages at http://dev.carbon-project.org/debian/wine-unstable/

    5) sudo dpkg -i libwine*.deb

    6) sudo dpkg -i wine-bin-unstable*.deb

    7) In your LMDE menu, go to Applications/System Tools/Wine Configuration. Wine will ask to install Gecko (for web browsers). You don’t need it for Windows games, but it will automatically install if you like.

    8) Right click any Windows .exe, go to Open With, select Wine … and it should work.

  5. I think the wine packages are in lmde now, no need for mucking around.

    sudo apt-get install wine

    then follow the instructions should work

Leave a Reply

Your email address will not be published.