Wine 6.9 Released! How to Install in Ubuntu 21.04, 20.04

May 22, 2021 — 1 Comment

Wine Stable

Wine, free and open-source implementation to run Windows apps on Linux, released version 6.9 last night. Here’s how to install it in Ubuntu 21.04, Ubuntu 20.10, Ubuntu 20.04, and Ubuntu 18.04.

Wine 6.9 is the new development release that features:

  • WPCAP library converted to PE.
  • Support for paper forms in the print spooler.
  • More math functions from Musl in the C runtime.

There are also many bug-fixes for Windows apps including TroopMaster, Visual C++ 2010, Overwatch, The Sims 2, and more.

How to Install Wine 6.9 in Ubuntu:

Wine has its own apt repository for Ubuntu, Linux Mint based systems. Open terminal from system app launcher. When it opens, run following commands one by one:

1.) Run command to enable 32 bit architecture (if you don’t have it):

sudo dpkg --add-architecture i386

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2.) Install the repository key by running command:

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

3.) Add wine repository

Note there’s A BLANK SPACE before the code name (e.g., focal, groovy, hirsute, bionic) in each command!

  • For Ubuntu 20.04, Linux Mint 20.x, run command ():
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
  • For Ubuntu 20.10, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
  • For Ubuntu 18.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
  • For 21.04, run command:
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'

Don’t know your system edition? Run lsb_release -a command in terminal to check out.

4.) For Ubuntu 18.04 and Linux Mint 19.x only, libfaudio0 library is required to install from a third-party repository by running command:

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

5.) Finally install Wine 6.9 via command:

sudo apt update && sudo apt install --install-recommends winehq-devel

If you get unmet dependency issue, try aptitude command instead:

sudo apt install aptitude && sudo aptitude install winehq-devel

Still getting unmet dependency issue? Try running command to manually install some missing libraries. The command worked in my Ubuntu 20.04.

sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386

Uninstall wine:

You may remove the PPA by launching Software & Updates utility and navigating to Other Software tab.

To remove wine 6.9, run command in terminal:

sudo apt remove --auto-remove winehq-devel

Twitter

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 notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

One response to Wine 6.9 Released! How to Install in Ubuntu 21.04, 20.04

  1. $ sudo apt-add-repository “deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main”
    Repository: ‘deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main’
    Description:
    Archive for codename: main components:
    More info: “https://dl.winehq.org/wine-builds/ubuntu/ hirsute”
    Adding repository.
    Press [ENTER] to continue or Ctrl-c to cancel.
    Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_hirsute-hirsute.list
    Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_hirsute-hirsute.list
    E: Malformed entry 3 in list file /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-hirsute.list (Component)

    E: The list of sources could not be read.
    [email protected]:~$ sudo apt update && sudo apt install –install-recommends winehq-devel
    E: Malformed entry 3 in list file /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-hirsute.list (Component)

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.