winetricks - install wine application perquisites with ease

As most of us know wine is used to run windows applications on linux. But setting it up always has been pain. For example if your windows program requires some prerequisites that aren't shipped or not implemented in wine then you have to go for hunting on net. Examples include mscore fonts, Internet Explorer, DCOM, etc. And this guide explains how to install winetricks on ubuntu.

Crossover office has a little wizard that will download install all the prerequisites of a particular software but It costs money to use. But there is one little known tool called winetricks which you can use to automate that stuff for free. Finally you can concentrate on something productive rather than hunting for some obscure stuff.

Download winetricks

Use following commands to get winetricks and set it up.

wget http://www.kegel.com/wine/winetricks
chmod +x winetricks

Using winetricks

For example if you want to install Microsoft Core fonts use following command.

./winetricks corefonts

Following are wine application perquisites it can install.

Packages

  • art2kmin - MS Access 2000 runtime. License required!.
  • colorprofile - Standard RGB color profile.
  • comctl32 - MS common controls 5.80.
  • comctl32.ocx - MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6.
  • corefonts - MS Arial, Courier, Times fonts.
  • dcom98 - MS DCOM, override the Wine implementation.
  • dirac0.8 - the obsolete Dirac 0.8 directshow filter.
  • directx9 - MS DirectX 9 user redistributable.
  • divx - divx video codec.
  • dotnet11 - MS .NET 1.1 (requires Windows license).
  • dotnet20 - MS .NET 2.0 (requires Windows license).
  • ffdshow - ffdshow video codecs.
  • flash - Adobe Flash Player ActiveX and firefox plugins.
  • fontfix - Fix bad fonts which cause crash in some apps (e.g. .net)..
  • gdiplus - MS gdiplus.dll (from powerpoint viewer).
  • gecko - The HTML rendering Engine (Mozilla).
  • icodecs - Intel Codecs (Indeo).
  • jet40 - MS Jet 4.0 Service Pack 8.
  • liberation - Red Hat Liberation fonts (Sans, Serif, Mono).
  • mdac25 - MS MDAC 2.5: Microsoft ODBC drivers, etc..
  • mdac27 - MS MDAC 2.7.
  • mdac28 - MS MDAC 2.8.
  • mfc40 - MS mfc40 (Microsoft Foundation Classes from Visual C++ 4).
  • mfc42 - MS mfc42 (see vcrun6 below).
  • mono19 - mono-1.9.1-gtksharp-2.10.4-win32-2.
  • msi2 - MS Installer 2.0.
  • msls31 - MS Line Services 3.1 (needed by native riched?).
  • msxml3 - MS XML version 3.
  • msxml4 - MS XML version 4.
  • msxml6 - MS XML version 6.
  • ogg - ogg filters/codecs: flac, theora, speex, vorbis, schroedinger.
  • pdh - MS pdh.dll (Performance Data Helper).
  • quicktime72 - Apple Quicktime 7.2.
  • riched20 - MS riched20 and riched32.
  • riched30 - MS riched30.
  • tahoma - MS Tahoma font (not part of corefonts).
  • vb3run - MS Visual Basic 3 runtime.
  • vb4run - MS Visual Basic 4 runtime.
  • vb5run - MS Visual Basic 5 runtime.
  • vb6run - MS Visual Basic 6 runtime.
  • vcrun6 - MS Visual C++ 6 sp4 libraries (mfc42, msvcp60, msvcrt).
  • vcrun2003 - MS Visual C++ 2003 libraries (mfc71,msvcp71,msvcr71).
  • vcrun2005 - MS Visual C++ 2005 libraries (mfc80,msvcp80,msvcr80).
  • vcrun2005sp1 - MS Visual C++ 2005 sp1 libraries.
  • vcrun2008 - MS Visual C++ 2008 libraries (mfc90,msvcp90,msvcr90).
  • vjrun20 - MS Visual J# 2.0 libraries (requires dotnet20).
  • wmp9 - MS Windows Media Player 9 (requires Windows license).
  • wmp10 - MS Windows Media Player 10 (requires Windows license).
  • wsh51 - MS Windows Scripting Host 5.1.
  • wsh56 - MS Windows Scripting Host 5.6.
  • wsh56js - MS Windows scripting 5.6, jscript only, no cscript.
  • wsh56vb - MS Windows scripting 5.6, vbscript only, no cscript.
  • xvid - xvid video codec.

Apps

  • autohotkey - Autohotkey (open source gui scripting language).
  • firefox3 - Firefox Version 3.
  • kde - KDE for Windows installer.
  • mpc - Media Player Classic.
  • vlc - VLC media player.

Pseudopackages

  • allfonts - All listed fonts (corefonts, tahoma, liberation).
  • allcodecs - All listed codecs (xvid, ffdshow, icodecs).
  • fakeie6 - Set registry to claim IE6sp1 is installed.
  • native_mdac - Override odbc32 and odbccp32.
  • nt40 - Set windows version to nt40.
  • win98 - Set windows version to Windows 98.
  • win2k - Set windows version to Windows 2000.
  • winxp - Set windows version to Windows XP.
  • vista - Set windows version to Windows Vista.
  • winver= - Set windows version to default (winxp).
  • volnum - Rename drive_c to harddiskvolume0 (needed by some installers).

Comments

Anonymous said…
what the hell is wrong with this blog? it brings up a logon window which keeps recurring until it crashes the browser. I'm using Firefox.
Vamsee said…
Not sure why that happened, I didn't put anything that crashes any browser. Could be temporary glitch of blogger or if you are accessing from your office then could be your office firewall. All the best try again and give me feedback. Thanks for visiting this blog.
Anonymous said…
I'm sure I'll figure it out, but do you do this on a per user basis (aka as ~auser) or can you do it as root for all users on the system ?
It would be nice if this would say
Anonymous said…
Good brief and this fill someone in on helped me alot in my college assignement. Say thank you you as your information.
Anonymous said…
This really helped me setup Wine in Ubuntu
Until now I avoided Wine, time for a second look.

Thanks
Anonymous said…
me@me-laptop:~$ wget http://www.kegel.com/wine/winetricks
Error parsing proxy URL wpad://: Unsupported scheme.


Here is what I put in my terminal, and the response, running Ubuntu 9.10, What Am I doing wrong.
Anonymous said…
Thank you I switched to ubuntu thinking Dotnet was easy to install turns out it wasnt perfect article 10/10
Anonymous said…
i have know idea how this works, can someone please help me. I'm new to all this and need to learn more about it.
Anonymous said…
hey vamsee ...

I was doing alright with Linux generally, but never got the hang of Wine until I found this page.

Much obliged friend. Downloading extra MS packages as I type!
iponk said…
that's interesting

Popular posts from this blog

Easy network traffic shaping on your ubuntu system

Multi touch for any,all synaptics touchpad