Wine: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
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 ie7 allfonts flash
Hit <tt>Restart now</tt> and wait for IE7 to run.
Also, in the background, <tt>winetricks</tt> will keep downloading fonts and flash.
=== Install different dependencies ===
In the terminal window, run:
$ winetricks atmlib comctl32 comctl32.ocx comdlg32.ocx dotnet11 dotnet20 dotnet20sp2 droid eufonts fontfix fontsmooth-rgb gdiplus msi2 msxml6 vcrun2003 vcrun2005 vcrun2008 vcrun2010 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






[[Category:User Help Documentation]]
[[Category:User Help Documentation]]

Revision as of 04:24, 18 March 2011

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 ie7 allfonts flash

Hit Restart now and wait for IE7 to run. Also, in the background, winetricks will keep downloading fonts and flash.

Install different dependencies

In the terminal window, run:

$ winetricks atmlib comctl32 comctl32.ocx comdlg32.ocx dotnet11 dotnet20 dotnet20sp2 droid eufonts fontfix fontsmooth-rgb gdiplus msi2 msxml6 vcrun2003 vcrun2005 vcrun2008 vcrun2010 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