How to Install Wine 2.0 Stable in Ubuntu 16.04, 14.04, 16.10

Last updated: August 9, 2018

Wine Stable

After more than a year of development, Wine 2.0 stable was finally released a few hours ago. Here’s how to install it via PPA in Ubuntu 16.10, Ubuntu 16.04, Ubuntu 14.04, and derivatives.

Wine 2.0 release highlights:

  • support for Microsoft Office 2013
  • the 64-bit support on macOS.
  • support for Unicode 9.0
  • better HiDPI scaling
  • GStreamer 1.0 support
  • an updated Gecko engine
  • More Direct3D 10 and 11 features
  • And much more, see the announcement

Install Wine 2.0 (Staging) via official Wine PPA:

The official Wine PPA offers Wine-staging packages that are kinda different to the distro packages.

Wine Staging provides extra features and fixes, but it’s installed to /opt/wine-staging. Thanks to this, you can have both regular Wine version and Wine-Staging in single system.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run the command:

sudo add-apt-repository ppa:wine/wine-builds

For 64-bit system, enable 32-bit architecture (if you haven’t already) via sudo dpkg --add-architecture i386

2. Then updates and install Wine 2.0 staging via commands:

sudo apt-get update

sudo apt-get install --install-recommends wine-staging

To use Wine-Staging, simply add “/opt/wine-staging/bin/” in the fond of executable, for example:

/opt/wine-staging/bin/wine

/opt/wine-staging/bin/winecfg

For more, see the Wine-Staging usage.

Install Wine 2.0 (regular) in Ubuntu via Ricotz’s PPA:

Rico Tzschichholz is maintaining an unofficial PPA with regular Wine packages. The PPA’s working good though it’s marked as unstable in the name.

1. To add the PPA, open terminal (Ctrl+Alt+T) and run command:

sudo add-apt-repository ppa:ricotz/unstable

2. Remove previous Wine 1.8 or other regular Wine packages via command:

sudo apt remove wine wine1.8 wine-stable libwine* fonts-wine* && sudo apt autoremove

3. Finally update and install Wine 2.0 via:

sudo apt update

sudo apt install wine-stable

How to Uninstall:

To remove Wine 2.0, simply run the apt remove command in terminal with sudo privilege:

sudo apt remove wine2.0 wine-staging && sudo apt autoremove

And you can remove the PPAs by going to Software & Updates utility under Other Software tab.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

17 responses to How to Install Wine 2.0 Stable in Ubuntu 16.04, 14.04, 16.10

  1. shubham pathak March 3, 2017 at 2:12 pm

    This is not working for me whenever i execute this command
    sudo add-apt-repository ppa:wine/wine-builds
    It says bash: command not found.
    Plz help me i tried this alot but always failed.

    • Do following command before adding the PPA:

      sudo apt-get install software-properties-common
  2. Thank you very much, just installed wine 2.0 on linux mint. I use regularly a stellar chart sofware (TUBA) and runned poorly on wine 1.6, it is running now beatifully.

  3. I need wine with gecko package included, where please?

  4. It doesn’t work.
    root@celsius:~# apt-get -f install wine-staging
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    wine-staging : Depends: wine-staging-i386 (= 2.4.0~ubuntu14.04.1)
    E: Unable to correct problems, you have held broken packages.
    root@celsius:~# apt-get -f install wine-staging-i386
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    wine-staging-i386:i386 : Depends: libglu1-mesa:i386 but it is not going to be installed or
    libglu1:i386
    Depends: libgphoto2-6:i386 (>= 2.5.2) but it is not going to be installed
    Depends: libgphoto2-port10:i386 (>= 2.5.2) but it is not going to be installed
    Depends: libudev1:i386 (>= 183) but it is not going to be installed
    Recommends: libsane:i386 (>= 1.0.11-3) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

  5. please help me whit this:
    gabriel@gabriel-Aspire-4720Z:~$ sudo add-apt-repository ppa:wine/wine-builds
    [sudo] password for gabriel:
    !!! PLEASE NOTE THAT THIS REPOSITORY IS DEPRECATED !!!

    For more information, please see:

    https://www.winehq.org/pipermail/wine-devel/2017-March/117104.html

    The following commands can be used to add the new repository:

    wget https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key
    sudo apt-add-repository ‘https://dl.winehq.org/wine-builds/ubuntu/’

    Más información: https://launchpad.net/~wine/+archive/ubuntu/wine-builds
    Pulse [Intro] para continuar o ctrl-c para cancelar

    gpg: anillo «/tmp/tmpmvue7n5r/secring.gpg» creado
    gpg: anillo «/tmp/tmpmvue7n5r/pubring.gpg» creado
    gpg: solicitando clave 77C899CB de hkp servidor keyserver.ubuntu.com
    gpg: /tmp/tmpmvue7n5r/trustdb.gpg: se ha creado base de datos de confianza
    gpg: clave 77C899CB: clave pública “Launchpad PPA for Wine” importada
    gpg: Cantidad total procesada: 1
    gpg: importadas: 1 (RSA: 1)
    OK
    gabriel@gabriel-Aspire-4720Z:~$

  6. how can i install wine software in ubuntu 16.10
    and send me link of wine software where did i get download?

  7. Correct way to install wine on ubuntu 16.04 as of Apr/2017:

    wget https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key
    sudo apt-add-repository ‘https://dl.winehq.org/wine-builds/ubuntu/’
    sudo apt-get update
    sudo apt-get install wine-stable-amd64
    # Setting up wine-stable-amd64 (2.0.1~xenial) … DONE

  8. Armando Parra May 29, 2017 at 12:42 pm

    Thanks for the post.
    Wine are running good on ubuntu 16.10

  9. Thanks for your post, it’s working fine.

  10. HI,

    After following above procedure i am unable to find wine in my unity dashboard please guide.

    Thanks

  11. silva@Com:~$ wine PROGRAM
    wine: created the configuration directory ‘/home/silva/.wine’
    err:ole:marshal_object couldn’t get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
    err:ole:marshal_object couldn’t get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
    err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
    err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
    err:ole:get_local_server_stream Failed: 80004002
    err:ole:marshal_object couldn’t get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
    err:ole:marshal_object couldn’t get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
    err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
    err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
    err:ole:get_local_server_stream Failed: 80004002
    Could not load wine-gecko. HTML rendering will be disabled.
    Could not load wine-gecko. HTML rendering will be disabled.
    wine: configuration in ‘/home/silva/.wine’ has been updated.
    wine: cannot find L”C:\\windows\\system32\\PROGRAM.exe”