On this tutorial, we will focus on how to install Wine 6 on Pop!_OS Linux distribution. Wine is a compatibility layer meant to enable you run Windows apps on Unix-like Operating System for example MacOS, Linux and FreeBSD. Wine stands for (Wine Is Not an Emulator), it takes Windows Commands previously not understandable in a Unix-like system, and converts them to Unix-like commands, that are understandable in that system. As a result making it possible to run Windows calls on Unix-like systems.
Install Wine 6 on Pop!_OS
The following steps will guide you on how to install Wine 6 on Pop!_OS, ensure that you follow them to the later.
Step 1. Enable 32-bit Architecture
Most people run their system on 64-bit, however, you still need the 32-bit architecture given that most of the awesome Windows applications still run on 32-bit. Hence enabling the 32 bit architecture allows you to install software from multiple architectures, that is both the 32-bit and 64-bit. To enable this architecture, use the
sudo dpkg --add-architecture i386
Then update Pop!_OS system;
sudo apt update
Step 2. Import winehq Key using wget
If you do not have wget, install it using the command below;
sudo apt update sudo apt -y install software-properties-common wget
To add repository key, use the following command;
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
[email protected]:~$ wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK
Step 3. Add the Wine Repository to your system
Once you have imported the key, add Wine repository;
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Step 4. Install Wine 6 on Pop!_OS
Once you have imported the key and had the Wine repository added, install Wine 6 on Pop!_OS using the command below;
sudo apt update sudo apt install --install-recommends winehq-stable
Below is a section of the execution output;
Setting up libgdk-pixbuf2.0-0:i386 (2.40.0+dfsg-5ubuntu0.2) ... Setting up libharfbuzz0b:i386 (2.6.4-1ubuntu5) ... Setting up libcairo-gobject2:i386 (1.16.0-4ubuntu1) ... Setting up libgstreamer1.0-0:i386 (1.18.0-3) ... Setcap worked! gst-ptp-helper is not suid! Setting up libpoppler-glib8:i386 (20.09.0-2ubuntu2) ... Setting up libpango-1.0-0:i386 (1.46.2-1) ... Setting up libgstreamer-plugins-base1.0-0:i386 (1.18.0-2ubuntu0.1) ... Setting up libsane1:i386 (1.0.31-2ubuntu0.20.10) ... Setting up gstreamer1.0-plugins-base:i386 (1.18.0-2ubuntu0.1) ... Setting up libpangoft2-1.0-0:i386 (1.46.2-1) ... Setting up libpangocairo-1.0-0:i386 (1.46.2-1) ... Setting up librsvg2-2:i386 (2.50.1+dfsg-1) ... Setting up librsvg2-common:i386 (2.50.1+dfsg-1) ... Setting up libavcodec58:i386 (7:4.3.1-4ubuntu1) ... Setting up libfaudio0:i386 (20.04-2) ... Setting up wine-stable-i386:i386 (6.0.0~focal-1) ... Setting up wine-stable (6.0.0~focal-1) ... Setting up winehq-stable (6.0.0~focal-1) ... Processing triggers for libc-bin (2.32-0ubuntu3) ... Processing triggers for libgdk-pixbuf2.0-0:i386 (2.40.0+dfsg-5ubuntu0.2) ...
Step 5. Check if Wine was Installed Successfully
To see that, use the command below;
[email protected]:~$ wine --version wine-6.0