How to Install Wine 7 on Ubuntu 22.04

This article shows you how to set up Wine 7 version to run Windows applications with the Exe extension on Ubuntu 22.04 LTS version from Linux distributions.

Wine is free and open-source software that allows users to run Windows applications and software in a Unix or Linux environment.

Unlike virtual machines, it translates application calls recognized by the Windows system so that the application can run in a near-native environment.

In this way, software designed for Windows systems can be run without significant memory or performance issues. In other cases, some installed Wine programs run much better on Linux than in a Windows environment.

Follow this video tutorial or the steps below to install WineHQ’s latest version on Ubuntu 22.04 distribution.

Step 1: Open the terminal on your Ubuntu computer and check your Internet connection first.

ping -c 2

Step 2: If the operating system installed on your computer is 64 Bit, enable 32 Bit architecture.

sudo dpkg --add-architecture i386

Step 3: Download and add the required repository key for WineHQ.

wget -nc
sudo mv winehq-impish.sources /etc/apt/sources.list.d/

Step 4: The sudo apt update command will update the Ubuntu repository list.

sudo apt update

Step 5: Run sudo apt install –install-recommends winehq-stable in the terminal to install the latest stable version of Wine on your PC.

sudo apt install --install-recommends winehq-stable

Step 6: After installing Wine 7, check the version.

wine --version

Step 7: Run winecfg to review the WineHQ settings and install the Mono package.


Running a Windows Program in Ubuntu

Step 1: For example, you can install Notepad with an exe extension on your Linux computer after installing Wine. Before downloading the program, go to the Downloads location in the terminal.

cd ~/Downloads

Step 2: Copy the program link you will download and download it via the terminal.


Step 3: To install Notepad with WineHQ from the console, run wine npp.8.4.1.Installer.x64.exe.

wine npp.8.4.1.Installer.x64.exe

Related Posts

1. How to Install PlayOnLinux
2. How to Install SecureCRT
3. How to Use Wine on openSUSE
4. How to Install Chrome on Ubuntu
5. How to Use Wine on Linux Mint

In other languages: TR
Avatar for tolgabagci


In my personal blog, I will explain the solutions to the problems I encounter in the system, network, and information technologies for you. If you want to contact me or consult about a problem, you can send an e-mail to