OpenSource For You

Wine: A Great Tool for Running Windows Programs on Linux

On switching over to Linux, many Windows users feel lost because they miss their favourite Windows programs. Wine provides a means of running those every programs on a Linux system. Here’s a tutorial on installing MS Office on Linux using Wine.

- By: Prof. Prakash Patel and Prof. Dulari Bhatt Both the authors are assistant professors in the IT department at Gandhinaga­r Institute of Technology. They can be contacted at and

One of the main concerns of people who are switching to Linux is how to run the programs in it that they are so used to running in other operating systems, especially Windows. Thankfully, Wine can help in solving this problem. The software that Windows users usually miss the most on Linux is Microsoft Office.

All .exe files can be run on Linux using Wine. Wine is software for UNIX-like systems, including Linux,

OSX and the BSDs. It allows you to run native Windows applicatio­ns. Wine stands for ‘Wine Is Not an Emulator’. That’s because it isn’t. Wine isn’t a full Windows install or some kind of VM. It is a compatibil­ity layer that essentiall­y translates Windows binaries. This extends to graphics libraries like DirectX 9, which are converted to OpenGL. Wine allows Linux users to run many popular Windows applicatio­ns and games as if they were running on Windows itself, with a similar performanc­e.

Wine can be tricky though. There are multiple versions of it with different sets of patches and two different current versions. Even when you get past that, different programs require specialise­d settings, in many cases, and can’t just be run out-of-the-box. However, once you know your way around and have configured a program to run properly through Wine, it will usually run flawlessly, like a native applicatio­n.

Installing Wine on Linux

Installing Wine on Linux is easy. All you have to do is follow the steps to install Wine on any Ubuntu system, as given below.

Step 1: Open the terminal Ctrl – Alt – T and run the following command, which will install the ppa. You will be asked for your root password also.

sudo add-apt-repository ppa:Ubuntu-wine/ppa

Step 2: Now install Wine by typing the following command. You will notice the screens shown in Figures 1 and 2 during the installati­on.

sudo apt-get update && sudo apt-get install wine1.7

Step 3: To configure Wine, use the following command: Winecfg

Select the Libraries tab, then scroll down; select the Riched20 library from the list and add it. When done, click ‘OK’.

Now you have successful­ly installed Wine.

Installing Microsoft Office on Ubuntu

With the help of Wine, it is extremely easy to run any of your favourite Windows software on Ubuntu. Here are some simple steps to follow after installing Wine on Ubuntu, in order to install Microsoft Office.

Step 1: Run the command given below to configure the Windows environmen­t for 32-bit versions of Office.

export WINEPREFIX=$HOME/wine32

If you are using a 64-bit system, then just replace ‘32’ with ‘64’ in the command.

Step 2: Run the command given below to enable the settings for Wine:

export WINEARCH=win32

If you are using a 64-bit system, replace ‘32’ with ‘64’. Step 3: Open the Microsoft Office setup, right-click on Setup.exe and open with Wine.

Step 4: When the installer opens, click ‘Install Now’ to begin the installati­on. Follow the prompts.

Step 5: When you’re done with installati­on of Office, restart your computer and open Ubuntu Dash. Search for Microsoft Office to use the suite.

Wine has a number of advantages, some of which are listed below.

1. Wine is better than a VM if you need limited applicatio­ns. VMs are fine but they may be slower than Wine. VMs need more RAM to run a whole OS, but you can do almost everything in Wine faster than VMs do.

2. You can run almost every .exe file in Ubuntu with some configurat­ion.

3. Wine is a free and open source compatibil­ity layer. 4. It provides a rich software library to developers for running Windows applicatio­ns.

5. Wine ensures good backward compatibil­ity with legacy Windows applicatio­ns.

 ??  ??
 ??  ??
 ??  ?? Figure 3: Wine configurat­ion
Figure 3: Wine configurat­ion
 ??  ?? Figure 2: Wine mono installati­on
Figure 2: Wine mono installati­on
 ??  ?? Figure 1: Wine downloadin­g
Figure 1: Wine downloadin­g

Newspapers in English

Newspapers from India