Why use Wine:
With the increasing popularity of Linux desktops, There is another requirement occurred that we should have an application which can be used to run windows applications. Windows has a long list of beautiful applications for users which is not available for Linux users. As we know that Linux does not support windows executable so WineHQ is a solution to run windows applications and Linux systems.
This article will help you to install Wine 1.7.41 Development Release on RHEL based systems.
Wine required many development packages, So we need to install required packages for Wine using yum package manager using following commands.
# yum groupinstall '
Development Tools' # yum install libX11-devel freetype-devel zlib-devel libxcb-devel
RPM packages for wine are not available for latest versions, So we need to download wine source code. Use below commands to download it. This is not a stable release. This version is development release. Use this download link to download stable release and remaining steps will be same.
# cd /usr/src # wget http://prdownloads.sourceforge.net/wine/wine-1.7.41.tar.bz2 # tar xjf wine-1.7.41.tar.bz2 # cd wine-1.7.41
Configure wine using one of following command based on your system architecture.
For 32-Bit Systems:# ./configure For 64-Bit Systems:# ./configure --enable-win64
Finally compile wine source with make command
# make # make install
Check Wine Version
Use following command to check version of wine installed on your system
On 32-Bit Systems:# wine --version On 64-Bit Systems:# wine64 –version
How to Use Wine
To use wine we need to login on GUI desktop. After that Download a windows executable (.exe) file like PuTTY on your system and open it with Wine as below screenshot or use following command.