Share your love
Install Latest WineHQ on Linux Mint 21 – Powerful App
This guide will show you how to Install Latest WineHQ on Linux Mint 21 From the Terminal Command-Line. As you may know, WineHQ or Wine is a popular software that can be used to run Windows applications on Linux distros. The installation steps are straightforward. You need to add the Ubuntu Jammy Wine repo to your Mint 21 server and install your WineHQ app. Follow the rest of the article to see how you can do it.
Install Latest WineHQ on Linux Mint 21 From the Terminal Command Line
Before you start your Wine installation, you must have access to your Linux Mint 21 as a non-root user with sudo privileges. In this guide, we use the latest stable release of Mint server which is Linux Mint 21.2.
Step 1 – Enable 32-bit Architecture in Mint 21
First, you must run the system update and upgrade in Mint 21 by using the following commands:
# sudo apt update
# sudo apt upgarde -y
Then, check you have 32-bit architecture installed on your Linux Mint by using the command below:
sudo dpkg --print-foreign-architectures
You should get the i386 in your output. If it doesn’t display, you need to add it with the command below:
sudo dpkg --add-architecture i386
Step 2 – Add the Latest WineHQ Repository To Linux Mint 21
At this point, you must add the latest Wine repository to your Mint server. To do this, you need to use the Ubuntu 22.04 repository. First, you need to import the Wine GPG key to your server with the commands below:
# sudo mkdir -pm755 /etc/apt/keyrings
# sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
In your output, you will see:
Next, add the WineHQ repository by using the following command:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
In your output, you will see:
Now run the system update with the command below:
sudo apt update
Step 3 – Command for Installing Wine on Linux Mint
At this point, you can simply install Wine on your server. You can install the stable, development, and beta versions. It is recommended to use the WineHQ stable version.
To Install latest WineHQ on Linux Mint 21, you can run the command below:
sudo apt install --install-recommends winehq-stable
Enter Y to start your Wine installation:
Note: If you want to use beta and development branch, you can use the following commands:
# sudo apt install --install-recommends winehq-devel
# sudo apt install --install-recommends winehq-staging
When your installation is completed, verify it by checking its version:
wine --version
Output
wine-8.0.2
Step 4 – WineHQ Configuration on Linux Mint
At this point, you must configure your WineHQ installation in Linux Mint 21. To do this, run the following command as a regular user:
winecfg
Wait until your Wine configuration is updated.
Then, you will be asked to set up the Wine Mono installer. Click on the Install button.
It will automatically begin downloading and installing Mono and related components.
Next, you will see the following screen. From there you can adjust your desired settings and continue.
When it is completed, you will now be able to run Windows applications in Linux Mint 21.
Step 5 – Run a Windows Application with Wine in Linux Mint 21
At this point, to show you how Wine works, we download the Adobe PDF reader from its official site.
When your download is completed, right-click on the app and select Open with Wine Windows Program Loader.
This will prepare your installation setup. Wait until it is completed.
Now click on Install to start your PDF reader on Linux Mint.
Then, click Finish to complete your setup.
Now you can easily use Adobe PDF reader in Linux Mint. You can run your Windows applications simply with Wine on your Linux distro.
Conclusion
At this point, you have learned to Install latest WineHQ on Linux Mint 21 by adding the latest repository to your server. Also, you have learned to run Windows apps on your Linux Mint server.
Hope you enjoy it. Also, you may like to read:
Install WineHQ on Ubuntu 24.04