Wine 2.0 Stable Released – Install on RHEL, CentOS and Fedora
Wine is an open source and free application for Linux that enables users to run any windows based application on Unix/Linux like operating system. Wine team is keep releasing their versions in every two weeks.
Finally, the Wine team proudly announced the stable release of Wine 2.0 and made available for download in source and binary packages for various distributions such as Linux, Windows and Mac.
This release describes 14 months of development struggle and brings more than 6,600 new individual changes.
The core feature in this stable release of Wine is, support for Microsoft Office 2013, and the 64-bit support on macOS. It also includes a lot of enhancements across the board, as well as support for many new games and application.
For a complete summary of major changes, See the release notes of Wine 2.0 at http://www.winehq.org/announce/2.0
In this article we will guide you a simplest way to install latest release of Wine 2.0 version in RHEL 7.x/6.x/5.x, CentOS 7.x/6.x/5.x and Fedora 25-20 using source code (difficult and only suitable for experts) and epel repository (easy and recommended for new users).
Installing Wine 2.0 Using Source Code
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 libxml2-devel libxslt-devel freetype-devel flex bison
Note: On Fedora 22+ versions, yum package manager no longer in use, you should use dnf instead yum in the command below.
# dnf -y groupinstall 'Development Tools' # dnf -y install libX11-devel libxml2-devel libxslt-devel freetype-devel flex bison
Step 2: Downloading Wine 2.0
Download the source file using Wget command under /tmp directory as a normal User.
$ cd /tmp $ wget http://dl.winehq.org/wine/source/2.0/wine-2.0.tar.bz2
Step 3: Extracting Wine 2.0
Once the file is downloaded under /tmp directory, use the below commands to extract it.
$ tar -xvf wine-2.0.tar.bz2 -C /tmp/
Step 4: Installing Wine 2.0
It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user.
---------- On 32-bit Systems ---------- $ cd wine-2.0/ $ ./tools/wineinstall ---------- On 64-bit Systems ---------- $ cd wine-2.0/ $ ./configure --enable-win64 $ make # make install [Run as root User]
Install Wine Using EPEL Repository
Let’s first install and enable EPEL repository to install wine as shown:
# yum install epel-release # yum install wine
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" OR # yum groupinstall "X Window System" "KDE (K Desktop Environment)" # yum groupinstall "GNOME Desktop" [On CentOS 7] # yum groupinstall "Server with GUI" [On RHEL 7]
Once the X Window System installed, run the command as normal user to see wine configuration.
Step 5: Running Wine 2.0
To run the Wine, you must specify the full path to the executable program or program name as shown in example below.
--------- On 32-bit Systems --------- $ wine notepad $ wine c:\\windows\\notepad.exe
--------- On 64-bit Systems --------- $ wine64 notepad $ wine64 c:\\windows\\notepad.exe
Wine is not perfect, because while using wine we see so many programs crashes. I think wine team will soon fix all bugs in their upcoming version and meanwhile do share your comments using our below form.