Wine Dev 7.19 Released, Here’s how to install it in Ubuntu

Last updated: October 19, 2022 — 3 Comments

Wine, the open-source tool to run Windows application on Linux and macOS, got a new development update recently.

The new Wine 7.19 adds support for storing DOS attributes on disk, updates bundled vkd3d to version 1.5, and add support for MPEG-4 audio format.

As usual, there are various bug-fixes for applications include OpenMPT, Cubase 12, Sonic Adventure DX (2004), AIMP 3, and HP Prime Virtual Calculator Emulator.

How to Install Wine 7.19 in Ubuntu 22.04 | 20.04 | 18.04

Winehq website has official setup guide for installing the software in Ubuntu & other Linux. However, it still use the ASCII-armored key which is deprecated.

1. Install Wine key

The repository now has updated with new method to install the key to follow Debian policy, as apt-key is deprecated. However, it’s still ASCII-armored key so far.

Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to create ‘/etc/apt/keyrings’ directory in case it’s not exist, for storing the keys:

sudo mkdir -p /etc/apt/keyrings

Then, run the single command to download the key, dearmor, and move to “/etc/apt/keyrings” directory:

wget -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/winehq-archive.key

Type user password and hit Enter if the command stuck with blinking cursor. And, it will output un-readable text as the picture shows:

2. Add Wine repository:

Next run the commands below one by one to download the repository setup file and move to “/etc/apt/sources.list.d” directory.

  • Download the source file:
    wget -nc$(lsb_release -sc)/winehq-$(lsb_release -sc).sources
  • Move it into “/etc/apt/sources.list.d”:
    sudo mv winehq-$(lsb_release -sc).sources /etc/apt/sources.list.d/

NOTE: This command is for Ubuntu only. “$(lsb_release -sc)” returns system’s code-name. For Linux Mint and other Ubuntu based system, replace it with jammy (22.04), focal (20.04) or bionic (18.04) depends on which Ubuntu edition your system is based on.

3. Update cache

Before installing any package from that repository, you need to refresh system cache by running command in terminal:

sudo apt update

4. Install Wine Development:

Finally, run the apt install command to install the new development release:

sudo apt install winehq-devel

After installation, use winecfg to open the configuration page, and right-click on your EXE file and start it via Wine program loader option. See if you app works with wine.

How to Remove Wine:

1. To remove the Wine package, simply open terminal and run commands:

sudo apt remove --autoremove wine winehq-devel

There will be local configuration files and app data left under .wine and .local/share/applications. They are hidden folders, press Ctrl+H in file manager to toggle display and remove them as you want.

2. To remove the Wine repository, open terminal (Ctrl+Alt+T) and run command:

sudo rm /etc/apt/sources.list.d/winehq-*.sources

And remove the repository key via command:

sudo rm /etc/apt/keyrings/winehq-archive.key

Finally apply changes by running sudo apt update to refresh system package cache.


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 remind me outdated tutorial! 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:

3 responses to Wine Dev 7.19 Released, Here’s how to install it in Ubuntu

  1. While installing wine 7.15, the following message is displayed in the terminal.
    sudo apt update
    Get:1 focal InRelease [8,041 B]
    Hit:2 stable InRelease
    Err:1 focal InRelease
    The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    Hit:3 focal InRelease
    Hit:4 focal-security InRelease
    Hit:5 focal InRelease
    Hit:6 focal InRelease
    Hit:7 focal InRelease
    Hit:8 stable InRelease
    Hit:9 focal-updates InRelease
    Hit:10 focal-backports InRelease
    Hit:11 focal InRelease
    Hit:12 focal-infra-security InRelease
    Hit:13 focal InRelease
    Hit:14 focal InRelease
    Hit:15 focal InRelease
    Hit:16 focal InRelease
    Hit:17 focal InRelease
    Reading package lists… Done
    W: GPG error: focal InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    E: The repository ‘ focal InRelease’ is not signed.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    Please look in the matter and guide how to complete the required installation?

    • That’s my fault. ‘/etc/apt/keyring‘ directory may not exist in your system, create it first via command:

      sudo mkdir -p /etc/apt/keyring

      Then retry to download and install the key into that repository:

      wget -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/winehq-archive.key

      Finally, update cache & install wine.

  2. This is installing wine for bionic and not for focal version. Please check at your end

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.