Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form

How to install and uninstall WineHQ on Linux

Posted on 05/05/202001/10/2023 IT Expert By IT Expert 4 Comments on How to install and uninstall WineHQ on Linux
  1. Home
  2. Linux
  3. How to install and uninstall WineHQ on Linux
install and uninstall WineHQ on Linux

Wine (Wine Is Not an Emulator) allows running Microsoft Windows applications on Unix-like operating systems. WineHQ version 5.7 was launched on the 24th of April, 2020, and comes with a bucketful of cool features and improvements to enhance your experience when running Windows applications and games on the Linux platform. For some of us that are not familiar with Wine, it is an application in Linux that allows Windows users to seamlessly run their applications, etc. on Linux. For WineHQ improvements and capabilities, see the following link.

Follow the steps below to install and uninstall WineHQ on Linux. Kindly refer to these related guides: What is Windows Subsystem for Linux (WSL), WineHQ: How to run Windows applications on Linux, and and how to run Windows applications on Linux. 

If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts.

Install WineHQ

Installing WineHQ packages is pretty straightforward. Below are the following steps employed.
Step 1: Before proceeding to install WineHQ, you will need to check if your system is 32-bit or 64-bit. Then choose the suitable Wine version

Check if your system is 32- or 64 bit

This output above shows my system is 64 bits. You can also determine this by opening your terminal and type the code below.

lscpu
System information

Note: If your system is 32 bits, you will you need to run the following command to add the Wine i386 architecture before proceeding with the next steps,

sudo dpkg --add-architecture i386

This command will enable the Wine i386 architecture

Step 2: Firstly update the Linux (system) repository with the command below

sudo update 
Update the linux repository in command

Step 3: Download and add the repository key

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
Download and add the repository key

Step 4: Add the latest available Wine repository. For Ubuntu 20.04, use the following syntax below

sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Add the latest available Wine repository

Step 5: Install one of the following WineHQ packages. Here are the available three options to install WineHQ
– WineHQ stable branch: sudo apt install –install-recommends winehq-stable
– WineHQ development branch: sudo apt install –install-recommends winehq-devel
– WineHQ Staging branch: sudo apt install –install-recommends winehq-staging

I will be installing the stable version as shown below

sudo apt install --install-recommends winehq-stable
installing stable version of WineHQ
Installation in progress

Now that WineHQ is installed, we can now verify the version by running

wine --version
Verify Wine version

To install WineHQ without an internet connection, see this link

Configure WineHQ (Launch and test WineHQ)

By running the GUI Wine configuration tool, you’ll generate a fresh configuration file for WineHQ which you can then configure to your own requirements later.

Run the command below to open up the GUI application

winecfg
run command to open GUI application installer
click on install
click on install to start WineHQ installation

Thereafter, Wine’s configuration panel below will be launched as shown.
– Also to verify the version of wine, click on the ‘About’ tab located at the far right corner.

Note: Now it is safe to close the configuration tool if you don’t plan on changing Wine’s configuration
– Click on “OK.”

On Wine configuration click on add application
On about, enter your windows registration information
Select drive

Using the Wine application database, you can find relevant settings for any Windows games or software you’re looking to run. You can then modify your settings using the Wine configuration tool to meet these requirements.

Uninstall WineHQ

If you ever need to uninstall any Windows software, open the terminal and type the following command into your terminal.

wine uninstaller

See how to run Windows applications on Linux, see the following link.
Note: You can also install Wine from the Ubuntu Software Center as shown below. Search for Wine and Click on it to have it installed.

You can also install Wine from the Ubuntu Software Center as shown below. Search for Wine and Click on it to have it installed.

If you found this article on How to install and uninstall WineHQ on Linux useful, kindly leave a comment below.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Linux Tags:Linux distro, Slide, Ubuntu

Post navigation

Previous Post: How to disable automatic screen lock in Ubuntu Linux
Next Post: How to run Windows applications on Linux via WineHQ

Related Posts

  • unionfsfeature
    How to Overlay two files with UnionFs in a Linux System Linux
  • integrate VHR with VBR
    How to deploy and integrate VHR with VBR Backup
  • goland
    How to install Golang on a Linux System Linux
  • Screenshot 2022 03 21 at 18.06.30
    How to Configure Virtual Host for Apache HTTP Web Server to Host Several Domains on Ubuntu 20.04 LTS Linux
  • How to Set Up and Configure a Squid Proxy Server Linux
  • fba7f screenshot 2019 04 15 at 18.33.30
    File System Overview: How to decide on the right File System to use for your USB Linux

More Related Articles

unionfsfeature How to Overlay two files with UnionFs in a Linux System Linux
integrate VHR with VBR How to deploy and integrate VHR with VBR Backup
goland How to install Golang on a Linux System Linux
Screenshot 2022 03 21 at 18.06.30 How to Configure Virtual Host for Apache HTTP Web Server to Host Several Domains on Ubuntu 20.04 LTS Linux
How to Set Up and Configure a Squid Proxy Server Linux
fba7f screenshot 2019 04 15 at 18.33.30 File System Overview: How to decide on the right File System to use for your USB Linux

Comments (4) on “How to install and uninstall WineHQ on Linux”

  1. Avatar photo Leenie says:
    13/05/2021 at 7:49 PM

    How to completely uninstall winehq wine and the ppa? You never answered that question, but that is what the title says!

    Log in to Reply
    1. Avatar photo Leenie says:
      31/03/2022 at 3:23 PM

      Also this is an Ubuntu wine install, not for Debian. You don’t add Ubuntu repositories to Debian!

      Log in to Reply
      1. Avatar photo TechDirectArchive says:
        31/03/2022 at 4:29 PM

        I agree with you as well. It is usually not recommended due to the issues it can introduce. We will be discussing this specifically for Ubuntu in the next guide. This is the reason for the title above “Linux”!

    2. Avatar photo TechDirectArchive says:
      31/03/2022 at 4:11 PM

      You are right @Leenie! This environment has been decommissioned and cannot be reproduced and completed as you have suggested. In the future, we wish to update this guide to discuss all areas.

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Migrate RDS CALs
    How to Migrate RDS CALs Windows
  • Setup FSx File System 1
    Create and mount FSx File System: Join EC2 instance to AWS Managed AD AWS/Azure/OpenShift
  • VPNonWindows
    Configure VPN on Windows Server: How to allow remote VPN Access for Domain or Local Users Windows Server
  • screenshot 2020 02 08 at 15.53.31
    Auto Logon Error “Username and password specified is not valid” Windows
  • maxresdefault 1
    How to locate and edit the host file on macOS Mac
  • image 9
    Fix Error 853: The remote access connection completed, but authentication failed because the certificate that authenticates the client to the server is not valid Network | Monitoring
  • windows 10 lock screen
    How to reset your lost or forgotten Windows 10 Password Windows
  • RemoteDesktopLinceseServer
    Fix Remote session was disconnected because there are no Remote Desktop License Servers available to provide a license Network | Monitoring

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,801 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.