Step 1: Installing Dependency Packages
We need to install ‘Development Tools‘ with some core development tools such gcc, flex, bison, debuggers etc. these software’s are must required to compile and build new packages, install them using YUM command.
# yum -y groupinstall ‘Development Tools’
# yum -y install libX11-devel freetype-devel
Step 2: Downloading Wine 1.6
Download the source file using Wget command under /tmp directory as a normal User.
$ cd /tmp
$ wget http://garr.dl.sourceforge.net/project/wine/Source/wine-1.6.tar.bz2
Step 3: Extracting Wine 6
Once the file is downloaded under /tmp directory, use the below commands to extract it.
$ tar -xvf wine-1.6.tar.bz2 -C /tmp/
Step 4: Installing Wine 1.6
It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user. (Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter root password).
On 32-Bit Systems
$ cd wine-1.6/
On 64-Bit Systems
$ ./configure –enable-win64
# make install
Once the installation completes run the “winecfg” configuration tool from KDE or GNOME desktop to see the supported configuration. If you don’t have any of the desktop, you can install it by using the below command as root user.
# yum groupinstall “X Window System” “GNOME Desktop Environment”
# yum groupinstall “X Window System” “KDE (K Desktop Environment)”
Once the X Window System installed, run the command as normal user to see wine configuration.