How to Install Wine 5.0 on Debian, Ubuntu and Linux Mint
Wine is an open-source, free and easy-to-use program that enables Linux users to run some Windows-based applications on Unix-like operating systems. Wine is a compatibility layer for installing almost all versions of Windows programs.
This article describes a few easy steps to install the latest stable version of Wine 5.0.2 under Debian 10/9, Ubuntu 20.04-16.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 5.0 on Ubuntu, Linux Mint and Debian
If you looking to have a most recent version of Wine 5.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 5.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 (= 5.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)
Note: Don’t forget to replace DISTRO with your Debian release either buster or 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. 5.0.2 as of now), is to build wine from source tarball using following commands.
$ wget https://dl.winehq.org/wine/source/5.0/wine-5.0.2.tar.xz $ tar -xvf wine-5.0.2.tar.xz $ cd wine-5.0.2/ $ sudo ./configure $ sudo ./configure --enable-win64 [For 64-bit platform] $ sudo make && sudo make install source : https://www.tecmint.com/install-wine-on-ubuntu-and-linux-mint/Posted on: September 22, 2020, by : Julian's | 17 views