A blog all about Linux and Linux software.

How do you install Wine

WINE can be installed on many systems including OS X and Linux.Today I will show you how to install WINE on 4 of the main Linux Distros’. Fedora (22/23), Ubuntu(16.04), Debian(8) and Arch Linux (Build 5/1/2016).

1: Fedora

Fedora needs a wineHQ repository added before you can install WINE.You can do this with the command  dnf config-manager —add-repo https://dl.winehq.org/wine-builds/fedora/22/winehq.repo for Fedora 22and the command dnf config-manager —add-repo https://dl.winehq.org/wine-builds/fedora/23/winehq.repo for Fedora 23You then can install WINE with the command

Advertisement
dnf install winehq-devel

for the development version. For the staging version you need to replace ‘winehq-devel’ to ‘winehq-staging’

2: Ubuntu

Ubuntu has two main ways to install WINE.The easiest way that leaves you with an older version of WINE needs you to type in the command sudo apt-get install wineIf you need to have the latest version of WINE you will need to add a repository.You can do this with the command

Advertisement
sudo add-apt-repository ppa:wine/wine-builds

you then run the command sudo apt-get update and then finally run either

sudo apt-get install —install-recommends winehq-development

4:Arch Linux (1/5/2016)or

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

for the development and staging versions of WINE respectively.

3: Debian (8 Jessie)

In Debian 8 you install WINE in a similar way to Ubuntu.If you want to install the default packages you would type

Advertisement
sudo apt-get install wine

for the stable version and

sudo apt-get install wine-development

https://wiki.archlinux.org/index.php/winefor the development version.However if you are on a 64 bit system (which debian.org states is true for most users) you will need to enable multiarch first. You can do this with the command

Advertisement
sudo dpkg —add-architecture i386 && apt-get update

Debian 8 also has a backports system to give you more up to date programs of which WINE is included.If you want to install WINE through backports you can go to https://wiki.debian.org/Wine which has a guide for the backports.Wine HQ also has a repository for Debian 8To add the repository you need to do 5 or 6 stepsFirstly if you have a 64 bit processor you will need to enable multiarch support. You can do this with the command

Advertisement
sudo dpkg —add-architecture i386

Next you need to download the key used to sign the repository packages. You do this with the command

Advertisement
wget https://dl.winehq.org/wine-builds/Release.key

Then you add the key to your system. with the command

sudo apt-key add Release.key

After that you need to add the repository to your apt sources. You do this by adding the text

Advertisement
deb https://dl.winehq.org/wine-builds/debian/ jessie main

to the file /etc/apt/sources.list. You can do this with the command sudo nano /etc/apt/sources.list.Once you’ve done that you need to update it with the command sudo apt-get update.Finally you need to install wine with either

Advertisement
sudo apt-get install winehq-development

or

sudo apt-get install winehq-staging

for the development and staging versions of WINE respectively.If apt complains about missing dependinces install them and then repeat the final step.

Advertisement

4:Arch Linux (build 1/5/2016)

Arch Linux also has Wine in the official repositories. You will need to enable the multilib repository if you are using the 64bit version of Arch. You can install the Wine package with the command

Advertisement
sudo pacman -S wine

If you have any problems you can look on the Arch Linux support page at https://wiki.archlinux.org/index.php/wine.As always thank you for reading, Please leave a comment if I have made a mistake or you want to learn more about WINE.

Advertisement

Share This Story