Wine 2.0 Stable Released. Wine team has announced the latest stable release 2.0 on Jan 24, 2017. Its source code is available for download from its official site. Wine is an Open Source implementation of the Windows API and will always be free software. Approximately half of source code is written by its volunteers, and remaining effort sponsored by commercial interests, especially CodeWeavers.
This article will help you to install Wine 2.0 Stable Release on Ubuntu, Debian, and LinuxMint based systems.
1. Installing Prerequisite
First, we recommend upgrading your system packages after that install build-essential package which provides most of the common development packages for your system.
$ sudo apt-get update && apt-get upgrade $ sudo apt-get install build-essential
Also install some more required packages.
$ sudo apt-get install libx11-dev flex bison libbison-dev m4 libfreetype6-dev
2. Install Wine
At writing time of this article Debian packages for Wine 2.0 stable release are not available. So you need to download wine source code and install on your system. Use below commands to download it.
$ cd /opt $ sudo wget http://dl.winehq.org/wine/source/2.0/wine-2.0.tar.bz2 $ sudo tar xjf wine-2.0.tar.bz2 $ cd wine-2.0
Configure wine using one of following command based on your system architecture.
For 32-Bit Systems:$ sudo ./configure For 64-Bit Systems:$ sudo ./configure --enable-win64
Finally, compile wine source with make command
$ sudo make $ sudo make install
3. Check Wine Version
Use the following command to check version of wine installed on your system
On 32-Bit Systems:$ wine --version On 64-Bit Systems:$ wine64 --version
5. How to Use Wine
To use wine we need to login to GUI desktop of your Ubuntu system. After that Download a windows exe file like PuTTY on your system and open it with Wine as below screenshot or use following command.