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

Last updated: June 14, 2014

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:


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:


cd tools && ./wineinstall

For 64-bit, run:

./configure --enable-win64

cd tools && ./wineinstall



I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee:

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

  1. hello Ji m,

    Thanks for tutorial.

    I have Wine 1.6.2 installing in Ubuntu 14.04 amd64 (Cubuntu).

    It ‘s possible to install another wine-1.7.20 (boot Wine 1.6.2 + Wine 1.7.20) ?

    ” excuses me for my bad english, I am french “

  2. hi, sorry for my bad english, but i have some troubles to install as you show on this post. after the:

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


    bash: cd: wine-1.7.: Directory does not exist

    where’s my mistake or what do i did wrong. because after that i can’t use:


    cd tools && ./wineinstall

    for the 32-bit option.


  3. Go to wine and change configuration of wine from 1.7.19 to 1.7.22

  4. Hi,
    I am a totally new user of ubuntu, Just downloaded a torrent for sims 4 and I really cannot to get it to work and am quite clueless about how to carry on with the instructions found on the net.

  5. first of all thanks for your compilation guide for wine… how ever I am facing problems of missing packages on Ubuntu 14.04.3 x86-64 and it refuses to install these packages !! can u please make a guide on how to solve this compilation issue, other than PPA, cuz my ISP uses some sort of proxy which I don’t know any details about and they won’t let me know them… so can’t benefit from PPA… have to do everything my self…

    configure: libxcursor development files not found, the Xcursor extension won’t be supported.
    configure: libxi development files not found, the Xinput extension won’t be supported.
    configure: libXxf86vm development files not found, XFree86 Vidmode won’t be supported.
    configure: libxrandr development files not found, XRandr won’t be supported.
    configure: libxinerama development files not found, multi-monitor setups won’t be supported.
    configure: libxcomposite development files not found, Xcomposite won’t be supported.
    configure: libGLU development files not found, GLU won’t be supported.
    configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won’t be supported.
    configure: OpenCL development files not found, OpenCL won’t be supported.
    configure: pcap development files not found, wpcap won’t be supported.
    configure: libhal development files not found, no legacy dynamic device support.
    configure: lib(n)curses development files not found, curses won’t be supported.
    configure: libsane development files not found, scanners won’t be supported.
    configure: libv4l development files not found.
    configure: libgphoto2 development files not found, digital cameras won’t be supported.
    configure: libgphoto2_port development files not found, digital cameras won’t be auto-detected.
    configure: liblcms2 development files not found, Color Management won’t be supported.
    configure: gstreamer-0.10 base plugins development files not found, gstreamer support disabled
    configure: OSS sound system found but too old (OSSv4 needed), OSS won’t be supported.
    configure: libcapi20 development files not found, ISDN won’t be supported.
    configure: libcups development files not found, CUPS won’t be supported.
    configure: libgsm development files not found, gsm 06.10 codec won’t be supported.
    configure: libtiff development files not found, TIFF won’t be supported.
    configure: libmpg123 development files not found (or too old), mp3 codec won’t be supported.
    configure: libopenal development files not found (or too old), OpenAL won’t be supported
    configure: openal-soft development files not found (or too old), XAudio2 won’t be supported
    configure: libldap (OpenLDAP) development files not found, LDAP won’t be supported.

    configure: WARNING: No OpenGL library found on this system.
    OpenGL and Direct3D won’t be supported.

    configure: WARNING: libxslt development files not found, xslt won’t be supported.

    configure: WARNING: libgnutls development files not found, no schannel support.

    configure: WARNING: libjpeg development files not found, JPEG won’t be supported.