I am looking for a step by step instruction to guide me in the ways of installing, configuring and debugging many of the issues new users have when dealing with Wine in Ubuntu.

What is the recommended way of installing Wine, some of the key issues that it has and how to solve them?

If I have a specific problem with an App in Wine, how do I go about solving it? What are the recommended steps to ensure that I can fix a problem related to an app I wish to use?


3 Answers 3


If you want to use the latest development/staging version of Wine, please make sure to follow the guide in the Official WineHQ Guide for Ubuntu, basically covering:

  • If you are using a 64-bit Architecture, then enable 32-bit for better compatibility

     sudo dpkg --add-architecture i386
  • Add the Wine Key, Wine Repository & Update Repositories

     sudo mkdir -pm755 /etc/apt/keyrings
     sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

We would add the repository like this (lsb_release -sc will automatically fetch the codename):

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources
sudo apt update
  • Then install the version of Wine you wish to use:

    • Based on Wine Development (Stable) (eg: 4.0)

        sudo apt install --install-recommends winehq-stable
    • Based on Wine Development (Testing Stage) (eg: 4.1)

        sudo apt install --install-recommends wine-devel winehq-devel
    • Based on Wine-Staging (Bleeding Edge) (eg: 4.1.1)

        sudo apt install --install-recommends wine-staging winehq-staging

    Lastly run

     WINEARCH=win32 winecfg

    in the terminal to make sure it configures Wine correctly (In that order). You will also need to install winetricks (Another configuration package, really helpful for installing Windows components like .NET Framework and other needed libraries). So after this, please do:

     sudo apt install winetricks

Video Demonstrations showing Wine 8.x and Up in Action (Either using Proton or Vanilla Wine) - https://www.youtube.com/@xtremelinux

Current State of Wine Gaming as of the Beginning of 2024 - https://www.youtube.com/watch?v=U6kfXFL4n5g

1. Differences between Wine Stable, Development & Staging versions

Stable versions offer less bugs with better stability and receive updates every 3-6 months after release.

Development version is the next stable version in development and receives updates every 2 weeks.

Staging version is the same as Development Version but includes all patches and enhancements from Wine-Staging

The decision to stick with the stable version (Even number versions: 1.0, 1.2, 1.4...) or with the unstable versions (Odd number versions: 1.1, 1.3, 1.5...) is up to the user, the main difference is compatibility and performance which are both enhanced in the Development version. You get the latest fixes it offers, and also become a tester that can help in the development cycle.

2. Installing the Recommended Stable Wine version (from PPA)

In the terminal type the following to add the Wine PPA, update repositories, and install latest Wine & Winetricks version:

wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key && sudo apt-add-repository -y https://dl.winehq.org/wine-builds/ubuntu/ && sudo apt update && sudo apt install wine-devel winehq-devel winetricks

or you could include the Wine 32-Bit Arch (Better support) and configuring winecfg (This should only be applied to new installations since it will move the existing Wine installation to a folder called winebck):

sudo dpkg --add-architecture i386 && wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key && sudo apt-add-repository -y https://dl.winehq.org/wine-builds/ubuntu/ && sudo apt update && sudo apt install wine-devel winehq-devel winetricks && export WINEARCH=win32 && winecfg

3. How to know which components an application needs

To find out what components an app needs, look in the Wine Application Database. It lists if the application is usable, what components it needs and how to install them.

4. How to install additional components, DLLS and Libraries to Wine

To have a working and enhanced Wine environment for your games and apps, I suggest you use winetricks to install additional components which offer better compatibility with games. To have a better working system do the following here is an example for HL/HL2 (Non-Steam. For the Steam Version go here: How can I install Steam? . Know that Half-Life and HL2 are natively supported in Ubuntu):

To play HL/HL2 you need the Wine PPA as mentioned above. After opening winecfg at least once on the terminal, open winetricks by running winetricks --gui then follow this steps:

Select Select the default wineprefix

enter image description here

Select Install a windows DLL or component

enter image description here

Install all that I have marked (and any additional you need). This covers many apps:

enter image description here

enter image description here

enter image description here

enter image description here

Right click the installer for HL/HL2 and select Open with Wine. Both games should work perfectly. This applies to apps in general and depending on the app you will need to install more or less components.

You can also install each component in terminal by adding the name of the component after the winetricks command:

winetricks vcrun2010 - Will install vcrun2010 using winetricks

winetricks xna40 - Will install xna40

5. Troubleshooting a Wine App

Sometimes, when running an App one or several of the following can actions can happen:

  • Frozen App
  • Wine opens a Blue window for a moment and then closes it
  • Nothing appears to happen
  • Inside the Wine window everything is Black in the start or at some point
  • DLL, Video card or Component not recognized

For most of this problems there are solutions. Here are the recommended steps for you to start troubleshooting your way into a Wine app:

  1. Always visit the Wine App Site to see what other testers have done to make the App work. For example here is me testing Dead Island: Riptide which I gave it a Bronze since after the selecting the character the whole game went to a Black screen. What I did to test out what was happening was to go to the terminal and run the game from there. In the terminal some of the errors suggested I was missing a vital piece for the game to work. After reading the error output and doing what it suggested (Replacing a corrupted DLL) I could install a component the game needed and the game worked perfectly.

  2. Knowing what the game needs is crucial to getting the game working correctly. Setting the winecfg options and OS environment is only a small part. This is only creating the environment for the app. You need to add other functionality like DirectX, XNA, .NET Framework and more that the app might need in order to work. These are key components for some apps. Without them, even if some apps work correctly, others will not. Making sure you have all of this components gives you a higher chance of complying with what an app needs.

  3. As you can see from my Dead Island test I added several winetricks packages and also installed 3 packages the games comes with (DirectX, Windows Media Format and Microsoft Visual C++ 2010). With this I managed to guarantee that the game would start and be playable.

  4. Some apps are only created for certain Windows versions as seen with Dungeon Keeper. To specify a particular Windows Version for a particular app you can open winecfg navigate to Applications and select Add Application, then search for the applications executable file and click on Open. Now select the application from the list and then change the Windows Version for it. This way, only this application will have an specific version of Windows assigned to it, instead of globally changing the Windows version for all apps.

  5. Changing the Windows version globally can affect apps that were installed with a different Windows version. For example, Installing Terraria in a Windows XP environment and then changing it after playing to Windows 7 will give you one of two errors, one, not finding the saved games and two not running the app.

  6. Running an app to diagnose what the problem can be done through the terminal which is the best way by far to know what the app is doing or needing. The app can tell you information like:

  • What missing DLL it needs to run (mscore.dll, steam_api.dll)

  • What missing component it needs to run (XNA, DirectX, .NET...)

  • If the problem is you are using a 64 Bit environment instead of a 32 Bit

  • If you need to add a parameter for the app to run

    For missing DLLs I suggest using dll-files to download specific DLLs missing that are needed for the APP. Normally you can paste this DLLs inside the game folder or in the Windows/System32 folder (Or both) and that should solve the problem. For missing components use winetricks.

  1. When troubleshooting an App, always run the app in an emulated Desktop Window. Open winecfg go to Graphics and enable Emulate a Virtual Desktop. Then set the resolution for it. This way, if the app freezes, hijacks the keyboard and/or mouse focus, at least you have a way to eliminate the app instead of having it fullscreen where you have few choices:

    enter image description here

  2. For freezing scenarios of an app at fullscreen I suggest activating the "Kill X" feature that is found in the Keyboard Layout Window which can save you several seconds of time when trying to get out of a frozen Wine app:

    enter image description here

  3. Another technique of getting out of a frozen state is either opening a terminal and type wineserver -k or killing the X server. To do this firs configure it by running sudo dpkg-reconfigure keyboard-configuration and on the last option there that talks about killing X, say "YES". This will enable the CTRL+ALT+BACKSPACE combination.

  4. Remember that if an app needs a minimum or recommended hardware requirement in Windows, it will also need the same on Linux. If the app needs 512 MB of RAM and a 2.0 Ghz CPU, it will need the same on Linux using Wine.

  5. Sometimes an ISO has a format that you can not manage to open or install. Tools like CDEMU cover several types that bring Multi-Sector or Protected format support. This is similar to DAEMON Tools. Cases like Sims 3, Simcity 2000 and others can only be opened and installed using this app. More at Apps capable of mounting/unmounting CD/DVD Images with multi-sector or protected format

  6. Shader Model 3.0 is not recognized in Wine / Steam

    Some games require Shader Model and output an error similar to Required OpenGL extension GL_EXT_texture_compression_s3tc. To fix this simply type the following in the terminal:

sudo apt-get install libtxc-dxtn-s2tc0

6. How do I open multiple Wine apps without them using the same Window (Overlapping)

You can setup multiple Wine windows by adjusting some Wine parameters before starting each individual Wine program. The fastest way is to open the terminal where the executable of the app you want to run exists. Let us assume it is the Wow.exe app. Then simply type the following:

wine explorer /desktop=WOW,1024x768 "Wow.exe" -opengl -console

This would open the Wow.exe executable with a Window titled "WOW", a resolution of 1024x768 for that specific Window and it would apply the parameters -opengl and -console to the Wow executable. Now assuming you have the game installed somewhere else, you would the following change:

wine explorer /desktop=WOW,1024x768 "/media/cyrex/fun/wow/Wow.exe" -opengl -console

This executes Wow.exe assuming it resides in the folder wow inside a partition called fun in your /media/USER folder. The output should be similar to this when running for example 4 apps:


There is a more easier way to accomplish this. The idea is to create a Desktop shortcut by right clicking on the Desktop and selecting New Document --> Empty Document. This should create an "Untitled Document" file on your desktop. Now open the file and paste in it the following:

[Desktop Entry]

Now save it and rename the file to the application you want to open but at the end add ".desktop". It will turn into an "Executable Windows Icon". Now right click the Icon again and go to Properties --> Permissions --> Activate Allow executing file as program. Now go to the Basic Tab and insert the information you need to execute that wine app. The end result should be something like this:

enter image description here

7. Does having Ubuntu 64 bit influence Wine

Yes, having Ubuntu 64 Bit will also set Wine as 64 bit. This will create several problems for many Windows apps that only work on 32 Bit, for example not being able to install several of the .NET Frameworks since they will only work on the 32-Bit version, which will result in the user not being able to run many Windows applications. To solve this you need to do the following after having succesfully installed the PPA version as I mentioned above. Immediately afer installing the PPA wine package and before opening winecfg open the terminal (Make sure you are at your home folder by typing cd ~) and type the following:

rm -fr ~/.wine  
export WINEARCH=win32  
export WINEPREFIX="/home/USER/.wine"  

Change USER with your user account. For example in My case, that line would read export WINEPREFIX="/home/cyrex/.wine"

With this method you have changed the Wine architecture to 32 bit and on the moment you open Winecfg, it will configure all the Windows versions available to 32 Bit.

8. Alternatives to using Wine PPA

PlayOnLinux (PoL)

Although you can actually install and configure everything you need with Wine alone and it's complementing apps (winetricks, regedit, explorer), there are several apps that do this for you. One is PoL, which can save you the trouble and time when installing an application. With PoL you can find a list of apps that you can select and install in it's database:

enter image description here

and by simply selecting to install you achieve the following benefits:

  • Creating an independent container which holds the app installed, a specific Wine version for the app installed (In some cases, a specific Wine version works better for a specific app than the current Wine version).

  • Automatically installing any additional DLL and Components the app needs to function correctly.

  • Adding the appropriate registry keys the app needs

  • Create an independent way of running multiples apps without them overlapping each other with Windows version changes, regedit changed, specific Wine versions, etc..

Of course, it is important to know that PoL works side by side with Wine and it needs Wine to work correctly (It is based on it). In many cases, an app might not work with PoL but will work with the default Wine configurations I have mentioned in this guide. So if you find the app you want to use in PoL, great. But if you don't find it, remember you always have the alternative to using the default Wine to install and configure the app.

The benefits of installing the app using Wine and installing it using PoL is that with Wine, you can access and execute the App using the DASH, like in the images below:

enter image description here (Terraria)

enter image description here (Dead Space & Dead Island)

CodeWeavers CrossOver (CC)

CC is very similar to PoL on how to install and configure apps. The main difference is that CC offers official support. They even have their own CodeWeavers Database which holds more than 10.000+ apps. Not only that but they have a ranking system similar to the one in Wine's AppDB. They have also contributed to the development of Wine some of which you can see in their Support.

Steam The biggest one of them all. It supports all Steam games and many non steam games by adding them via the non-steam option. It also offers Proton (Which covers almost all cases for DirectX 9, 10, 11 and 12, along with Vulkan). You can find more about them at: https://store.steampowered.com

For Proton: https://github.com/ValveSoftware/Proton

For ProtonGE: https://github.com/GloriousEggroll/proton-ge-custom

For Gamescope: https://github.com/ValveSoftware/gamescope

For Direct3D 9, 10 & 11 (DXVK): https://github.com/doitsujin/dxvk

For Direct3D 12 (VKD3D): https://github.com/HansKristian-Work/vkd3d-proton

For NVAPI Using DXVK: https://github.com/jp7677/dxvk-nvapi


Lutris is another contender that uses Wine. They advertise themselves as "Lutris is a video game preservation platform aiming to keep your video game collection up and running for the years to come." You can find more about them at: https://lutris.net


Another one is Bottles, which is an application that allows you to manage Windows prefixes easily. You can find more about it at: https://docs.usebottles.com

Heroic Games Launcher

Yet another one that specializes in the Epic, GOG and Amazon Prime Games launcher. This one has an amazing interface and it is easy to follow. You can find more about it here: https://heroicgameslauncher.com/

DosBox (DB)

DB from https://www.dosbox.com is to MS-DOS apps as Wine is to Windows apps. With DB you can run MS-DOS apps in your system. Simply install the dosbox package and you are done. Running an app is as simple as going to the folder where the app resides and executing the following:

  `dosbox ./`

This will open the current folder as a drive letter on the DB environment.

You can also mount a folder by doing the following after opening DB:

   `mount x: /Absolute/Path/To/Folder/Of/App`

For example

   `mount c: /home/cyrex/Desktop/Dune2`

Will create the C: Drive letter which contains the Dune2 folder. So if I simply execute dune2.exe I get the following:

enter image description here

9. What are some special parameters and tips I can use with Wine

There are a couple, for example:


wine --version - Shows the version of wine

wineserver -k - Kills all wine versions for the specific user. This is useful if your Wine app is frozen, took the whole screen and does not let you use Ubuntu, has the mouse or keyboard focused on it and other Wine issues that might appear with some apps.

wine explorer - Will open an explorer similar to the Windows Explorer

wine explorer /desktop=X,Y - Creates a virtual desktop where X is the name of the Desktop Window and Y is the resolution of the Window. For example: wine explorer /desktop=WOW,1024x768 Wow.exe

regedit - Will open the regedit version of Wine similar to the Windows one.

wine uninstaller - Opens the Add & Remove of Wine similar to the one in Windows, where you are able to see which apps you have installed.

winetricks - Opens the app to install missing Libraries, DLLs and Components for the correct functionality of the apps.

winecfg - Opens the Wine Configuration to set Video, Sound and Windows version.

wine ipconfig - Shows the IP that Wine can see. Similar to ipconfig.

wine netstat - Shows the IP/Port connections made. Similar to netstat.

wine start - Sets working directory for the executable. This option helps in cases where the executable only works from the same folder and not from a full path. An example is if you wanted to run a .bat file or simply execute a command from another folder (eg: Parent folder), you would do something like this, assuming we are not in the same folder as MetroLL.exe:

 `wine start /d "C:\\Program Files\\GMT-MAX.ORG\\Metro Last Light" MetroLL.exe`

This would do two things, sets the directory to the Metro Last Light folder and then it would run the MetroLL.exe mentioned at the end. This is similar as running the executable from the same folder but it has the advantage of running the app from any other place. The thing to know here is that:

  • Wine does not like Unix paths, so you need to separate folders with \\ instead of \
  • You need to use an absolute path. You need to start from C:\\ to make sure the executable will always work as it should.
  • If the executable is outside the C: drive, then add the corresponding letter. For example, to execute a Windows binary outside of Wine, you would use the Z:\\ letter since Z: normally points to the Linux system's root directory.
  • If in doubt ask the command for help with the /? parameter, (eg: wine start /?)

export WINEPREFIX - This variable is used to change the Wine Prefix to another location. For example if you wish to merge PoL and Wine (Not recommended since PoL has multiple Prefixes) you can do the following:

   `export WINEPREFIX="/home/USER/.PlayOnLinux/wineprefix/PREFIX"`

Where PREFIX is the one you want to merge with Wine. You would have to run winecfg again.


  • When dealing with folders that have spaces (eg: World of Warcraft), you can execute the Wow.exe file by adding the \ symbol in front of every space, this escapes the symbol. The end result would be something like "World\ of\ Warcraft\Wow.exe". If you do not want to add this escape symbols to your line of code, simply double quote the entire link, so it looks like:

    wine explorer /desktop=WOW,1024x768 "/media/cyrex/My Partition/World of Warcraft/Wow.exe" -opengl -console

as seen, there are 2 folders with spaces in them, "My Partition" and "World of Warcraft", but since I quoted the whole string, the need to include escape characters is not needed. If you wished to use the Wine Path (eg: C:/) then all slashes would be a double slash (eg: "C:\Program Files\App").

  • Parameters that are applied to an app should always be OUTSIDE the quoted strings. Using the example above, we can see -opengl and -console outside the quotes.

  • Dealing with apps that take hold of you mouse and/or keyboard, you can use wineserver -k to kill the app, opening the App in Windows mode or setting the Windows mode with the wine explorer /desktop parameter will save you from having this mouse/keyboard problems.

10. Stability, Performance and App Support Wine offers to end users


I have tried Wine since 2005 and seen how the developing process in Wine under Ubuntu has been quickly catching up to the latest games.

Before Wine 1.2 came out around 2012, it was difficult to get many apps working on Wine, but after Wine 1.2 came out it was a totally different result. Even more so after 1.4 came out in 2012, 1.6 in 2013 and then 1.8 in 2015. Many cases started to appear where they would work out of the box. Cases like Deep Space 2 which is/was one of the latest games I could play at that moment and which I tested 3 days after it was released. Alice in Wonderland (The new one I mean), The Sims 3, World of Warcraft, Amnesia and others. Even Skyrim could be played. These are games that demand powerful graphics and you can play them with little to no additional setups other than the normal install provided above.

To know what games you can play on Wine I recommend visiting the Wine App Database: http://appdb.winehq.org/ which holds more than 10K+. This includes information about their performance & stability and it helps in knowing if a game is playable.

The Wine App Database also offers a Ranking which determines what games can be played with less issues, if any. When you see this ranks, you have an idea if the App will work or not. Mind that you need to also take into consideration what hardware and Wine version the tester shows on the Wine Database. The rankings are as follow:

Platinum Rank - Means you have an almost 100% chance the app will work out of the box.

Gold Rank - Means you might find yourself doing a little bit of configuring but it will work out at the end.

Silver Rank - Means that the app will run, but might have graphical, sound or control issues.

Bronze Rank - Means the app will not work correctly.

Garbage Rank - Means the app still does not work and probably will not even install. The only way you could make it work would be when Superman starts eating kryptonian cereal in the morning.

For reference, a couple of years ago the amount of Platinum games was less than 50. In 2012 you could find More than 1.5K games out of which almost 200 were in the Latest Titles. Today there are more than 6K+ Games of which 4K+ are Platinum. The more people that participate in testing Wine apps, the better. Main reason I always recommend using the PPA from Wine.


For performance information see Gaming performance difference between Windows and Ubuntu

11. How to Uninstall Wine

Uninstalling Wine can be done in 2 ways depending on your needs. If you only need to "Reset" Wine to the default values, you can simply delete the .wine folder and then create it again by running winecfg. If you have apps on the .wine folder that you wish to backup, now would be a good time before deleting the folder. To delete the folder simply do the following and it will take care of the whole Wine environment:

rm -fr ~/.wine
rm -fr ~/.cache/wine

Now if you want to actually uninstall Wine from Ubuntu, you can do the following, but note that this will NOT delete your .wine or cached folder:

sudo apt purge wine*

This would uninstall every package related to wine, including wine, wine1.9, winehq, winetricks and more. Basically removing anything related to wine.

  • 5
    @LuisAlvarado, what an amazing reply! +1 for PlayOnLinux; I don't even know how to use Wine — I just let PlayOnLinux do everything for me. Jul 9, 2013 at 10:19
  • 2
    That's a ton of information! Easily the longest answer I've ever seen in here. Couldn't you just go to the Ubuntu Software center, search for Wine and click on install?
    – Harsha
    May 19, 2017 at 4:52
  • 1
    @LuisAlvarado Could you please explain how to uninstall wine? This would help me a lot. Thanks. May 24, 2017 at 2:13
  • @codeaviator Thank you for the idea. Added the unistall process at the end that covers, users that actually want to "reset" wine and users that actually want to purge the hell out of it like there is no tomorrow. Good work codeaviator. May 24, 2017 at 19:42
  • @LuisAlvarado: Awesome post.. Just a quick question- Is there any way to install both 32 bit and 64 bit applications. So that when I execute an application it will automatically detect whether its a 32 bit or 64 bit and executes accordingly without any problem. Jun 15, 2017 at 5:52

How To Install/Uninstall Wine Fully and Run "Wine"(create wine folder).

Open your terminal, If you are using a 64-bit Architecture linux system, then enable 32-bit for better compatibility...

sudo dpkg --add-architecture i386
sudo apt update

First of all what we are going to do is install wine64 and wine32, for better compabilaty with game's, also this is the proper way, so copy and paste each of the following commands in your terminal.

sudo apt install wine32 # or sudo apt-get install wine32
sudo apt install wine64 # or sudo apt-get install wine64

Next Install Wine staging from the official Wine repositories

The following procedure can be used to install Wine directly using WinHQ packages. Start By Updating your linux system, using :

sudo apt update

Next add WineHQ signing key and repository:

wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/ubuntu/ focal main'

At this point we have the following WineHQ installations available: stable, staging and development version. Select the installation command to suit your environment:

WineHQ Stable To install stable WineHQ packages enter:

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

Check version after Wine installation:

wine --version

It should give you : wine-5.0

WineHQ Staging To install stating WineHQ packages enter:

sudo apt-get install --install-recommends winehq-staging

Check version after Wine installation:

wine --version

It should give you : wine-5.2 (Staging)

WineHQ Development To install development WineHQ packages enter:

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

Check version after Wine installation:

wine --version

It should give you wine-5.2

(Copy and Paste)To run wine type winecfg in your terminal :


Click Below to see results

In the terminal to make sure it configures Wine correctly (In that order). You will also need to install winetricks (Another configuration package, really helpful for installing Windows components like .NET Framework and other needed libraries). So after this, please do:

sudo apt install winetricks

How to Uninstall Wine

Uninstalling Wine can be done in 2 ways depending on your needs. If you only need to "Reset" Wine to the default values, you can simply delete the .wine folder and then create it again by running winecfg. If you have apps on the .wine folder that you wish to backup, now would be a good time before deleting the folder. To delete the folder simply do the following and it will take care of the whole Wine environment:

rm -fr ~/.wine

rm -fr ~/.cache/wine

Type winecfg to creat your .wine folder :


Now if you want to actually uninstall Wine from your Linux Distro, you can do the following, but note that this will NOT delete your .wine or cached folder:

sudo apt purge wine*

This would uninstall every package related to wine, including wine, wine 6.0, winehq, winetricks and more. Basically removing anything related to wine.

Remove Unnecessary packages :

sudo apt autoremove

And Upgrade your system :

sudo apt upgrade

Special note for Ubuntu 18.04 LTS (Bionic Beaver)

If you are not satisfied with Wine 3.6.x versions from official repository, then read the method below.

For such Ubuntu version the WineHQ repository misses FAudio dependencies.
I have reported a bug 48513 to WineHQ bugzilla.

So we need to follow official WineHQ guide for Ubuntu partially:

sudo dpkg --add-architecture i386
sudo apt update

Note: if you have WineHQ repository added - remove it with

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

to prevent the mess of repositories and then proceed.

Then we need to add other repository from OpenSuse Build Service to get libfaudio0 installed:

wget -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key -O Release.key -O- | sudo apt-key add -
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
sudo apt-get update

and only after this install one of WineHQ packages:

# Stable branch     
sudo apt install --install-recommends winehq-stable

#Development branch     
#sudo apt install --install-recommends winehq-devel

#Staging branch     
#sudo apt install --install-recommends winehq-staging
  • Note for our smart-minded downvoters: while using official repository from Wine wiki you will get The following packages have unmet dependencies: winehq-staging : Depends: wine-staging (= 6.1~bionic-1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.. Is it OK for you? You wonna get Wine, but get this error.
    – N0rbert
    Feb 3, 2021 at 14:22
  • its ok..........
    – Ibster
    Mar 2, 2021 at 7:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .