This article shows you how to set up and use Wine 7.0 to run Windows software and games on a Linux Mint 21 computer.
To use one of the programs you used on your Windows operating system computer on your Linux Mint system, you need to download the Wine software and install the necessary program with this software.
You can run a Windows-compatible program you installed with Wine on your Linux computer, so you don’t need to look for an alternative program.
Follow this video tutorial or the steps below to install and configure WineHQ to run a program or game compatible with the Windows system on the Linux Mint 21 Vanessa distribution.
Step 1: If you have Linux Mint 64 Bit installed on your computer, run the sudo dpkg –add-architecture i386 command in the terminal to enable 32-bit architecture for WineHQ.
sudo dpkg --add-architecture i386
Step 2: You must define the required WineHQ key on your Linux system. Run the commands below in the terminal to download the winehq.key and add it to your system.
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Step 3: Run the commands below in the terminal to download the Wine source list to your system and add it to the software repository.
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/impish/winehq-impish.sources
Step 4: Update the list of software packages of your Linux Mint system with the sudo apt update command.
sudo apt update
Step 5: To install the stable 7.0 version of Wine, run the sudo apt install –install-recommends winehq-stable command in the terminal.
sudo apt install --install-recommends winehq-stable
Step 6: After installing WineHQ, check the version of Wine with the command –version.
wine --version
Step 7: To run Wine, run the winecfg command in the terminal and install the Mono package.
winecfg
Installing a Windows Program
Step 1: First, download the setup file to your PC to install a Windows application with Wine. Or, download the program with the wget command using the terminal on your Linux PC.
wget https://download.cpuid.com/cpu-z/cpu-z_1.79-en.exe
Step 2: To install the setup file with the exe extension you downloaded, run the Wine CPU-z_1.79-en.exe command in the terminal.
wine cpu-z_1.79-en.exe
Step 3: Perform the relevant steps in the CPU-Z setup wizard and run it after installing it.