Running Windows Programs Under Linux

Discussion in 'Linux' started by lionaneesh, Jan 13, 2011.

  1. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    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...
     
  2. seoabhisek

    seoabhisek Banned

    Joined:
    Jan 22, 2011
    Messages:
    24
    Likes Received:
    1
    Trophy Points:
    0
    thanks ! a lot for all this.
     
  3. lionaneesh

    lionaneesh Active Member

    Joined:
    Mar 21, 2010
    Messages:
    848
    Likes Received:
    224
    Trophy Points:
    43
    Occupation:
    Student
    Location:
    India
    Welcome...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice