wine.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1758 a5b14a9f4498
child 1905 fba288d59662
permissions -rw-r--r--
Decrease intent to increase space usage on mobile.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1698
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
.. include:: HEADER.rst
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
=======
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 Wine.
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
=======
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
1755
0f14c3dd5e1d Official FAQ.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1754
diff changeset
     9
Useful info.
0f14c3dd5e1d Official FAQ.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1754
diff changeset
    10
============
0f14c3dd5e1d Official FAQ.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1754
diff changeset
    11
0f14c3dd5e1d Official FAQ.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1754
diff changeset
    12
  http://wiki.winehq.org/FAQ
0f14c3dd5e1d Official FAQ.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1754
diff changeset
    13
    Official FAQ.
0f14c3dd5e1d Official FAQ.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1754
diff changeset
    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
a5b14a9f4498 wineboot -k
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1756
diff changeset
    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
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
Installing into separate workspace.
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
===================================
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
::
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
  $ PROFILE=my-program
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
  $ export WINEPREFIX=~/.wine-$PROFILE
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
  $ winetricks dotnet20 dotnet40
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
  $ wine /path/to/installer.exe
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
  $ wine $WINEPREFIX/Program\ Files/Program/start.exe
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
Write simple script to run program in your environment::
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
  #!/bin/sh
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
  env WINEPREFIX=~/.wine-my ~/.wine-my/
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    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
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
winetricks.
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
===========
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
List of available packages::
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
  $ winetricks apps list
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
Instal .Net 2.0/4.0::
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
  $ winetricks dotnet20 dotnet40
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    60
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    61
Wine utils.
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    62
===========
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    63
::
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    64
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    65
  $ winecfg
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    66
1750
91e1740580b5 wine control
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1698
diff changeset
    67
  $ wine control
1698
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    68
  $ wine regedit
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    69
  $ wine uninstaller
1750
91e1740580b5 wine control
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1698
diff changeset
    70
  $ wine notepad
1698
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    71
1754
7597aae0aa57 Clearing workspace.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1750
diff changeset
    72
  $ winefile
1698
b103b90e8b51 winetricks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    73