How to Install / Upgrade to Wine 1.7.20 in Ubuntu / Linux Mint

Wine 1.7.20
 

The Wine development release 1.7.20 was released a few hours ago on June 13, 2014. Here’s how to install it in Ubuntu 14.04, Ubuntu 13.10 and Ubuntu 12.04.

Wine is a free and open source software that aims to allow applications designed for Microsoft Windows to run on Linux, Mac, FreeBSD, and Solaris.

The latest wine 1.7.20 brings below changes:

  • X11 drag & drop fixes.
  • A few more C/C++ runtime functions.
  • Fixes for various memory issues found by Valgrind.
  • Some OLE storage fixes.
  • 88 bug fixes.

Install Wine 1.7.20 via PPA:

Wine Team has created a PPA to make it easy to install Wine in Ubuntu and its derivatives. Check out the PPA page.

To add the PPA, press Ctrl+Alt+T on keyboard to open terminal, paste and run below command:

sudo add-apt-repository ppa:ubuntu-wine/ppa

Then update and install wine1.7:

sudo apt-get update; sudo apt-get install wine1.7

Install Wine 1.7.20 from source:

The PPA was usually updated a few days late than the release date. You can build it from source code if you don’t want to wait.

1. Install required packages:

For Ubuntu 14.04 and Ubuntu 13.10, run:

sudo apt-get install flex bison qt4-qmake

For Ubuntu 12.04, run:

sudo apt-get install flex bison qt3-dev-tools qt4-qmake

2. Download the source tarball:

wget http://prdownloads.sourceforge.net/wine/wine-1.7.20.tar.bz2

3. Unpack the source and navigate to the result folder:

tar -xjvf wine-1.7.20.tar.bz2 && cd wine-1.7.*

4. Compile and install wine 1.7.20. You may first check out 32-bit or 64-bit by going to System Settings -> Details.

For 32-bit, run below commands one by one:

./configure

cd tools && ./wineinstall

For 64-bit, run:

./configure --enable-win64

cd tools && ./wineinstall

Done!