How to install Wine 7 on Ubuntu 22.04 | Linux Mint 21

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

Hello, friends. Taking advantage that I had to make some tweaks to play a game I like, I will show you how to install Wine 7 on Ubuntu 22.04 | Linux Mint 21.

The reality is that Ubuntu 22.04 | Linux Mint 21 comes with Wine 6 which is a great version but not the latest. We already know that with Wine you should use recent versions to take advantage of the improvements they incorporate.

But what is Wine? If you are a newbie, you probably don’t know. So, Wine 7 is the latest stable branch of a project that has been with us for many years. With wine, we can have a layer of compatibility that allows us to run Windows software on Linux.

Thanks to an active development, Wine 7 comes with many interesting new features. For example, the inclusion of the Windows-on-Windows 64bit architecture (WoW64) that allows us to install 32-bit Windows applications on 64-bit Linux systems.

Another exciting aspect of Wine 7 is that now the included applications support HiDPI and the Vulkan driver supports up to version 1.2.201 of the graphics API and initial support for Direct2D effects has been introduced.

Installing Wine 7 on Ubuntu 22.04 | Linux Mint 21

First, before you start, update the entire system

sudo apt update
sudo apt upgrade

Then you can start. Now, enable the i386 architecture in APT to get packages needed for Wine.

sudo dpkg --add-architecture i386

Now, download and add the GPG key from the Wine repository. Remember that older versions are included in the official Ubuntu and Linux Mint repositories. The idea is to have the latest stable.

sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Next step is to add the repository in question

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources

Next, refresh APT

sudo apt update

And finally install the latest stable version of Wine

sudo apt install --install-recommends wine-stable

Or

sudo apt install --install-recommends wine-devel
Install Wine 7 on Ubuntu 22.04 | Linux Mint 21
Install Wine 7 on Ubuntu 22.04 | Linux Mint 21

Now check the installed version

wine --version
wine-7.16

So, that’s it.

Conclusion

Wine is a flagship Linux utility because it allows us to use Windows software. Very popular for games and so on.

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"
Angelo
Angelo
I am Angelo. A systems engineer passionate about Linux and all open-source software. Although here I'm just another member of the family.

4 COMMENTS

  1. Hi Angelo,
    I just tried to install Wine 7 on my Ubuntu 22.04 system and everything went well, except for the last step which gave me the following message: Unable to locate package winehq-stable

    Also, since I did what was suggested, when I try the GUI Sofware Updates, I get: Failed to download repository information;
    and,
    when I retry apt get update, I get the following:
    Get:4 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease [8,041 B]
    Hit:5 http://gpl.savoirfairelinux.net/pub/mirrors/ubuntu jammy-security InRelease
    Err:4 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
    The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    Reading package lists… Done
    W: GPG error: https://dl.winehq.org/wine-builds/ubuntu jammy InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    E: The repository ‘https://dl.winehq.org/wine-builds/ubuntu jammy 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.
    What am I missing…?

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook