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