Admin-Ahead Community

General Category => General Discussion => Topic started by: lathu_official on December 28, 2013, 01:20:37 pm

Title: Install Wine 1.7.3 in RHEL/CentOS 5&6
Post by: lathu_official on December 28, 2013, 01:20:37 pm
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
     


Which Version is There, Using This Command


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

-------------------------

Thanks...