How to Install Wine on Ubuntu 18.04 Bionic Beaver

Install Wine on Ubuntu 18.04

In this article, we will have explained the necessary steps to install and configure Wine on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Wine is an open-source compatibility layer that allows you to run Windows applications on Unix-like operating systems such as Linux, FreeBSD, and macOS. Wine stands for Wine Is Not an Emulator. And it’s not, it is an interface that translates Windows system calls into equivalent POSIX calls used by Linux and other Unix-based operating systems.

Install Wine on Ubuntu

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

Step 2. Install Wine.

Installing Wine 3.0 on Ubuntu

Next, install Wine by typing the following command:

Check your version once the Wine installation is complete:

Installing Wine 4.0 on Ubuntu

First, import the GPG key of the WineHQ repository to your system:

Add the WineHQ repository by running the following commands:

Install Wine 4.0 package by typing:

Wine installation successfully completed. Use the following command to check the version of wine installed on your system:

Step 4. How to Use Wine.

To use wine we need to login to the GUI desktop of your Ubuntu system. After that Download a windows .exe file like PuTTY on your system and open it with Wine:

That’s all you need to do to install Wine on Ubuntu 18.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.