Difference between revisions of "Windows emulator"

(Created page with "Category:Linux WINE is a windows emulator. =Windows emulator= <syntaxhighlight lang="bash"> add-apt-repository ppa:ubuntu-wine/ppa apt-get update apt-get install wine...")
 
Line 5: Line 5:
  
 
=Windows emulator=
 
=Windows emulator=
 +
 +
==Installation==
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 13: Line 15:
  
 
apt-get install wine
 
apt-get install wine
apt-get install winetricks
+
apt-get install winetricks:i386 winetricks  
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 22: Line 24:
 
apt-get install q4wine
 
apt-get install q4wine
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
 +
==Set wine in 32 bits mode==
 +
 +
By default the 64 bits version of wine is buggy... :(
 +
 +
You should use the 32 bits version instead.
 +
 +
* Remove ~/.wine if it was already created in the 64-bit mode.
 +
<syntaxhighlight lang="bash">
 +
rm -Rf ~ /.wine
 +
</syntaxhighlight>
 +
 +
* Set the WINEARCH environment variable to win32
 +
<syntaxhighlight lang="bash">
 +
vim ~/.bashrc            |or|    vim /etc/environment
 +
 +
[...after line 10...]            WINEARCH=win32
 +
export WINEARCH=win32
 +
</syntaxhighlight>
 +
 +
You probably need to reboot at that point...
 +
 +
 +
==Configuration==
 +
 +
 +
!! The configuration must be done as an user, not as root !!
 +
 +
 +
To get the list of windows libraries you can install:
 +
 +
<syntaxhighlight lang="bash">
 +
winetricks list-download
 +
</syntaxhighlight>
 +
 +
 +
Then you can install each library use ''winetricks <myLib>'' ; examples:
 +
 +
<syntaxhighlight lang="bash">
 +
# Visual C++ runtimes
 +
winetricks vcrun2003 vcrun2005 vcrun2008 vcrun2010
 +
# Windows fonts
 +
winetricks allfonts
 +
# DirectX and Direct 3D
 +
winetricks directx9 d3dx9 d3dx10
 +
# .NET frameworks
 +
winetricks dotnet20sp2 dotnet35sp1 dotnet45
 +
</syntaxhighlight>
 +
  
  

Revision as of 22:04, 28 January 2015


WINE is a windows emulator.


Windows emulator

Installation

add-apt-repository ppa:ubuntu-wine/ppa
apt-get update

apt-get install wine1.7-i386 wine1.7

apt-get install wine
apt-get install winetricks:i386 winetricks


Required libs, to be install in a 2nd time

apt-get install q4wine


Set wine in 32 bits mode

By default the 64 bits version of wine is buggy... :(

You should use the 32 bits version instead.

  • Remove ~/.wine if it was already created in the 64-bit mode.
rm -Rf ~ /.wine
  • Set the WINEARCH environment variable to win32
vim ~/.bashrc             |or|    vim /etc/environment

[...after line 10...]             WINEARCH=win32
export WINEARCH=win32

You probably need to reboot at that point...


Configuration

!! The configuration must be done as an user, not as root !!


To get the list of windows libraries you can install:

winetricks list-download


Then you can install each library use winetricks <myLib> ; examples:

# Visual C++ runtimes
winetricks vcrun2003 vcrun2005 vcrun2008 vcrun2010
# Windows fonts
winetricks allfonts 
# DirectX and Direct 3D
winetricks directx9 d3dx9 d3dx10
# .NET frameworks
winetricks dotnet20sp2 dotnet35sp1 dotnet45


Play On Linux

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list
apt-get update

apt-get install playonlinux


Sources