How to Install Wine Stable 3.0.3 in Ubuntu 18.04

September 16, 2018

Wine 1.8 PPA

Wine 3.0.3, the open-source compatibility layer to allow Windows programs to run on Unix/Linux, was released a few days ago as a new stable release.

Wine 3.0.3 fixed 52 known bugs, including fixes for Windows PowerShell, iTunes 12, Adobe Premiere Elements 14, Max Payne 3, ProPresenter 4, and various other application fixes. For more, read the announcement.

How to Install Wine 3.0.3 in Ubuntu:

Wine has an official apt repository so far with the latest packages for Ubuntu 14.04, Ubuntu 16.04, and Ubuntu 18.04.

1. Open terminal via Ctrl+Alt+T or by searching it from app launcher. When it opens, run command to add the repository key:

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

Type your password (no asterisks feedback due to security reason) when it asks and hit Enter.

2. Add wine repository via command:

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

For Linux Mint 19, use following command instead (replace bionic with xenial for 18.x):

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

3. Finally check updates and install wine stable packages:

sudo apt-get update

sudo apt-get install --install-recommends winehq-stable

NOTE: If you get the unmet dependencies issue while installing Wine, try aptitude instead via command:

sudo apt install aptitude; sudo aptitude install winehq-stable

For more details, see the official documentation.

Uninstall:

To remove wine-stable package, run command in terminal:

sudo apt-get remove --autoremove wine-stable wine-stable-amd64

To remove Wine repository, launch Software & Updates utility and navigate to 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

10 responses to How to Install Wine Stable 3.0.3 in Ubuntu 18.04

  1. Thank you very much for this gem… my first steps in WINE :)

  2. Thanks for sharing, appreciate the help

  3. Ricardo Venturini November 6, 2018 at 8:48 pm

    Im new in this ubuntus world. Im having this problem whenever im installing wine tho

    E: dpkg was interrupted, you must manually run ‘sudo dpkg –configure -a’ to correct the problem.
    ricky@Ricarbuntu:~$
    i tried to manually put that and it would say that there is no command. Whats my mistake ?

  4. Thank you, this is a solution that I expected.

  5. hi can you help please. i dont know if this message has reached you sorry if you see it multiple times

    ~$ sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
    Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
    Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
    Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
    Get:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
    Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
    Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
    Hit:4 http://archive.canonical.com/ubuntu bionic InRelease
    Hit:5 http://ppa.launchpad.net/trebelnik-stefina/radeon-profile/ubuntu bionic InRelease
    Get:6 http://dl.winehq.org/wine-builds/ubuntu xenial InRelease [4,701 B]
    Ign:7 https://dl.winehq.org/wine-builds/ubu... bionic InRelease
    Get:8 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [4,701 B]
    Get:9 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
    Err:10 https://dl.winehq.org/wine-builds/ubu... bionic Release
    404 Not Found [IP: 151.101.18.217 443]
    Ign:11 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ InRelease
    Hit:12 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
    Hit:13 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ Release
    Get:14 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
    Err:6 http://dl.winehq.org/wine-builds/ubuntu xenial InRelease
    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
    Get:15 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    Err:8 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 818A435C5FCBF54A
    Hit:16 http://archive.ubuntu.com/ubuntu bionic InRelease
    Reading package lists... Done
    E: The repository 'https://dl.winehq.org/wine-builds/ubu... bionic Release' does not have a Release file.
    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.
    W: GPG error: http://dl.winehq.org/wine-builds/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
    E: The repository 'http://dl.winehq.org/wine-builds/ubuntu xenial 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.
    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 818A435C5FCBF54A
    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.

    • Did you successfully install the repository key?

      Download the key via command:

      wget -nc https://dl.winehq.org/wine-builds/Release.key

      Then install the downloaded key file:

      sudo apt-key add Release.key

  6. Thank you, I was only able tu uninstall wine.

  7. How do I open it

  8. hey,
    after typing the comment
    sudo apt-add-repository hthtps://dl.winehq.org/wine-builds/ubuntu/ i am getting an error
    E: Malformed entry 53 in list file /etc/apt/sources.list (Component)
    E: The list of sources could not be read.

    can you please help me to solve this,tell me what to do after this?

  9. The key is wrong on debian buster and in order to use the apt-add-repository command, I have to install the software-properties-common package.

    Thank you for this how to.
    Ciao