author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 22 Feb 2016 13:12:06 +0200 | |
changeset 1908 | 0260f8ffef35 |
parent 1905 | fba288d59662 |
child 1912 | 8b81a8f0f692 |
permissions | -rw-r--r-- |
1698 | 1 |
.. -*- coding: utf-8; -*- |
2 |
.. include:: HEADER.rst |
|
3 |
||
4 |
======= |
|
5 |
Wine. |
|
6 |
======= |
|
7 |
.. contents:: |
|
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1758
diff
changeset
|
8 |
:local: |
1698 | 9 |
|
1755 | 10 |
Useful info. |
11 |
============ |
|
12 |
||
13 |
http://wiki.winehq.org/FAQ |
|
14 |
Official FAQ. |
|
15 |
||
1754
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
16 |
Clearing workspace. |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
17 |
=================== |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
18 |
|
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
19 |
Make workspace backup:: |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
20 |
|
1758 | 21 |
$ wineboot -k |
1754
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
22 |
$ mv ~/.wine ~/.wine-tmp |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
23 |
|
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
24 |
Create new workspace:: |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
25 |
|
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
26 |
$ winecfg |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
27 |
|
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
28 |
Move old programs (may not always work):: |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
29 |
|
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
30 |
$ mv ~/.wine-tmp/opt ~/.wine/opt |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
31 |
|
1698 | 32 |
Installing into separate workspace. |
33 |
=================================== |
|
34 |
:: |
|
35 |
||
36 |
$ PROFILE=my-program |
|
37 |
$ export WINEPREFIX=~/.wine-$PROFILE |
|
38 |
$ winetricks dotnet20 dotnet40 |
|
39 |
$ wine /path/to/installer.exe |
|
40 |
$ wine $WINEPREFIX/Program\ Files/Program/start.exe |
|
41 |
||
42 |
Write simple script to run program in your environment:: |
|
43 |
||
44 |
#!/bin/sh |
|
45 |
env WINEPREFIX=~/.wine-my ~/.wine-my/ |
|
46 |
||
1754
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
47 |
To make 32-bit environment:: |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
48 |
|
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
49 |
$ WINEARCH=win32 WINEPREFIX=~/.wine-32 winecfg |
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
50 |
|
1698 | 51 |
winetricks. |
52 |
=========== |
|
53 |
||
54 |
List of available packages:: |
|
55 |
||
56 |
$ winetricks apps list |
|
57 |
||
58 |
Instal .Net 2.0/4.0:: |
|
59 |
||
60 |
$ winetricks dotnet20 dotnet40 |
|
61 |
||
62 |
Wine utils. |
|
63 |
=========== |
|
64 |
:: |
|
65 |
||
66 |
$ winecfg |
|
67 |
||
1750 | 68 |
$ wine control |
1698 | 69 |
$ wine regedit |
70 |
$ wine uninstaller |
|
1750 | 71 |
$ wine notepad |
1698 | 72 |
|
1754
7597aae0aa57
Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1750
diff
changeset
|
73 |
$ winefile |
1698 | 74 |