How to Install Windows Softwares on Linux

There are times when we need to run some Windows applications (.exe, .msi) on Linux.
This objective can be achieved with the help of wine.

What is Wine?

Wine is a free, open source software, wihch allows to run Windows applications on Linux. Wine
provides a software library(Winelib) against which users can install and run Windows applications.

Installing Wine on Linux (Ubuntu 12.10)

If you prefer to install Wine on Linux (Ubuntu 12.10) with packages, check system’s package manager.

In Ubuntu, Open the “Ubuntu Software Center” Search for the “Wine” and Select the it from the list and click on ‘install’,

Screenshot from 2013-10-31 11:37:29

It will install the wine and its related dependencies for you.

If you prefer to install packages from the command line, follow the below steps,

Run the following command and it will install the latest version of Wine in Ubuntu,

Install Wine in Ubuntu

Confirm the installation by running the wine command,

Screenshot from 2013-10-31 11:45:17

Installing Wine using Source Code

Download the latest source code from http://www.winehq.org/download/

tar -xf file.tar.bz2
cd dir_name
./configure
make
sudo make install

NOTE: "make install" needs to be run as root or "sudo make install".

INSTALL/README file that'll explain the wine specifics for compiling.
Configure the Wine

Run ‘winecfg’ to configure the Wine and you can select the Windows versions.

$ wine winecfg

Screenshot from 2013-10-31 11:52:00

Installing Windows Software with Wine

To install, just run the command wine with installer.exe

$ wine “Firefox Setup 12.0.exe”

Screenshot from 2013-10-31 12:18:36

Now follow the installation steps as you do in Windows,

Default the application will be installed in “:~/.wine/drive_c/Program Files/”

Running Installed applications:

Locate the installed path and run the file with Wine,

:~/.wine/drive_c/Program Files/Mozilla Firefox# wine firefox.exe

Screenshot from 2013-10-31 12:26:45

Now your Browser is ready to use.

Screenshot from 2013-10-31 12:29:17

 
– Antu

Subscribe For More Posts Like This

Get the latest research, best practices, industry trends and cybersecurity blogs from SecPod security experts

Invalid email address
We promise not to spam you. You can unsubscribe at any time.
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments