Thursday, March 28, 2024
HomeTutorialsHow to Install WineHQ on Ubuntu and Linux Mint

How to Install WineHQ on Ubuntu and Linux Mint

WineHQ is a well-known application for Linux users. This amazing software offers 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, 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.

The Wine development release 3.5 is now available.

What’s new in this release (see below for details):

  • More Vulkan support, including the Vulkan-1 loader.
  • Support for RSA and ECDSA cryptographic keys.
  • Improved manifest file parser.
  • Support for the Places toolbar in file dialogs.
  • Various bug fixes.

See the full changelog.

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 command 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/
  • On Linux Mint 17.x, the last line should be the following:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'
  • On Linux Mint 18.x, the last line should be the following:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
  • Now update packages:
sudo apt-get update
  • Then install one of the following packages:

Stable branch – V 3.0

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

Development branch – V 3.5

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 problem, 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.

Mehedi Hasan
Mehedi Hasan
Mehedi Hasan is a passionate enthusiast for technology. He admires all things tech and loves to help others understand the fundamentals of Linux, servers, networking, and computer security in an understandable way without overwhelming beginners. His articles are carefully crafted with this goal in mind - making complex topics more accessible.

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

You May Like It!

Trending Now