HOW TO INSTALL WINE 2.0 IN UBUNTU 16.04
In this article we are going to learn How to install Wine 2.0 in Ubuntu 16.04. Wine is a open source application can be used to install Microsoft Windows applications in Linux operating system. Initially the Wine 2.0 is developed by Alexandre Julliard on year 1993 using C & Java programming language and released under GNU v2 License. Wine is a cross platform application supports on operating systems like Linux, Unix, FreeBSD, MacOS.
Normally if you want to install MS windows application’s in Linux you might thinking about installing the windows OS virtually in Linux and install all application’s in that. but this process consumes more spaces and also memory. But Wine 2.0 intigrates windows applications directly in Linux and saves lot’s of memory and spaces. Wine 2.0 supports various windows applications, Games, Graphic design softwares and so on. Here in this article we are going to install the most stable version of Wine i.e. Wine 2.0 in Ubuntu 16.04.
Follow the below steps to install Wine 2.0 in Ubuntu 16.04
As a first step you have to add 32 Bit architecture using below command if you are using 64 Bit of Ubuntu operating system. This will help you to install 32 Bit of windows applications in your 64 bit operating system.
elinuxbook@ubuntu:~$ sudo dpkg --add-architecture i386 # Add 32 Bit Architecture
Now we have to download and install Wine 2.0 Release key package. use the below command to download the Release key from official website of Wine.
elinuxbook@ubuntu:~$ wget https://dl.winehq.org/wine-builds/Release.key # Download Release Key for Wine 2.0 --2017-10-14 23:29:58-- https://dl.winehq.org/wine-builds/Release.key Resolving dl.winehq.org (dl.winehq.org)... 188.8.131.52, 184.108.40.206, 220.127.116.11, ... Connecting to dl.winehq.org (dl.winehq.org)|18.104.22.168|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3122 (3.0K) [application/pgp-keys] Saving to: ‘Release.key’ Release.key 100%[=====================================================================================>] 3.05K --.-KB/s in 0s 2017-10-14 23:29:59 (62.9 MB/s) - ‘Release.key’ saved [3122/3122]
As you can see below I have downloaded the Release key file for Wine application.
linuxbook@ubuntu:~$ ls Release.key Release.key
Use the below command to add Release Key repository to your Ubuntu repository list.
elinuxbook@ubuntu:~$ sudo apt-key add Release.key # Add Release Key Repository OK
Now add the repository using below command to download and install Wine 2.0 builds for Ubuntu operating system.
elinuxbook@ubuntu:~$ sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
After all above steps to let’s update the packages and repositories of Ubuntu 16.04 using below command to take effect.
elinuxbook@ubuntu:~$ sudo apt-get update # Update Packages & Repositories Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] Get:5 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease [4,701 B] Get:6 https://dl.winehq.org/wine-builds/ubuntu xenial/main amd64 Packages [19.2 kB] Get:7 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 Packages [19.0 kB] Fetched 349 kB in 1min 32s (3,784 B/s) Reading package lists... Done
Now use the below command to install Wine 2.0 stable version. You can directly run the command “sudo apt-get install winehq-stable” to install the winehq-stable package but by adding –install-recommends the command will install the winehq-stable package with all recommended packages and dependencies.
elinuxbook@ubuntu:~$ sudo apt-get install --install-recommends winehq-stable # Install Wine Package
To check the Wine application version use the below command.
elinuxbook@ubuntu:~$ wine --version # Check the Wine application version wine-2.0.2
Now we have successfully installed the Wine 2.0 Package. To configure it we have to run the below command.
elinuxbook@ubuntu:~$ winecfg # Configure the Wine 2.0 application
After run the above command, The application will prompt to install two more dependencies i.e. Wine Mono Installer and Wine Gecko Installer. So when it will prompt for the same just click on Install button to install the dependencies. Refer the snapshots below.
Install Wine Mono Installer :
Click on Install button to install Mono Installer Package.
Install Wine Gecko Installer :
Click on Install button to install Gecko Installer Package.
After installation of above package the Wine Configuration page will open. Here you have to select your preferred operating system from dropdown list. Refer the snapshot below.
Now we are ready with Wine Stable version and we can install any windows application using Wine 2.0. For testing purpose I am going to install the Windows version of VLC media player. Refer the Steps below.
Just download the VLC Media Player .exe file. Right Click on the Setup file and Click on Wine Windows Program Loader.
After above step the VLC media player installation process will start. the installation steps are very simple. Here below I have mentioned possible snapshots.
Snap : 1
Snap : 2
Snap : 3
This is how we can install Wine 2.0 in Ubuntu 16.04. If you found this article useful then Like us, Share this post on your preferred Social media, Subscribe our Newsletter OR if you have something to say then feel free to comment on the comment box below.