How to Install Wine 7.0 on Ubuntu 22.10

In this article, we will examine how to set up Wine Stable 7.0, which allows you to run and use Windows-based programs on Ubuntu 22.10 (Kinetic Kudu) distribution, and how to run an exe software.

How to Install Wine 7.0 on Ubuntu 22.10

How to Set Up and Use WineHQ 7.0 on Ubuntu 22.10

If you are using a Linux-based Ubuntu operating system and need to use an application supported by a Windows operating system, you can choose the completely legal and free software Wine.

Under normal circumstances, you cannot run a Windows application on Linux/Ubuntu. Therefore, by using the program called Wine to run a Windows program on your system, you can install and run any program on your computer.

You can run Windows applications with WineHQ software on old and new distributions of Ubuntu. After installing this program, you can also install programs such as Microsoft Office, and Adobe PhotoShop on your computer and run them easily.

The latest version of Wine software is 7.0. The WineHQ team released versions of Wine 7.0 Stable, Devel, and Staging on January 18, 2022.

How to Install Wine 7.0

You can install, for example, a Notepad++, or Photoshop program on your Ubuntu 22.10 system, and you can even run the most popular computer games on your computer today.

   Step 1

First, Ping Google with the command “ping -c 2” in the terminal to test the Internet connection. Then, if your Ubuntu system is 64-Bit, enable 32-Bit architecture. To do this, execute the “sudo dpkg –add-architecture i386” command in the terminal.

ping -c 2
sudo dpkg --add-architecture i386

Enabling 32 Bit Architecture in Ubuntu

   Step 2

Before downloading Wine Key from WineHQ, edit the folder permissions by using the “sudo mkdir -pm755 /etc/apt/keyrings” command in the terminal. Then execute the “sudo wget -O /etc/apt/keyrings/winehq-archive.key” command in the terminal to download the Winehq-archive.key file to /etc/apt/keyrings and add it to your system.

sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key

Downloading and Adding the Repository Key

   Step 3

According to the version of your Ubuntu system you are using, you need to add one of the addresses in the table below to specify the WineHQ source in your software repository.

Ubuntu 22.04
Linux Mint 21.x
sudo wget -NP /etc/apt/sources.list.d/
Ubuntu 20.04
Linux Mint 20.x
sudo wget -NP /etc/apt/sources.list.d/
Ubuntu 18.04
Linux Mint 19.x
sudo wget -NP /etc/apt/sources.list.d/

If you are using Ubuntu after version 22.10, import the Kinetic Kudu sources file to the/etc/apt/sources.list file so that you can install the latest version of WineHQ without any problems.

sudo wget -NP /etc/apt/sources.list.d/

Downloading WineHQ-Kinetic Sources File

   Step 4

Run the sudo apt update command to update the Ubuntu package list.

sudo apt update

Updating the Software List

   Step 5

After updating the repo list, execute the “sudo apt install –install-recommends winehq-stable” command in the terminal to install WineHQ Stable 7.0 version.

sudo apt install --install-recommends winehq-stable

Installing Wine-Stable

   Step 6

Press Y and then Enter to confirm the installation of dependent packages for Wine.

Confirming Packages to Install on WineHQ

   Step 7

After installing Wine on Ubuntu, execute the “winecfg” command in the terminal to start the program. Some necessary files may need to be configured at this stage, so wait for the process to complete.

Click the Install button to install the Wine Mono package, which enables the applications that need the .NET framework to run correctly.


Installing Mono Package

   Step 8

After installing the Wine Mono package, you can check the Wine version with the “wine –version” command in the terminal or from the GUI interface.

Checking the Wine Version from the GUI

How to Run Windows Programs on Ubuntu

After installing Wine to run Windows programs on macOS, Linux and Android, we will run Notepad++ as an example.

   Step 1

Download the latest version of the Notepad program to your Ubuntu system from the website and go to the Downloads location. To open the Notepad.exe file with Wine, right-click on the file, then click Open With Other Application and then select Wine Windows Program Loader as in the image below.

NOTE: If you want to install via terminal, copy the download link of the program and download it using the wget command, and then you can start the wizard with the “wine FileName.exe” command.

cd ~/Downloads
wine npp.8.4.7.Installer.x64.exe

Wine Windows Program Loader

   Step 2

When the Notepad setup wizard opens, select the language of the program and click the OK button.

Choosing Notepad++ Program Language

   Step 3

Continue by clicking the Next button in the Wizard window.

Notepad++ Setup Wizard

   Step 4

Click the I Agree button to accept the Notepad++ license agreement.

Accepting the Program's License Agreement

   Step 5

You can manually select the installation location or select the location configured by default. Just click Next at this step to install to the default location specified during the installation phase.

Choosing the Destination Installation Folder

   Step 6

Since you will be installing it on the Linux distribution in the components selection window, you may not see some options here, but this is not a problem that will prevent the program from running. Therefore, continue the installation by clicking the Next button.

Selecting Components of the Note Application

   Step 7

After installing the Windows-based program, select the Create Shortcut on Desktop option and click the Install button to create a desktop shortcut.

Creating a Shortcut on the Desktop

   Step 8

After the Notepad++ installation is complete, start it.

Running Notepad Application

   Step 9

You can now see a Windows program running smoothly on the Ubuntu distribution.

NOTE: Finally, to make the desktop shortcut icon visible, right-click on it and then click Allow Launching. In the right part of the image below, you can see that the icon is now visible and working.

Checking the Version of the Program

How to Uninstall Wine

If you want to uninstall or delete Wine from your Linux computer, we recommend that you first backup your projects.

   Step 1

Execute the “sudo apt remove wine*” command in the terminal to remove all WineHQ-related packages from your system.

sudo apt remove wine*

Uninstalling Wine

   Step 2

Press Y followed by Enter to confirm removing all dependent packages related to Wine-Stable, WineHQ-Stable-AMD64, and WineHQ-Stable.

Confirming Dependent Packages to be Removed

   Step 3

After completely uninstalling Wine, execute the “sudo apt autoremove && sudo apt autoclean” command in the terminal to automatically clean unnecessary residual files and packages on your system.

sudo apt autoremove && sudo apt autoclean

Deleting Unnecessary Relic Packages

   Step 4

The total size of unnecessary residual files on your Ubuntu PC is 1 GB. Press Y and Enter if you confirm deleting all files from your system.

Confirm Deletion of Unnecessary Packages

   Step 5

Finally, to delete WineHQ resources from your system’s repo list, execute the commands below in the terminal and then check that the program is uninstalled with the “wine –version” command.

sudo rm -rf /etc/apt/sources.list.d/winehq-kinetic.sources
sudo rm -rf /etc/apt/keyrings/winehq-archive.key

Deleting Winehq-kinetic.sources and Winehq-archive.key Files


Installing Old Versions

YouTube Video
2.x 3.x
3.x 4.x
3.x 4.x 4.x
22.10 (NEW)

   Related Articles

How to Install WineHQ on Debian
♦ How to Install Ubuntu on VMware
♦ How to Install WineHQ on Kali
♦ How to Install WineHQ on Mint
♦ How to Install VMware on Ubuntu

  1. Mariel Opazo 21 May 2018

    This didnt work for me. Tried following all the recommendations from here too (, but they didnt work. Have the same problem as the person who asked the question and nothing has solved it so far.

  2. John Miller 2 May 2020

    Got an error trying to add the Winehq repository for 18.04.
    Is it a script error ?
    Brings the installation to a halt.
    Can u help ?

  3. Claus Kjær 20 August 2022

    Thank You !!! ;-D
    Installed winehq-stable on 22.04, It just worked.

    • Tolga Bagci 20 August 2022

      You’re welcome. Thank you.

  4. silvrlibrarian 8 January 2023

    Such clear, thorough instructions! Thanks so much! This helped a ton.

    • Tolga Bagci 9 January 2023

      Glad to be of help. Thanks for your comment.

  5. Andi Gewehre 16 February 2023

    please turn off the unselectable feature on your website. Besides that, good tutorial

Add a Comment

Your email address will not be published. Required fields are marked *