Wine 3.11 Released, How to Install it in Ubuntu 18.04

June 24, 2018

Wine Stable

Wine 3.11, a new development release of the open-source compatibility layer to allow Windows programs to run on Unix/Linux, was announced a day ago.

Wine 3.11 features:

  • More debugger support for Wow64 processes.
  • Support for sha256/sha384 hashes in ECDSA signatures.
  • Better reporting of hyper-threaded CPUs.
  • Improvements to the standard Task Dialog.
  • A total of 12 bug fixes.

How to Install Wine 3.11 in Ubuntu:

Wine’s apt repository has made then new release packages for Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10, and Ubuntu 18.04.

Open terminal either via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. When it opens, run following commands one by one to and the repository and install Wine:

1. Add the official wine repository via command:

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

For Linux Mint 18.x, run below command instead to add the repository:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

2. Download and install the GPG keyring via command:

wget -nc https://dl.winehq.org/wine-builds/winehq.key; sudo apt-key add winehq.key

3. Finally update and install the latest Wine development 3.11:

sudo apt-get update

sudo apt-get install --install-recommends winehq-devel

If you got dependencies issue, install aptitude (sudo apt-get install aptitude) and replace apt-get in last command with aptitude.

Read more about installing Wine in Ubuntu.

Uninstall:

To remove wine dev release, simply run command in terminal:

sudo apt-get remove --autoremove winehq-devel

And you can remove the repository via Software & Updates utility under Other Software tab.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

22 responses to Wine 3.11 Released, How to Install it in Ubuntu 18.04

  1. Worked. Thanks!

  2. Healing Drawing July 10, 2018 at 12:33 am

    worked on kubuntu 18.04. LMMS + VeSTige no need any configure, just install wine show above, run LMMS add VeSTige instrument and connect dll etc from file system. Click “ok” that download Gecko and mono develop first time and wait, then all work as expected.

  3. whether it will works on ubuntu 18.04LTS

  4. I tried your instructions with the exception of installing winehq-stable. Although Wine seems to work, when I run “winecfg” I get a long list of errors which all contain the following line:
    “Failed writing PNG because unable to find libpng12.so.0”

  5. all I get is: “The repository ‘https://dl.winehq.org/wine-builds/ubuntu bionic InRelease’ is not signed.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.”

  6. Does not seem to work in my install. Ubuntu 18.04. I keep getting this error when adding the repository as stated in step 2.

    michael@michael:~$ sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main’
    E: Malformed entry 54 in list file /etc/apt/sources.list (Component)
    E: The list of sources could not be read.

    • Run sudo gedit /etc/apt/sources.list to edit the source file. There’s something wrong in line 54.

      BTW for Ubuntu 18.04 the command should be:

      sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
  7. after sudo apt-get install –install-recommends winehq-devel
    I get this:
    E: Malformed entry 5 in list file /etc/apt/sources.list.d/additional-repositories.list (Suite)

  8. xubuntu 18.04, I see this when attempting to add the repository:

    Err:1 ‘https://dl.winehq.org/wine-builds/ubuntu’ bionic InRelease
    The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    Reading package lists… Done
    W: GPG error: ‘https://dl.winehq.org/wine-builds/ubuntu’ bionic InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    E: The repository ‘https://dl.winehq.org/wine-builds/ubuntu bionic InRelease’ is not signed.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

  9. I have the same problem

  10. If you are facing any issues with the public key, use below steps to resolve.

    wget -nc https://dl.winehq.org/wine-builds/winehq.key
    sudo apt-key add winehq.key

    Then sudo apt-get update

  11. still getting same as people above me any suggestions?

  12. having a problem trying to install wine on ubuntu. ive followed the steps above and all i get is this string of code with errors

    Ign:1 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ – Release amd64 (20180725) bionic InRelease
    Hit:2 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ – Release amd64 (20180725) bionic Release
    Err:3 “https://d.winehq.org/wine-builds/ubuntu” xenial InRelease
    Could not resolve ‘d.winehq.org’
    Hit:5 “http://us.archive.ubuntu.com/ubuntu” bionic InRelease
    Hit:6 “http://us.archive.ubuntu.com/ubuntu” bionic-updates InRelease
    Hit:7 “https://dl.winehq.org/wine-builds/ubuntu” bionic InRelease
    Hit:8 “http://us.archive.ubuntu.com/ubuntu” bionic-backports InRelease
    Hit:9 “http://security.ubuntu.com/ubuntu” bionic-security InRelease
    Reading package lists… Done
    W: Failed to fetch “https://d.winehq.org/wine-builds/ubuntu/dists/xenial/InRelease” Could not resolve ‘d.winehq.org’
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    idk what to do and im lost and confused

  13. This worked for me:
    CAE Linux Ubuntu 18.04
    wget -nc https://dl.winehq.org/wine-builds/winehq.key
    sudo apt-key add winehq.key
    sudo apt-get update
    sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main’
    sudo apt-get install –install-recommends winehq-devel

    Then:
    The following packages will be upgraded:
    wine-stable
    1 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
    Need to get 93.3 MB of archives.
    After this operation, 848 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    .
    .
    .
    etc
    Worked..Woohoo..Thanks All..

  14. Many thanks. 18.04 Bionic Beaver is Go for play time.
    Worked out for me.

  15. even after using aptitude it shows dependencies issue

  16. didn’t work