By | January 20, 2018

Sponsored

Wine, the compatibility layer capable of running Windows applications on any Linux distro,  can be installed from official repos of almost all Linux distributions like Ubuntu, Fedora, Debian, Arch etc.  But most of them are outdated, lacking latest features. Now the latest Wine 3.0 is released, you might want to try the latest Wine to in order to run your favorite games and applications in Linux. In this tutorial, we will show you how to install Wine 3 in your favorite Linux distros.

Install Wine 3 in Ubuntu 18.04 or Earlier

  • Remove all Wine-related applications (wine-mono, wine-gecko, winetricks) if they are already installed in your system
  • Enable 32-bit support if you have a 64-bit system
sudo dpkg --add-architecture i386
  • Add official repository of Wine
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/
  • If you are from Linux Mint 17.X, change the last line to the following:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'
  • If you are from Linux Mint 18.X, change the last line to the following;
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
  • Update packages
sudo apt update
  • Install from the preferred branch using any one of the commands below
sudo apt install --install-recommends winehq-stable #Stable Branch
sudo apt install --install-recommends winehq-devel #Development Branch
sudo apt install --install-recommends winehq-staging #Staging Branch
  • If above steps show any dependency errors then just update and install again
Install Wine 3.0 in your Linux Systems

Image Source: WineHQ AppDB

Install Wine 3 in Debian

  • Follow the first two steps from Ubuntu
  • Get keys using which packages are signed
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key

Note: If you get an error saying user, not in sudoers list then run the command as root instead

  • Edit sources.list
sudo nano /etc/apt/sources.list
  • Append the following text to it as is
deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
  • Update packages
sudo apt update
  • Install from preferred branch
sudo apt install --install-recommends winehq-stable #Stable Branch
sudo apt install --install-recommends winehq-devel #Development Branch
sudo apt install --install-recommends winehq-staging #Staging Branch
  • If above steps give a dependancy error, update and install again.

Install Wine 3 in Fedora

  • Fedora 24
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/24/winehq.repo
  • Fedora 25
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/25/winehq.repo
  • Fedora 26
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/26/winehq.repo
  • Install from preferred branch
sudo dnf install winehq-stable #Stable Branch
sudo dnf install winehq-devel #Development Branch
sudo dnf install winehq-staging #Staging Branch

Unfortunately, you will have to wait to install Wine 3 in Fedora 27 as the official build has not been released yet. But it is expected to come soon, so stay tuned.

Sponsored

If you have any problems or doubts about installation, just comment below. Know more about the latest Wine 3.

Sponsored

One Reply to “How to Install Wine 3 in Your Favourite Linux Distros”

Share your Opinion