How To Install And Configure Wine on Ubuntu 16.04
If you want to run Windows programs or applications on Linux you can use specific software. There are a few option of Linux program that working fine in several popular linux distro, such as Wine, PlayOnLinux and CrossOver. In this article, we will learn how to install and configure Wine on Ubuntu 16.04.
What is Wine?
Wine is compatibility layer suitable for running Windows applications on several POSIX-compliant OS, like Linux, BSD & MacOS. Wine is not like emulator or virtual machine. Wine interpret Windows API calss into POSIX calls quickly, eliminating the memory and performance penalties of other method and allowing user to integrate Windows application into desktop clearly. The latest version of Wine is 3.2 and you can get the Wine 3.2 using this link.
Install and configure Wine on Ubuntu 16.04
if your system is 64 bit, you could enable 32 bit architecture :
sudo dpkg –add-architecture i386
Add the repository:
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
Or add Ubuntu Wine PPA repository :
sudo add-apt-repository ppa:wine/wine-builds
Update the apt source list
sudo apt-get update
Install Wine On Ubuntu 16.04
First, open Ubuntu terminal or command Line Interface (CLI), then type use this command
sudo apt-get install –install-recommends winehq-stable
If apt-get complains about missing dependencies, install them, then repeat the update and install step.
Configure Wine on Ubuntu 16.04
The command to configure wine is
For this “winecfg” command, you should run it not as root user or your Linux user account. Command winecfg also cannot run it with sudo command. With winecfg, this is includes Wine Gecko and Wine mono. After that you can select the Windows version for the applications that you want to run using Wine.