
winehq-devel – the latest development release.winehq-stable – the stable version (v8.0 so far).The Wine repository provides three Wine packages: 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.īefore installing any package from that repository, you need to refresh system cache by running command in terminal: sudo apt update 4. “ $(lsb_release -sc)” returns system’s code-name. Move it into “/etc/apt/”: sudo mv winehq- $(lsb_release -sc).sources /etc/apt//.Download the source file: wget -nc $(lsb_release -sc)/winehq- $(lsb_release -sc).sources.

Next run the commands below one by one to download the repository setup file and move to “/etc/apt/” directory. And, it will output un-readable text as the picture shows: Type user password and hit Enter if the command stuck with blinking cursor. 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 When it opens, create the directory for storing the keys: sudo mkdir -p /etc/apt/keyrings Press Ctrl+Alt+T on keyboard to open terminal. However, it’s still ASCII-armored key so far. The repository now has updated with new method to install the key to follow Debian policy, as apt-key is deprecated. By releasing v7.6, it added Ubuntu 22.04 support. The Wine developer team provides an official apt repository for Debian/Ubuntu based systems.

Install Wine from its official repository: desktop file: sudo ln -s /usr/share/doc/wine/examples/sktop /usr/share/applications/įinally, you may right-click on an EXE file to run via “Wine Windows Program Loader” option: Type user password (no asterisk feedback) and hit Enter to authentication for sudo.Īfter installed package run winecfg in terminal to generate configuration file.

User may simply press Ctrl+Alt+T on keyboard to open terminal and run command to install it: sudo dpkg -add-architecture i386 & sudo apt install wine Ubuntu included Wine package in its own repository, though it’s old. In this tutorial, you’ll see 2 ways to install Wine in Ubuntu. And here’s how to install and use Wine in Ubuntu 22.04 LTS. To run Microsoft Windows applications in Ubuntu Linux, Wine or CrossOver (paid version) is a good choice.
