İnstall Wine on Ubuntu
İnstall Wine on Ubuntu
The installation of Wine 5 on Ubuntu 20.04 is a straightforward process as all packages are provides in Wine repository.
sudo apt-get update
sudo apt-get install build-essential
Step 1: Enable 32 bit architecture
But before installation we need to enable enable 32 bit architecture if running on a 64-bit system. This is achieved by running the command below.
sudo dpkg --add-architecture i386
Step 2: Download and add the repository key:
Install wget if not present in your system.
sudo apt update
sudo apt -y install software-properties-common wget
Then download and add repository key:
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
You should receive “OK” in the output.
Step 3: Add the Wine repository
After importing the key, proceed to add repository.
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Step 4: Install Wine 5 on Ubuntu 20.04 Linux
With the repository ready we can install Wine 5 on our Ubuntu 20.04 Linux machine.
sudo apt update
sudo apt install --install-recommends winehq-stable
Be informed that a good number of packages will be installed. This may take sometime if you have weak internet connection:
After the package has been installed, Check your version once the Wine installation is complete:
$ wine --version
wine-5.11
Step 5: Using Wine 5 on Ubuntu 20.04
For command line guys the wine tool can be invoked directly on the terminal.
$ wine
Accessing help page:
$ wine --help
Install test application like Notepad++
wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v7.8.8/npp.7.8.8.Installer.exe
Use wine to install your downloaded .exe application.
wine npp.7.8.8.Installer.exe
sudo apt-get install playonlinux
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt autoclean
No comments