r3dux.org

A number-pimping side project from the valleys in *NEW* upside-down flavour.

  • Home
  • ABOUT
  • OLD SITE
  • SEARCH
  • FEEDBACK

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

r3dux | March 23, 2012

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:

sudo apt-get install libc6-i386 lib32asound2 libc6-dev-i386

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:

sudo dpkg -i libwine*

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

sudo dpkg -i wine-bin*

And finally, in the same location again, run:

sudo dpkg -i wine-unstable*

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:

winecfg

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? ;)

Related posts:

  1. How-To: Install the Liquorix kernel in LMDE
  2. How-To: Fix LMDE Repo Hell
  3. How To: Install Open Office 3.1 from .debs in 9.04 Jaunty
  4. How-To: Install or Build a Working Version of Handbrake for Ubuntu
  5. How-To: Configure Future Pinball to play in Linux through Wine
Categories
How-To, Linux
Tags
Debian, install, Layer, Linux, Windows, wine
Comments rss
Comments rss
Trackback
Trackback
Print This Post Print This Post

« Portal Done Pro – A Portal speedrun in 9 minutes and 25 seconds Keep Calm and Game On »

13 Responses to “How-To: Install the latest version of Wine in LMDE”

  1. shamil says:
    April 13, 2012 at 7:44 am

    Wine is just plain old not in the repos yet for lmde.

    Reply
    • r3dux says:
      April 13, 2012 at 9:17 am

      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:

      deb http://packages.linuxmint.com/ debian main upstream import
      deb http://ftp.us.debian.org/debian testing main contrib non-free
      deb http://security.debian.org/ testing/updates main contrib non-free
      deb http://www.debian-multimedia.org testing main non-free

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

      Package: *
      Pin: release o=linuxmint
      Pin-Priority: 700
       
      Package: *
      Pin: origin packages.linuxmint.com
      Pin-Priority: 700
       
      Package: *
      Pin: release o=Debian
      Pin-Priority: 500
      Reply
  2. LMDE trier says:
    May 13, 2012 at 12:06 pm

    ~/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!

    Reply
  3. r3dux says:
    May 14, 2012 at 11:55 pm

    Looks likes all the issues are stemming from a lack of:

    - libcapi20-3 (http://packages.debian.org/search?keywords=libcapi20-3),
    - libgettextpo0 http://packages.debian.org/search?keywords=libgettextpo0), and
    - libmpg123-0 (http://packages.debian.org/search?keywords=libmpg123-0.

    Could try installing ‘em and try your luck again – but I agree, it’s not ideal.

    Reply
    • r3dux says:
      July 5, 2012 at 9:47 am

      Update: jp‘s got you covered – article updated, also ;-)

      Reply
  4. Alan110112 says:
    June 20, 2012 at 10:38 pm

    I solved the issue of “LMDE tryer” with a

    sudo apt-get install -f

    and then re-installing all wine deb packages as in your guide.
    ;)

    Reply
  5. jp says:
    July 5, 2012 at 4:13 am

    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 #

    Reply
    • r3dux says:
      July 5, 2012 at 9:41 am

      Thanks for the heads up – I’ll add that to that article!

      Cheers,
      r3dux

      Reply
  6. James E. LaBarre says:
    September 3, 2012 at 7:43 am

    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)

    Reply
  7. Akhirnya, Pengakuan Gagal Install Wine di LMDE sp 4 « Let's Walk Till The End says:
    September 15, 2012 at 3:22 am

    [...] lama berkutat dengan command line interface ditemani situs referensi http://r3dux.org/2012/03/how-to-install-the-latest-version-of-wine-in-lmde/, akhirnya instalasi Wine-unstable 1.5.5 di laptopku yang ber-OS LMDE sp 4 dinyatakan gagal. Tiga [...]

    Reply
  8. georage says:
    September 18, 2012 at 12:57 pm

    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.

    Reply
  9. dude says:
    February 21, 2013 at 8:31 pm

    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

    Reply
    • r3dux says:
      February 22, 2013 at 10:50 am

      Thanks for the heads up – I’ve updated the article to say just install from the repos.

      Cheers!

      Reply

Leave a Reply

Click here to cancel reply.

Translate

Categories

Archives

Tags

3D ActionScript ActionScript 3.0 Adobe AI Ballarat Bash C++ Class Convert CS4 Effect Error Film Flash FPS GLFW Glitch GLSL Hack How-To install Java Kinect Linux Live Mash-Up Microsoft Motion mount OpenGL Particle Problem PS3 Remix Retro script Slides Sound Ubuntu Video VirtualBox Wii Windows XBox

Gamercard

OpenR3dux

Misc.

Flattr this

RSS Feed

r3dux twitter feed



“Lack of planning on your part doesn't constitute an emergency on my part.”

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox