Once upon a time, Linux suffered a severe shortage of useful applications. Windows was considered the better option owing to its vast myriad of applications, especially in the business world and gaming. To counter this shortfall, a compatibility layer called Wine (Wine Is Not an Emulator) was developed. Wine is a free and open source application allows users to run Windows applications in a Linux environment. Nowadays, Wine is a must-have tool for Linux users who don’t want to let go of Windows native applications especially gamers. In this tutorial, we’ll see how to install Wine on Ubuntu 18.04.
How to install Wine 3.15 on Ubuntu 18.04
At the time of writing this tutorial, The latest stable version of Wine is Wine 3.15.
Installation steps
First, download the wineHQ key
wget https://dl.winehq.org/wine-builds/Release.key
Sample Output
wget https://dl.winehq.org/wine-builds/Release.key --2018-09-06 15:28:01-- https://dl.winehq.org/wine-builds/Release.key Resolving dl.winehq.org (dl.winehq.org)... 151.101.142.217 Connecting to dl.winehq.org (dl.winehq.org)|151.101.142.217|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3122 (3.0K) [application/pgp-keys] Saving to: ‘Release.key’ 100%[======================================>] 3,122 --.-K/s in 0.005s 2018-09-06 15:28:02 (616 KB/s) - ‘Release.key’ saved [3122/3122]
Next, add it to your System
apt-key add Release.key
Output
OK
Add the official Wine repository to the sources list
apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
Next, update your System
apt update
Finally , install Wine using the command below
apt-get install --install-recommends winehq-devel
Upon successful installation of wine, you can check its version using the command below
wine --version
Output
wine-3.15
To run a Windows application in wine type
wine application.exe
Closing thoughts
That’s it on how to install Wine on Ubuntu 18.04. Keep it Cloudcone for more helpful articles.