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 Install Wine 7.0 (Stable) on Linux Mint 21

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

Enabling 32-Bit Architecture for WineHQ

   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

Adding WineHQ Source to Repo

   Step 3

To update the software packages of your Linux Mint system, execute the “sudo apt update” command in the terminal.

sudo apt update

Updating the Linux Mint Package List

   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

Installing the Stable Version of Wine

   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.

Confirming the Installation of Dependent Packages

   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

Checking the 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

Opening the Wine Configuration and Installing the Mono Package

   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.

About WineHQ

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

Installing a Windows Program in Linux Mint

   Step 2

In the setup window of the CPUID CPU-Z program, accept the license agreement and click Next.

Installing CPU-Z

   Step 3

Configure the location where you will install CPU-Z and click Next.

Configuring the Installation Location for CPU-Z

   Step 4

Edit the folder name to be created for the Start Menu and click Next.

Start Menu Folder Configuration

   Step 5

In order to open the CPU-Z program faster, choose to create a shortcut on the desktop location and click Next.

Creating a Desktop Shortcut for CPU-Z

   Step 6

Click the Install button when the setup wizard is ready to install the CPU-Z program on your computer.

Starting the CPU-Z Setup

   Step 7

After completing the installation of the CPUID CPU-Z program, click Finish and close the wizard.

Running the Program

   Step 8

You can run the program by clicking the CPUID CPU-Z shortcut created on the Linux Mint desktop location.

Checking CPUID CPU-Z Version

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*

Uninstalling Wine

   Step 2

Press Y and Enter to check and confirm the removal of all Wine related dependent packages.

Confirming Packages to be Deleted

   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

Deleting Unnecessary Packages

   Step 4

After reviewing all the packages to be deleted, press Y and Enter to confirm the removal.

Confirming to Delete Unnecessary Packages

   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

Deleting WineHQ Source and Key

   Video

Installing Old Versions

Mint Version
YouTube Video
Slide
18
21 (NEW)

 

   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

3 Comments
  1. al 17 November 2018

    doesn’t work. ma;formed entry 1 in list file

    Reply
  2. Luis Rigaud 19 February 2019

    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’

    Reply
  3. Jim 29 April 2019

    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.

    Reply
Add a Comment

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