Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Linux (http://www.go4expert.com/articles/linux/)
-   -   Running Windows Programs Under Linux (http://www.go4expert.com/articles/running-windows-programs-linux-t24512/)

lionaneesh 13Jan2011 12:21

Running Windows Programs Under Linux
 
In this tutorial of mine i am demonstrating how to Run windows programs in linux ....

In my case i am using Ubuntu 10.10 with Kernel 2.6

I am using Wine [http://www.winehq.org/] to demonstrate my article..
Wine is a program that provides the windows API for running the windows programs

Installing



Code:

sudo apt-get wine
For more information visit http://www.winehq.org/download/

Running files



After installing you should restart your system...
And most probably you will get a Designer/Attractive icon on all your exe's

For running any program
Enter 'wine' followed by the Absolute Filename

Code:

Syntax :-
wine filename
eg:-
wine '/home/aneesh/Desktop/app2win.exe'

Running a File installed in C:// Drive(virtual)



You can also run files already installed in your C:// drive
eg :-

Code:

wine cmd
Note : All the C:// files are stored in a directory ~/.wine
This is my output :-
Code:

aneesh@aneesh-laptop:~/.wine$ cd ~/.wine/

aneesh@aneesh-laptop:~/.wine$ ls

dosdevices  drive_c  system.reg  userdef.reg  user.reg


Running IDA FREE :-
Code:

aneesh@aneesh-laptop:~/.wine$ cd drive_c/

aneesh@aneesh-laptop:~/.wine/drive_c$ ls

Program Files  users  windows

aneesh@aneesh-laptop:~/.wine/drive_c$ cd Program\ Files/

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files$ ls

AVS4YOU  Common Files  IDA Free  Internet Explorer  Windows Media Player

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files$ cd IDA\ Free/

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files/IDA Free$ ls

cfg              ida.hlp  license.txt  sig          vcl60.bpl

dbghelp.dll      ida.int  loaders      symsrv.dll    vclx60.bpl

idafreeware.pdf  ida.wll  plugins      til          wingraph32.exe

idag.exe        idc      procs        unins000.dat

idahelp.chm      ids      rtl60.bpl    unins000.exe

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files/IDA Free$ wine idag.exe



Thank you for using IDA. Have a nice day!

Running IE :-

Code:

aneesh@aneesh-laptop:~$ cd /home/aneesh/.wine/

aneesh@aneesh-laptop:~/.wine$ ls

dosdevices  drive_c  system.reg  userdef.reg  user.reg

aneesh@aneesh-laptop:~/.wine$ cd d

dosdevices/ drive_c/   

aneesh@aneesh-laptop:~/.wine$ cd drive_c/

aneesh@aneesh-laptop:~/.wine/drive_c$ ls

Program Files  users  windows

aneesh@aneesh-laptop:~/.wine/drive_c$ cd Program\ Files/

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files$ ls

AVS4YOU  Common Files  IDA Free  Internet Explorer  Windows Media Player

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files$ cd I

bash: cd: I: No such file or directory

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files$ cd Internet\ Explorer/

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files/Internet Explorer$ ls

iexplore.exe
     

aneesh@aneesh-laptop:~/.wine/drive_c/Program Files/Internet Explorer$ wine iexplore.exe

Conclusion



Thanks for viewing my tutorial..
And keep the Thanks/Comments coming...

seoabhisek 22Jan2011 17:03

Re: Running Windows Programs Under Linux
 
thanks ! a lot for all this.

lionaneesh 22Jan2011 23:57

Re: Running Windows Programs Under Linux
 
Quote:

Originally Posted by seoabhisek (Post 78033)
thanks ! a lot for all this.

Welcome...


All times are GMT +5.5. The time now is 04:03.