how to install wine on Ubuntu – Run Windows softwares on Ubuntu

Wine is a free open source compatibility layer to run Windows applications on Linux, macOS, & BSD. Using this you can easily run your favorite windows softwares in linux system. It is not a Windows Emulator/simulator. It translates Windows API calls into POSIX calls on-the-fly to run and integrate Windows softwares into your Linux, macOS, & BSD OS.

Install wine on Ubuntu:

Installation of wine on Ubuntu is little different for each version of Ubuntu. If you are using 64-bit of Ubuntu system, then enable 32 bit architecture by using below command in terminal. Open your terminal, type the below command and hit enter.

sudo dpkg --add-architecture i386

Then type your Ubuntu password. Then type the below command in terminal and press the enter key to add the repository key in your system.

wget -nc https://dl.winehq.org/wine-builds/winehq.key && sudo apt-key add winehq.key

After that add the repository in your system based on your Ubuntu version.

Suggested Read:  How to install Avidemux on Ubuntu - Avidemux video editor

For Ubuntu 19.04:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'

For Ubuntu 18.10:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'

For Ubuntu 18.04:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

For Ubuntu 16.04:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

After that run the below command in terminal.

sudo apt update

Then run the below command in terminal to add 3rd party PPA of required libfaudio0 library.

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

Then press enter to confirm the action. Then run the below command.

sudo apt install libfaudio0

During the installation type Y and hit the Enter key. It will install the required libfaudio0 library.

Then install wine stable using below command.

sudo apt install --install-recommends winehq-stable

Wine Development version:

sudo apt install --install-recommends winehq-devel

Wine Staging version:

sudo apt install --install-recommends winehq-staging

If installation of wine complains about any missing dependencies, install them, then repeat the steps.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *