How to Install Wine 6.0 on Debian, Ubuntu and Linux Mint

Wine is an open-source, free and easy-to-use program that enables Linux users to run Windows-based applications on Unix-like operating systems. Wine is a compatibility layer for installing almost all versions of Windows programs.

Wine 6.0 is finally released and it comes with an array of numerous enhancements and a total of 40 bug fixes. You can find out all the new features and changelog of this new release on the Wine announcement project page.

This article describes a few easy steps to install the latest stable version of Wine 6.0 under Debian 10/9, Ubuntu 20.04-18.04, and Linux Mint 20-19 systems, and also we will see how to configure wine, install windows software, and Un-install.

Installation of Wine 6.0 on Debian, Ubuntu, and Linux Mint

If you are looking to have the most recent version of the Wine 6.0 stable series, you have to use a new Wine repository PPA which offers both development versions and stable versions of Wine for Debian, Ubuntu, and Linux Mint.

Install Wine on Ubuntu and Linux Mint

To install Wine 6.0 on Ubuntu and Linux Mint, open the terminal by hitting 'CTRL + ALT + T‘ from the desktop and run the following commands to install it:

----------------- On Ubuntu & Linux Mint ----------------- 
$ sudo dpkg --add-architecture i386    [Enable 32-bit Arch]
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key add winehq.key
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'  [Ubuntu 20.04 & Linux Mint 20]
$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' [Ubuntu 18.04 & Linux Mint 19.x]
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' [Ubuntu 16.04 & Linux Mint 18.x]


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

If you get the error “winehq-stable : Depends: wine-stable (= 6.0.0~bionic)“, while installing wine, you need to add the following PPA to fix the error.

$ sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
$ sudo apt-get update
$ sudo apt-get install --install-recommends winehq-stable

Install Wine on Debian

To install Wine on Debian.

$ sudo dpkg --add-architecture i386
$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key add winehq.key

Next add the following repository to /etc/apt/sources.list or create a *.list under /etc/apt/sources.list.d/ with the following content.

deb https://dl.winehq.org/wine-builds/debian/ buster main    [Debian 10 (Buster)]
deb https://dl.winehq.org/wine-builds/debian/ stretch main   Debian 9 (Stretch)

Now update the package repository database and install Wine as shown.

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

Installing Wine Using Source Code on Debian, Ubuntu & Mint

Another way to get the most recent stable version of Wine (i.e. 6.0 as of now), is to build wine from source tarball using the following commands.

$ wget https://dl.winehq.org/wine/source/6.0/wine-6.0.tar.xz
$ tar -xvf wine-6.0.tar.xz
$ cd wine-6.0/
$ sudo ./configure 
$ sudo ./configure --enable-win64   [For 64-bit platform]
$ sudo make && sudo make install

How to Use Wine to Run Windows Apps & Games

To demonstrate how we can run Windows program using wine, we have downloaded Rufus .exe file from the official Rufus download page.

To run Windows Rufus executable file, run the command:

$ wine rufus-3.13.exe
Run Windows Program in Ubuntu
Run Windows Program in Ubuntu

Once you run the program, Wine will start creating a configuration file in the user home directory, in this case, ~/.wine as shown.

Wine Configuration
Wine Configuration

During Wine configuration, it will as you to install the wine-mono-package which is required by .NET applications, click the ‘Install’ button.

Wine Mono Installer
Wine Mono Installer

The download will soon start.

Downloading Wine Mono Installer
Downloading Wine Mono Installer

Additionally, it will also ask you to install the Gecko package which is required by applications embedding HTML.

Wine Gecko Installer
Wine Gecko Installer

Choose whether you want to check for application updates from time to time.

Rufus Update Policy
Rufus Update Policy

Finally, the Rufus will be displayed as shown.

Rufus Programe Running on Ubuntu
Rufus Program Running on Ubuntu

We have successfully installed Wine on Debian, Ubuntu, and Linux Mint and shown you a preview of how you can run Windows applications in a Linux environment.

Uninstalling Wine in Debian, Ubuntu, and Linux Mint

If you are not happy with the wine program, you can remove it completely by using the following command.

$ sudo apt purge winehq-stable

You can also download the Wine source package for other Linux distributions from the wine download page.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

153 thoughts on “How to Install Wine 6.0 on Debian, Ubuntu and Linux Mint”

  1. Would Wine 6.0 run a DOS program on a Raspberry Pi 4B, 64 bit, running Ubuntu-MATE 20.04?

    Would I just need to download the Ubuntu version for that, or does the Ubuntu download work for all the flavors?

    Reply
  2. I’m a new user of Linux and your screen-shop explaining installation instructions are very useful. Thank you.

    Reply
  3. Since I’m a Windows user, these things become confusing sometimes. But thank you for the explanation, currently trying this article way to do it.

    Reply
  4. I’m still a little confused when installing wine from version 3.0 to version 4.0, I’m a little overwhelmed and often fails, is there a solution

    Reply

Leave a Reply to Gubuk Pintar Cancel reply

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.