Skip to main content

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


Comments

  1. Anonymous11:08 AM

    Excellent!!! thanks for the introduction to WINE!

    Shelton.

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

    ReplyDelete
  3. Anonymous12:15 AM

    could you also add something about WineXS on here?

    ReplyDelete

Post a Comment

Popular posts from this blog

13 Things to do immediately after installing Ubuntu

In this article i describe some of the things to do immediately after installing ubuntu on your machine . Since most of the people reading this would be shifting from Windows to Linux with a system dual booting so i would focus more on making transition easy from Windows to Linux.

Creating Your ultimate Ubuntu 7.10 Desktop

Ubuntu 7.10 Codenamed Gusty Gibbon was released few weeks back with much fanfare ,now Ubuntu for past couple of years has been one of the most popular Desktop Linux distributions . Ubuntu 7.10 includes a number of features , applets and Wizards to simplify desktop Linux experience however because of many licensing restrictions it does not include out of the box support for popular audio/video codecs and many commercial but good applications . Also because of the limitation of trying to accommodate all kind of applications on single CD Ubuntu comes with a limited set of applications .

Now , i often have arguments with my friends who are new to computers that windows is…

Over 16 Small Games For Ubuntu Linux

Over 16 Small Games For Ubuntu Linux

Ubuntu Linux is one of the most popular Linux distribution , it is especially popular among Linux newbies and windows refuges . Now Ubuntu Linux does come with a descent set of applications , still there is a scope for including some more quality applications and especially games . Now in this tutorial i will show you how to install a large number of small , easy and less resource hungry games on Ubuntu Linux with screen-shots of games .


1. Rocks 'n' Diamonds

Rocks 'n' Diamonds is a Boulderd*sh game for X11 with more than just the falling rocks and diamonds of its namesake. The object is still to collect all the diamonds (and emeralds), then get to the exit before time runs out. But your character must make use of bombs, spaceships, and many other elements in order to fill his quota of jewels.

Installation : -

Type the following command in the terminal window

wget http://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-3.2…

Making Music(Beats) on Linux/Ubuntu with Hydrogen

I am going to review a couple of Music Making Softwares for Linux and am starting with the simplest and one of the best!HYDROGEN. Hydrogen basically is a pattern based drum programming software which in layman terms means, it allows you to make your own beats.And in case you aren't much into music, you might be wondering “what the hell will i do with this piece of software”...well here is a word from my friends who've tried this: “Its pretty fun playing with this software, n even without knowing much, you could actually MAKE SUM MUSIC!!!”

There was this software called Acoustica Beatcraft(for windows) which actually introduced me to this beat making stuff and I was quite interested, but sadly it was too costly for me to buy it. So i was stuck using the trial version of the software and sadly as soon as i got the grip of the software the trial expired, and so my search began for software which would do the stuff for me and luckily i found this amazing piece of software HY…