How to Install Wine 1.8 Stable via New PPA in Ubuntu

December 20, 2015

Wine 1.8 PPA

The Wine Team finally announced the new stable Wine 1.8 release. The new Wine PPA maintained by WinHQ.org has built the packages for Ubuntu 16.04, Ubuntu 15.10, Ubuntu 15.04, Ubuntu 14.04, Ubuntu 12.04, and their derivatives.

This release represents 17 months of development effort and around 13,000 individual changes. The main highlights are the implementation of DirectWrite and Direct2D, and the new Pulse Audio driver.

It also contains a lot of improvements across the board, as well as support for many new applications and games. See the release notes for a summary of the major changes.

I must apologize that the new PPA contains the latest dev release (so far it’s wine 1.9.0) packaged by official wine website WineHQ. Please read the bottom link about this built.

To get Wine 1.8 stable release, use the Ubuntu Wine Team PPA managed by Scott Ritchie and Maarten Lankhorst.

Select use only one of these PPAs, you may remove a PPA via Software & Updates -> Other Software tab or by running command:

sudo add-apt-repository --remove ppa:name/name

Install Wine 1.8 Stable from Ubuntu Wine Team PPA:

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below commands and run one by one.

1. Add the PPA via command:

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

Type in your password when it asks, no visual feedback so type in mind and hit Enter to continue.

add-wine-ppa

2. Update package cache and install wine1.8:

sudo apt-get update

sudo apt-get install wine1.8 winetricks

Install latest Wine Dev release from the Official WineHQ PPA:

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below commands and run one by one.

1. For 64-bit system, rum command to enable 32 bit architecture:

sudo dpkg --add-architecture i386

Type in your password when it asks, no visual feedback so type in mind and hit Enter to continue.

2. Add the wine PPA:

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

Official Wine PPA

3. Once you have the PPA added in your system, run below commands one by one to refresh package caches and install Wine 1.8:

sudo apt-get update

sudo apt-get install --install-recommends winehq-devel

The installation automatically replaces old wine releases installed on your system.

4. Finally you may run below command to initialize your wine configuration.

winecfg

Wine 1.8 Configuration Editor

For more, read the wiki page.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

38 responses to How to Install Wine 1.8 Stable via New PPA in Ubuntu

  1. Uninstall software no longer appears in Wine 1.8.
    terminal :
    wine uninstaller

  2. Is this the definitive way to install wine henceforth?, or I’ve to wait to the “official” ppa

  3. Thanks for yet another great tutorial :)

    Hope you had a great Christmas and wishing you a Happy New Year

  4. It’s better now with Wine 1.8 stable.

  5. Had had Wine1.6 installed on my mother’s old EEE-PC as she loves the game Moorhuhn so much. Worked fine with Wine1.6 but doesn’t with Wine1.8 anymore. Screen resolution changes and then everything freezes. So I had to reinstall 1.6 again. Everything works fine again.

  6. Hi. I am facing issue related with MS Office 2010 I have successfully install MS office through Wine 1.7 in ubuntu 14.04 LTS, Outlook is working fine but the issue is that there is no desktop search in enable in outlook 2010? after trying a lot installing it sometimes its give error that you are updating a older version of software, and also ask for check log file in C:drive which is kb194? how do I enable windows desktop search which is not available in outlook.
    Please do let me know if somebody have face the same issue? kindly share your experience.
    BR
    Atif

  7. Hello.
    Recently i want to test Opentoonz in wine, how do i know wine is using OpenGL?
    Do i have to install libwine-gl?

  8. Jukka Muhonen May 11, 2016 at 10:51 am

    Hello!

    There is stil a problem that seemingly has not been solved durring the years. That broblem is that you can not install Wine (any version) on Ubuntu desktop 14.04 LTS. I have tried absolutely every recommended trick as has the others on many many conversation and help forums like: https://askubuntu.com/questions/717884/package-dependency-problems-with-broken-packages-but-none-listed-to-fix, https://askubuntu.com/questions/563178/the-following-packages-have-unmet-dependencies

    No matter what you do before after you hit: sudo apt-get install wine, or: sudo apt-get install wine1.7, or wine1.8 and so on… The answer is always the same:

    The following packages have unmet dependencies:
    wine1.8 : Depends: wine1.8-i386 (= 1:1.8.0-0ubuntu1)
    E: Unable to correct problems, you have held broken packages.

    Only the name of the depends changes

  9. Hello sir,
    My package got downloaded 100%. After download it shows a pop up in terminal. As Configuring ttf-mscorefonts-installer. END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE.
    Pls tell me the solution.
    Thanks and Regards
    Lalit

  10. Lalit,

    You need to press tab to have button highlighted. Press enter once is selected

  11. Please i want to know the amount of data required to completely run the sudo apt-get install wine1.8 command on the terminal

    • Full installation takes around 696MB disk space in my case. But you may already have some dependencies installed that are required by other apps.

      Just run the command and terminal output will tell you that info and ask you confirm before doing the process.

  12. when i installing wine18 on ubuntu 16.04 i getting the masage on terminel is package wintrick has no installation candidate.
    if anybody can help me.

  13. Hi,
    My Ubuntu 16.04 LTS is having some issue when i try to give 1st command it requires password after it and when I try to type my password nothing seems to be typing on the terminal no keys seems to be working except enter key when I press enter key it only changes the line. :(

    • That’s how the terminal works, it’s a security mechanism. Just type in the password and press enter, it will be accepted if it’s correct, regardless of you not seeing it on the screen.

    • I cannot believe I can answer a question finally:
      Typing password often prints asteisks(*) for each character in the password.
      HOWEVER.Ubuntu 16.04 does not advance the cursor, does nothing apparently and when you hit enter, it examines the password you tyoed and could not see. = protection from sneaky observers.

  14. hey..hello everyone i happen to have the same problem on the same system but i would like to add ubuntu 1604 LTS is my only iso .for the time being if someone can be so kind to showing me a work around this to solve this issue ..i will RETURN VALUE to you in an ON-LINE manner …thanks AGAIN everyone…@@

  15. I need a bit of help. I have got the basics of adding the repo right down to the installation point, but when I type sudo apt-get install –install-recommends winehq-devel in and hit enter it comes back with E: could not get lock var/lib/dpkg/lock open
    Unable to lock the administration diary (var/lib/dpkg), is another process using it?

    Please help.
    I am running Ubuntu 16.04lts (64-bit)

    • In addition it is also say aftere the first line, in brackets: 11 resource temporarily unavailable

      • Rubel H Muhammad December 20, 2016 at 7:05 pm

        Try closing all other tabs from the desktop and try again. This happens when user try to install more than one package or doing such kinds of tasks at the same time…

  16. can i install ms office in wine but it shows err fr me and exits setup

  17. What will be the difference in using sudo apt-get install wine1.8 and sudo apt-get install wine1.8 winetricks ? I am new in Linux, so please guide me. Thanks in advance.

  18. Also running into issues with Wine on 16.04 (Elementary Loki). Things were fine on Freya (Hacknet, etc).

  19. please help me I typed the coding exactly the way i was instructed I have been trying to install WineHQ,but the problem is that my terminal doesn’t respond the way it should like as it is shown on the video.i don’t know is it the terminal that is weak or the coding has an error it self.i tried so many different ways to install this thing but I still can’t find solution.Please help me.

    Any help will be really appreciated.

    • There is a way to do it. I just did it today do these commands.

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

      sudo apt-get update

      sudo apt-get install –install-recommends winehq-devel

      You can just copy and paste it in.
      *If you are on 32 or 64 bit it works i am on 64 and it just needs to install 3 things.

  20. i have the same problem as previous commenter, im not very skilled at all working with the terminal and avoid it all i can but normally things will work according to instructions, this time no, different messages each time..what did i miss? someone please answer thankyou

  21. I installed wine by your step-by-step guide.
    I have following error on any new apt update/install.

    Processing triggers for libc-bin (2.23-0ubuntu5) …
    N: Ignoring file ’50unattended-upgrades.ucf-dist’ in directory ‘/etc/apt/apt.conf.d/’ as it has an invalid filename extension

    Please tell me how to fix, if its possible. Thank you!

  22. when i enter in the first ppa command, and press enter i get “sudo: add-apt-repository: command not found” ????? I ALWAYS get this when installing wine. i tried the sudo dpkg –add-architecture i386 aswell and got the same thing ? help please… ive been trying to install this for weeks now

  23. I had to use this to get it to work – sudo apt-get install --install-recommends winehq-devel Its a small correction on TheDiamondWolf post.

  24. I have Ubuntu 16.04.1 amd64.

    This:

    The following packages have unmet dependencies:
    wine1.8 : Depends: wine1.8-i386 (= 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1) but it is not installable

    I fixed by these two commands:

    sudo add-apt-repository ppa:wine/wine-builds
    sudo dpkg –add-architecture i386

    Now you can:

    sudo apt update
    sudo apt install wine1.8 winetricks

  25. I am a noob in ubuntu and just need to install magicjack app. i have googled alot about this but unable to get any solution on this. Please guide me on the same. I have installed wine in my PC.

  26. Hello,

    I had installed Microsoft Office through Wine on my Ubuntu Desktop.

    When I open Microsoft word document, I was shown a dialog box that shows Microsoft Office Word has encountered a problem.

    Also, When I try to open Microsoft Powerpoint, I get a message that Microsoft Powerpoint failed to start in safe mode.

    Any Solution Please…………….

  27. Raja Chakraborty March 9, 2017 at 7:31 am

    Hi All,
    need to run wine through php script …..any idea…how to do that?
    as i need to run below command from my project, it’s working fine on terminal.

    wine X12Parser.exe EDI_FILES/fisrt_edi.edi XML_FILES/myfile.xml