Monday 8 August 2016

Using Microsoft EXE Programs on Linux


First, enable 32 bit packages:

sudo dpkg --add-architecture i386

Then install key which was used to sign packages:

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

sudo apt-key add Release.key

Next add the 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/ DISTRO main

with DISTRO being either wheezy, jessie, stretch or sid

To avoid problems with missing dependencies, Wheezy users should also add the following to /etc/apt/sources.list (if it is not already there):
deb http://ftp.de.debian.org/debian/ oldstable main

Update packages:
sudo apt-get update

Then install (example for the development branch):
sudo apt-get install winehq-devel
or
sudo apt-get install wine:i386
sudo apt-get install wine-bin:i386

If you prefer to use the Staging branch, replace `winehq-devel` with `winehq-staging` in the line above.

If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).

No comments:

Post a Comment