Wine

From The World according to Vissie
Jump to navigation Jump to search

Wine Staging

Wine consists of a 32-bit and optional 64-bit part. In order to install i386 packages on a 64-bit system, you have to run the following command as a first step:

sudo dpkg --add-architecture i386

Afterwards import the key for our repository:

wget https://repos.wine-staging.com/wine/Release.key
sudo apt-key add Release.key

And add our repository at the end of your /etc/apt/sources.list file:

# For Debian Wheezy add the following line:
deb https://dl.winehq.org/wine-builds/debian/ wheezy main

# For Debian Jessie this one:
deb https://dl.winehq.org/wine-builds/debian/ jessie main 

# For Debian Stretch this one:
deb https://dl.winehq.org/wine-builds/debian/ stretch main

# And for Debian Sid this one:
deb https://dl.winehq.org/wine-builds/debian/ sid main
Afterwards update the package cache and install Wine Staging:
sudo apt-get update
sudo apt-get install winehq-staging


.Net

Install wine-staging then open terminal in your home directory and type commands listed below:

rm -fr ~/.wine  
export WINEARCH=win32  
export WINEPREFIX="/home/USER/.wine"  
winecfg

1a. Replace USER with your USERNAME 1b. In winecfg set Windows version to Windows 7

2. Visit https://github.com/Winetricks/winetricks and grab winetricks from there

  2a. In your home directory create folder called Winetricks
  2b. Open above folder in terminal
  2c. Type wget -r -c -N https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks then
chmod +x winetricks

3. Open winetricks (type sh winetricks in terminal) and navigate to the default wineprefix -> Installation of Windows DLL or component, find dotnet30 and dotnet30sp1 and mark it for installation.

4. Installer will install .NET Framework 3.0 and 3.0SP1 version