There was an error in this gadget

+1

Saturday, July 15, 2006

Running Windows Applications Under Linux

Rnning Windows Applications in Linux

Running Windows Applications in Linux

Running Windows Applications Under Linux

(Part 1: Introduction to Wine )

Over the past few years there has been an increasing transition of users from Microsoft Windows operating system to Linux, both on desktop and server space. However the transition has been slow on desktop side primarily because of lack of quality application available on linux (though the condition has been improving with OpenOffice, Firefox, Evolution etc ) also a users find it difficult to start working on entirely new software . Because of all this there has been slow transition of users to linux .It is exactly this problem which Wine tries to solve this problem allowing users to run some of their favorite software to run seamlessly on Linux .



What is Wine?

Wine was started in 1993 with aim of running Windows 3.1 Application by Bob Amstadt and later turned it on to Alexandre Julliard who has maintained it since. Wine though stands for “Wine Is Not an Emulator “. It consists of a program loader that loads windows applications on Linux, and a translation layer or a compatibility layer that implements windows API (application programming interface). It converts Windows API calls to native X/Linux equivalent calls. Because of this since no emulation takes place the program running through wine are comparatively faster than using an emulator. It also means that not all program works through wine but most significant of them do. The wine project is 100 % free of Microsoft code and uses publicly available API documentation. Besides Windows wine can also run some DOS applications though obsolete now. Another Interesting use of Wine is Running windows based games on Linux with continuously improving support for Direct X interface many popular games run with little problem and with commercially developed products like Cedega(program based on Wine) Games Support has been Improving.

Running Windows Applications in Linux

Different Flavors of Wine


Codeweavers Crossover Office : It is the commercial edition of Wine and includes graphical interface for installing different applications under wine . It supports a large number of Applications including

  1. Microsoft Office XP,97,2003,2000

  2. Microsoft Outlook

  3. Internet Explorer

  4. Itunes

  5. Dreamweaver MX

  6. Flash MX

  7. Adobe Photoshop 6,7

  8. and a number of plugins(including Quicktime,Shockwave,Flash) and applications.



Crossover Office Has friendly interface for handling installed software
LinkA List of Installable applications through Codeweavers

Though it is commercial software available for something like. Codeweavers does offer a Trial version of their software. There is no notable speed difference and applications behave and function very much like windows.





Running Microsoft Word XP under Crossover Office


More Information could be obtained from : www.codeweavers.com


Transgaming Cedega: - This is commercial version of Wine specifically for Games and some of the bestselling titles could be run easily using this tool. Also cedega is available for Mac OS allowing some of the popular games to run under MacOS. Transgaming works with leading game companies to allow them run their games under Linux , providing their copy protection and other closed source part of their games to run under Linux.

Some of the popular game supported are: -

Civiliazation 4

Simcity 4

Warcraft III

Madden 2006

World Of Warcraft

FIFA 06

etc


More Information and trial version of cedega is available at : www.transgaming.com

Plain Open Source Orignal Wine : - This is the free open source version of the wine which is easily available and free to download though installation is little difficult than the commercial products ,nevertheless it runs a large number of applications like : -


World of Warcraft (With some tweaking)

Corel Draw 7.0

Winamp

Frontpage 2002/XP

Dreamweaver 4.0

Microsoft Money

Microsoft Office 97/95/2000

Etc .

Here is the complete List of supported application

On the linux.

Here is instruction regarding running some of the popular applications under linux using free version of Wine.

Running Windows Applications in Linux

Here is instruction for installing wine under Fedora : -

  1. Download rpm package

  2. Install it using rpm –ivh wineXXXXX.rpm

  3. Also on Fedora Based system one can use "yum -y install wine" command to install wine
  4. After installing wine download winetools utility which greatly simplifies installation of windows applications ,also it allows easy configuring of wine .Get it here

  5. rpm –ivh winetoolsXXXX.rpm

  6. Launch winetools by logging out of superuser(root) mode and from a regular user mode by typing winetools

  7. On the opening screen chose prepare base system

  8. Create Fake Windows Drive
  9. Install everything relevant (TruType Fonts,DCOM98,Internet Explorer ,MFC classes) in the menu as it helps in installing other applications.

  10. DCOM 98 Installing Using WineTools
  11. After completing this u can use option in the Winetools menu to install supported applications or install unsupported manually using command line interface.


Using Winetools it is fairly easy to install the supported application using it's graphical interface and is fairly self explainable. However if you want to install application manually you can do it using

Wine applicationname.exe

after going to the directory


Installing Quick Time 6.5.2 : -

  1. Download this script file (courtesy The simple Experience website ) http://tsx.nl/files/qt4linux-1.0.tgz

  2. Extract the File in a temporary directory and launch ./qt6.inst

  3. This will install the Quick Time after downloading from the internet . Quick Time Can be launched by running ./qt6 in ~/bin directory.


Quick Time Installing Under Wine

Quick Time PLayer Running Under WINE

Installing Windows Media Player 6.4:-

  1. Download this script file (courtesy The simple Experience website ) http://tsx.nl/files/wmp64.tgz

  2. Install cabextract from here : - http://www.kyz.uklinux.net/cabextract.php taking relevant file for your distribution.

  3. Extract the File in a temporary directory and launch ./wmp.inst it will download Windows Media player and install it.

  4. After installing go to ~/bin and type ./wmp

Running Windows Applications in Linux

Installing Microsoft Viewers : -

Excel : -

  1. Download this script http://tsx.nl/files/xlviewer.tgz

  2. Extract file in temporary directory and run sh xlviewerinst.sh

  3. Install it and lauch it by typing ./xlviewer.sh in ~/bin directory.


Word : -


  1. Download this script http://tsx.nl/files/wdviewer.tgz?

  2. Extract file in temporary directory and run sh wdviewerinst.sh

  3. Install it by typing ./wdviewer.sh in ~/bin directory.


PowerPoint : -

  1. Download this script http://tsx.nl/files/ppviewer.tgz

  2. Extract file in temporary directory and run sh ppviewerinst.sh

  3. Install it by typing ./ppviewer.sh in ~/bin directory.


Installing Microsoft Office 97:-
1. Install DCOM 95 preferably through WINETOOLS if you haven’t done so.

2. Launch winecfg tool by typing “ winecfg “ in the console and change windows version to “Windows 95 “
3. In the console type WINEDLLOVERRIDES="odccp32=n" wine /pathtocdrom/setup.exe to install Office.
4. Go to the Installation directory (The C drive of wine is located at $HOME/.wine/c) and type
wine WINWORD.EXE for launching Microsoft Word

wine POWERPNT.EXE for Launching Microsoft Power Point
wine EXCEL.EXE for Launching Microsoft Excel

Microsoft PowerPoint running under WineMicrosoft Word 97 Running under wine


In The Second part of the series we look at installing some other common application under Wine.
(c) 2006 Ambuj Varshney
<blogambuj@gmail.com>
Link


3 comments:

Anonymous said...

Excellent!!! thanks for the introduction to WINE!

Shelton.

ambuj said...

thank you for giving me details of ntfs kernel..
can you help me out in kernekl programming..
ambuj..

Anonymous said...

could you also add something about WineXS on here?

Post a Comment