How to Install Wine 7.0 (Stable) on Linux Mint 21
In this article, we will examine how to set up and use Wine 7.0 (Stable), which allows you to run Windows programs or games on the Linux Mint 21 Vanessa distribution.
How to Use Wine 7.0 to Run Windows Programs or Games on Linux Mint 21 Vanessa
Under normal circumstances, you cannot run Windows-compatible programs or games on Linux operating systems. That’s why you need to find alternative Linux-compatible software to the applications you commonly use on Windows.
However, on Linux distributions, you can use the Wine software, which allows you to install most of the applications that run on Windows. This software is a free application developed by WineHQ that provides an interface to its infrastructure.
Thanks to WineHQ or Wine, you can install and run, for example, Microsoft Office or Photoshop applications on your Linux-based operating system.
You can continue to run your business using most of such Windows software on your Linux Mint computer. Additionally, you can check the database of applications supported by WineHQ and decide to install other Windows programs or games on your system.
You can quickly install Wine on your PC from the Mint repository, but since the version may be a little older, we recommend using the WineHQ repo source to install the most optimal version.
How to Install Wine via WineHQ
You can quickly install Wine software on your computer using the terminal and the WineHQ repo addresses. If running scripts is difficult for you, you can try to install this software from your system’s software center.
Step 1
Open the terminal by pressing CTRL + ALT + T together and execute the “sudo dpkg –add-architecture i386” command to enable 32 Bit architecture. Then, run the commands below in the terminal in order to download the wine.key and copy it to the required location.
sudo dpkg --add-architecture i386
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Step 2
For Linux Mint 21 you need to use the Ubuntu Impish repository. So, execute the below command in the terminal to download WineHQ.Sources file and add it to /etc/apt/sources.list.d.
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/impish/winehq-impish.sources
Step 3
To update the software packages of your Linux Mint system, execute the “sudo apt update” command in the terminal.
sudo apt update
Step 4
After updating the package list, execute the “sudo apt install –install-recommends winehq-stable” command in the terminal to install the latest stable version of Wine software.
sudo apt install --install-recommends winehq-stable
Step 5
All necessary packages for Wine software will be downloaded and installed from the Internet. This will take up 2,052 MB (2 GB) of space on your disk. Press Y and Enter to continue installing the packages and confirm.
Step 6
After installing the stable version of Wine on your computer, you can check the version with the “wine –version” command in the terminal.
wine --version
Step 7
When you execute the “winecfg” command in the terminal to open the settings of the Wine software, you can see that you need to install the Wine Mono package for Net Framework applications to work correctly.
In the Wine Mono Installer window, click the Install button to download and install the necessary packages. If you want to learn more about the Mono package, you can visit the https://wiki.winehq.org/Mono website.
winecfg
Step 8
After installing the Mono package, the Wine Configuration window will open. In this window, you can set the installation locations of applications, virtual drives, or graphics settings.
How to Install a Windows Program
After installing Wine on Linux Mint, what you need to do is to install and experience a Windows-compatible program.
Step 1
Open the terminal and go to Downloads with the command “cd ~/Downloads”. To download the CPU-Z program to this location, execute the “wget https://download.cpuid.com/cpu-z/cpu-z_1.79-en.exe” command in the terminal in the same way, and then “wine cpu-z_1″ to start the installation of the program. Execute the .79-en.exe” command.
cd ~/Downloads
wget https://download.cpuid.com/cpu-z/cpu-z_1.79-en.exe
wine cpu-z_1.79-en.exe
Step 2
In the setup window of the CPUID CPU-Z program, accept the license agreement and click Next.
Step 3
Configure the location where you will install CPU-Z and click Next.
Step 4
Edit the folder name to be created for the Start Menu and click Next.
Step 5
In order to open the CPU-Z program faster, choose to create a shortcut on the desktop location and click Next.
Step 6
Click the Install button when the setup wizard is ready to install the CPU-Z program on your computer.
Step 7
After completing the installation of the CPUID CPU-Z program, click Finish and close the wizard.
Step 8
You can run the program by clicking the CPUID CPU-Z shortcut created on the Linux Mint desktop location.
How to Uninstall Wine
When you plan to completely remove WineHQ from your system, you can quickly do this using the terminal.
Step 1
To completely remove WineHQ from your system, execute the “sudo apt remove wine*” command in the terminal.
sudo apt remove wine*
Step 2
Press Y and Enter to check and confirm the removal of all Wine related dependent packages.
Step 3
After uninstalling Wine, execute the command “sudo apt autoremove && sudo apt autoclean” to delete the unnecessary packages left on your system.
sudo apt autoremove && sudo apt autoclean
Step 4
After reviewing all the packages to be deleted, press Y and Enter to confirm the removal.
Step 5
Finally, since you have defined the WineHQ repo source and key to your system, execute the commands below in the terminal to clear them as well. Then, run the “wine –version” command again and you can check that WineHQ has been completely removed from your system.
sudo rm -rf /etc/apt/sources.list.d/winehq-impish.sources
sudo rm -rf /usr/share/keyrings/winehq-archive.key
Video
Installing Old Versions
Related Articles
♦ How to Set Up WineHQ on Ubuntu
♦ How to Set Up WineHQ on Debian
♦ How to Set Up Debian
♦ How to Reset Ubuntu Root Password
♦ How to Set Up Ubuntu
doesn’t work. ma;formed entry 1 in list file
Hello, I want to warn that the repository is wrong is not, I changed cosmic through bionic and managed to install and update.
thus, ‘deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main’
There should be a space in front of “bionic”, which isn’t apparent from the way the text is formatted.
This wouldn’t be a problem, if it was possible to cut & paste the commands.