author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Thu, 13 Dec 2018 09:55:01 +0200 | |
changeset 2297 | 4378d604c921 |
parent 2228 | 837f1337c59b |
permissions | -rw-r--r-- |
1698 | 1 |
.. -*- coding: utf-8; -*- |
2 |
||
3 |
======= |
|
4 |
Wine. |
|
5 |
======= |
|
6 |
.. contents:: |
|
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1758
diff
changeset
|
7 |
:local: |
1698 | 8 |
|
1755 | 9 |
Useful info. |
10 |
============ |
|
11 |
||
2228
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
12 |
http://wiki.winehq.org/FAQ |
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
13 |
Official FAQ. |
1755 | 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 |