Friday, September 6

Install Wine 1.7.3 in RHEL/CentOS 5&6

            Wine is a compatibility layer capable of running Windows applicationson several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.


Why Wine is so important:

           A lot of people in popular discussion forums keep thinking that Wine is "the last thing that Linux needs" or that it is "not important". We are listing some info here that is supposed to thoroughly defeat these and other claims.
 

Install dependency Packages first:

[root@bsrtech.net ~]# yum  groupinstall "Development Tools" -y

[root@bsrtech.net ~]# yum install libX11-devel freetype-devel -y

 
Download Wine 1.7.3 :

 [root@bsrtech.net ~]# su - usrwine [switch to normal user as usrwine]
    
 [usrwine@bsrtech.net ~]$ cd /tmp

 [usrwine@bsrtech.net tmp]$ wget http://citylan.dl.sourceforge.net/project/wine/Source/wine-1.7.3.tar.bz2

 
Extract wine Packages :

 [usrwine@bsrtech.net tmp]$tar -xvf wine-1.7.3.tar.bz2

 [usrwine@bsrtech.net tmp]$cd wine-1.7.3

 
Install Wine 1.7.3 :

32-bit O/S

  [usrwine@bsrtech.net tmp]$cd wine-1.7.3

  [usrwine@bsrtech.net wine-1.7.3]$ ./tools/wineinstall

64-bit O/S

  [usrwine@bsrtech.net tmp]$cd wine-1.7.3

  [usrwine@bsrtech.net wine-1.7.3]$ ./configure --enable-win64

  [usrwine@bsrtech.net tmp]$make
 
  [root@bsrtech.net ~]# make install

After Installation, run winecfg command to open wine Software
  [usrwine@bsrtech.net ~]$winecfg

  [root@bsrtech.net ~]# wine notepad

     
  
   
  Screen Shots :       






          Save The File :-


        


  

  Which Version is There, Using This Command


              [root@localhost ~]# wine64 --version
               wine-1.7.3



3 comments:

  1. Hi,

    Great step-by-step "how to". Everything worked fine during installation but I got this error:

    line 52: exec: wine: not found

    Can anyone help me out here?

    Thanks.

    ReplyDelete
  2. which command executed , show this error???

    ReplyDelete
  3. Hey, follow this tutorial it works for me 100%
    http://www.broexperts.com/2013/12/wine-installation-using-yum-on-centosrhel-fedora18-19/

    ReplyDelete

:: Linux - Legends ::