Home Tutorials How to Install WineHQ on Ubuntu Linux

How to Install WineHQ on Ubuntu Linux

This article is an Evergreen Content by UbuntuPIT. You can safely save it to your bookmarks as it will always be updated from time to time according to any new release/information.

WineHQ for Ubuntu Linux

WineHQ is a well-known application for Linux users. This amazing software allows the user to install Microsoft Windows Software on the Linux / Unix environment. WineHQ is not an emulator or virtual machine; rather, it offers binary compatibility, graphics support, sound interaction, and support for modems, networks, scanners, tablets, keyboards, and other devices. This software is very helpful if you need to run any Windows software on a Linux system.

Today, I will show you how to install WineHQ on Ubuntu, Linux Mint, Elementary OS, and other Ubuntu-based distros.

Install WineHQ on Ubuntu / Linux Mint

  • Run the following command into Terminal to enable 32-bit architecture from the 64-bit system (if you haven’t already):
sudo dpkg --add-architecture i386
  • Now run the below commands one by one to add the Official PPA and install the GPG key to be able to receive software updates:
wget -nc 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/
  • Now update packages:
sudo apt-get update
  • Then install one of the following packages:

Stable branch

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

Development branch

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

How to Remove the Package

Run the following command to uninstall Wine:

sudo apt-get remove --autoremove winehq-devel

Moreover, you can also remove the repository via Software & Updates utility under Other Software tab.

If you face any problems, please let me know in the comment section. You can always follow the official documents and forum to get the best solution for any sort of issue related to Wine HQ Installation.

SEE MORE – Best and Useful Ubuntu Software That Will Make You More Productive

One Last Thing…

Mind if you do me a sweet favor and tap the Social Share Button if you learned something new? It’d mean so much to me.

Thanks again for spending part of your day here. Hope to see you come back. 🙂

Note: The features mentioned here are not all-inclusive. The features mentioned are compiled either from their respective official websites or from my personal experience using them.

6 COMMENTS

  1. i have a problem “The following packages have unfulfilled dependencies:
    winehq-devel: Depends: wine-devel (= 5.0.0 ~ bionic)
    E: The problems could not be corrected, you have retained broken packages.”

    what i doing now? plsssss

  2. It seems that this installation procedure has some problems the repository seems to not exist, here is my attempt at following your otherwise nice tutorial:

    ————————————————————————–

    someuser@someuser-machinename:~/Private/psp8$ sudo dpkg –add-architecture i386

    ————————————————————————–

    someuser@someuser-machinename:~/Private/psp8$ wget -nc https://dl.winehq.org/wine-builds/Release.key
    –2018-04-02 10:03:38– https://dl.winehq.org/wine-builds/Release.key
    Resolving dl.winehq.org (dl.winehq.org)… 151.101.36.69
    Connecting to dl.winehq.org (dl.winehq.org)|151.101.36.69|:443… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 3122 (3.0K) [application/pgp-keys]
    Saving to: ‘Release.key’

    Release.key 100%[===================>] 3.05K –.-KB/s in 0s

    2018-04-02 10:03:38 (11.6 MB/s) – ‘Release.key’ saved [3122/3122]

    ————————————————————————–

    someuser@someuser-machinename:~/Private/psp8$ sudo apt-key add Release.key
    OK

    ————————————————————————–

    someuser@someuser-machinename:~/Private/psp8$ sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
    Hit:1 https://dk.archive.ubuntu.com/ubuntu bionic InRelease
    Hit:2 https://dk.archive.ubuntu.com/ubuntu bionic-updates InRelease
    Hit:3 https://dk.archive.ubuntu.com/ubuntu bionic-backports InRelease
    Hit:4 https://security.ubuntu.com/ubuntu bionic-security InRelease
    Ign:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
    Err:6 https://dl.winehq.org/wine-builds/ubuntu bionic Release
    404 Not Found [IP: 151.101.36.69 443]
    Reading package lists… Done
    E: The repository ‘https://dl.winehq.org/wine-builds/ubuntu 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.

    ————————————————————————–

    someuser@someuser-machinename:~/Private/psp8$ sudo apt-get update
    Hit:1 https://dk.archive.ubuntu.com/ubuntu bionic InRelease
    Hit:2 https://dk.archive.ubuntu.com/ubuntu bionic-updates InRelease
    Hit:3 https://dk.archive.ubuntu.com/ubuntu bionic-backports InRelease
    Hit:4 https://security.ubuntu.com/ubuntu bionic-security InRelease
    Ign:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
    Err:6 https://dl.winehq.org/wine-builds/ubuntu bionic Release
    404 Not Found [IP: 151.101.36.69 443]
    Reading package lists… Done
    E: The repository ‘https://dl.winehq.org/wine-builds/ubuntu 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.

    ————————————————————————–

    someuser@someuser-machinename:~/Private/psp8$ sudo apt-get install –install-recommends winehq-devel
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package winehq-devel

    ————————————————————————–

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Exit mobile version