Wine: Difference between revisions

From ALT Linux Wiki
No edit summary
(link to russian Wiki)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<tt>wine</tt> is a piece of software helping you to run windows apps on Linux, BSD, Solaris. Wine's [http://www.winehq.org/ homepage].
<tt>wine</tt> is a piece of software helping you to run windows apps on Linux, BSD, Solaris. Wine's [http://www.winehq.org/ homepage].
__TOC__
== Why ==
I needed a fast way of running some free win32 apps that were not ported to Linux. Also, I needed to run Adobe Photoshop and needed to test web pages built for clients and not only. Needed IE7.


== Installing ==
== Installing ==
To install <tt>wine</tt>, you have to run:
To install <tt>wine</tt>, you have to run:
32bit:
* 32bit:
  $ sudo apt-get install i586-libwine.32bit i586-libwine-gl.32bit i586-wine.32bit i586-wine-gecko.32bit
  $ sudo apt-get install i586-libwine.32bit i586-libwine-gl.32bit i586-wine.32bit i586-wine-gecko.32bit
64bit:
* 64bit:
  $ sudo apt-get install libwine libwine-gl wine wine-gecko
  $ sudo apt-get install libwine libwine-gl wine wine-gecko
TODO: I wasn't able to run both <tt>wine</tt> versions at the same time.
TODO: I wasn't able to run both <tt>wine</tt> versions at the same time.


== Using ==
== Using ==
Open a terminal window, and run <tt>winecfg</tt>:
$ winecfg
It will initialize default file tree, and after that we have to set up the following:
* Under <tt>Application</tt> tab, set windows version: <tt>windows xp</tt>
* Under <tt>Drives</tt> tab, click <tt>autodetect</tt>
* Under <tt>Graphics</tt> tab, check:
** Allow the window manager to decorate the windows
** Allow the window manager to control the windows
** Vertex shader support: <tt>hardware</tt>
** Screen resolution: <tt>96dpi</tt>
** Hit <tt>apply</tt>, <tt>ok</tt>
Next time you run it after hitting apply and ok it shout not say:
Warning: could not find DOS drive for current working directory '/home/youruser', starting in the Windows directory.
If it does, do the following:
TODO
=== Install Internet Explorer 6 ===
TODO
=== Install Internet Explorer 7 ===
$ winetricks allfonts flash
$ winetricks ie7
Hit <tt>Restart Now(Recommended)</tt> and wait for IE7 to run.
How will you run Internet Explorer 7 from now ? Simple !
$ env WINEPREFIX=~/.wine wine "C:\Program Files\Internet Explorer\iexplore.exe"
=== Install different dependencies ===
In the terminal window, run:
$ winetricks atmlib comctl32.ocx comdlg32.ocx dotnet11 dotnet20 droid eufonts fontfix fontsmooth-rgb gdiplus msxml6 vcrun2003 vcrun2005 vcrun2008 vcrun6 vcrun6sp6 wsh56js
<tt>eufonts</tt> are good for romanian, bulgarian.
Also, if you need Visual Basic apps, run:
$ winetricks vb2run vb3run vb4run vb5run vb6run wsh56vb
You can also change the <tt>DirectDrawRenderer</tt> as needed:
* GDI
$ winetricks ddr=gdi
* OpenGL
$ winetricks ddr=opengl
Note that for OpenGL you will need your video drivers installed.
=== Installing Adobe Photoshop 7 ===
TODO


=== Installing Adobe Photoshop 8 (CS) ===
TODO


== End notes ==
* TODO dotnet20sp2 msi2 vcrun2010
* comctl32 breaks IE7.


[[Category:User Help Documentation]]
[[Category:User Help Documentation]]
[[ru:WINE]]

Latest revision as of 11:06, 13 January 2022

wine is a piece of software helping you to run windows apps on Linux, BSD, Solaris. Wine's homepage.

Why

I needed a fast way of running some free win32 apps that were not ported to Linux. Also, I needed to run Adobe Photoshop and needed to test web pages built for clients and not only. Needed IE7.

Installing

To install wine, you have to run:

  • 32bit:
$ sudo apt-get install i586-libwine.32bit i586-libwine-gl.32bit i586-wine.32bit i586-wine-gecko.32bit
  • 64bit:
$ sudo apt-get install libwine libwine-gl wine wine-gecko

TODO: I wasn't able to run both wine versions at the same time.

Using

Open a terminal window, and run winecfg:

$ winecfg

It will initialize default file tree, and after that we have to set up the following:

  • Under Application tab, set windows version: windows xp
  • Under Drives tab, click autodetect
  • Under Graphics tab, check:
    • Allow the window manager to decorate the windows
    • Allow the window manager to control the windows
    • Vertex shader support: hardware
    • Screen resolution: 96dpi
    • Hit apply, ok

Next time you run it after hitting apply and ok it shout not say:

Warning: could not find DOS drive for current working directory '/home/youruser', starting in the Windows directory.

If it does, do the following:

TODO

Install Internet Explorer 6

TODO

Install Internet Explorer 7

$ winetricks allfonts flash
$ winetricks ie7

Hit Restart Now(Recommended) and wait for IE7 to run. How will you run Internet Explorer 7 from now ? Simple !

$ env WINEPREFIX=~/.wine wine "C:\Program Files\Internet Explorer\iexplore.exe"

Install different dependencies

In the terminal window, run:

$ winetricks atmlib comctl32.ocx comdlg32.ocx dotnet11 dotnet20 droid eufonts fontfix fontsmooth-rgb gdiplus msxml6 vcrun2003 vcrun2005 vcrun2008 vcrun6 vcrun6sp6 wsh56js

eufonts are good for romanian, bulgarian. Also, if you need Visual Basic apps, run:

$ winetricks vb2run vb3run vb4run vb5run vb6run wsh56vb

You can also change the DirectDrawRenderer as needed:

  • GDI
$ winetricks ddr=gdi
  • OpenGL
$ winetricks ddr=opengl

Note that for OpenGL you will need your video drivers installed.

Installing Adobe Photoshop 7

TODO

Installing Adobe Photoshop 8 (CS)

TODO

End notes

  • TODO dotnet20sp2 msi2 vcrun2010
  • comctl32 breaks IE7.