How to Install Wine on Linux?
LinuxBytes: Missing your favourite Windows applications and games while using Linux? By installing Wine on Linux you can run Windows software on Linux machine. Here is how you can run Windows applications on Linux in a simple way.
Windows is the most used Desktop Operating System and there is no doubt in it. It rose to the top of the charts with the availability of thousands of software, applications and games.
In spite of having a less market share, one has to admit that Linux is the most loved Operating System. Here is what users often say about their love for Linux.
If you are new to Linux then there might be a situation wherein you might have asked yourself the question: Is it possible to run Windows applications on Linux?
If you have ever asked this question then we are glad to inform you that Yes you can run Windows applications on Linux! It is very easy to use Windows games and software on Linux.
Thanks to the project WINE which allows Linux users to enjoy Windows applications in a simple and time-saving way.
What is WINE?
According to Wine HQ, Wine (originally an acronym for “Wine Is Not an Emulator”) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, macOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly.
In simple words it translates Windows commands to native Linux commands.
Wine gives you the ability to run Windows applications that are not available for Linux and helps you stay with your favourite Linux OS. You can also run Windows games on Linux using Wine.
So if your excited about using WINE then here is how you can Install WINE on Linux.
Installing Wine on Linux!
The latest stable version of Wine for Linux is Wine 4.0. You can also check out the development releases also. Here is what’s new in the Wine latest version.
Change log of Wine 4.0:
- Vulkan support.
- Direct3D 12 support.
- Game controllers support.
- High-DPI support on Android.
It is very easy to install the latest version of Wine on Linux. In this tutorial, we will proceed with installing Wine on Ubuntu and other Ubuntu-based Linux distributions. Like Zorin OS, Elementary and others. If you are using any other distro based on Fedora, SUSE or Slackware, run the respective commands given below.
Installing Wine on Ubuntu/Linux Mint:
To install Wine on Linux one has to first enable the i386 architecture. If you have a 64-bit OS the run the below command in Linux terminal.
sudo dpkg --add-architecture i386
Now run the following commands to install the required Official PPA and add Key to receive future updates
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
Now based on your Ubuntu Version you need to choose the following commands to add the repository.
|Ubuntu 18.10||sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main’|
|Ubuntu 18.04/Linux Mint 19.x||sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main’|
|Ubuntu 16.04/Linux Mint 18.x||sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main’|
|Ubuntu 14.04/Linux Mint 17.x||sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main’|
After adding the correct repo update the packages using the command sudo apt update
You can now install the latest stable version of Wine 4.0 on your Linux system. Run the below command in terminal.
For stable Version: sudo apt install --install-recommends winehq-stable
For Development Version: sudo apt install --install-recommends winehq-devel
If you are using other Linux Distributions check out the WineHQ download page for installation instructions Or check the below links directly.
Uninstalling Wine on Linux
To Uninstall Wine from your Linux distribution just run the below command
sudo apt-get remove --autoremove winehq-stable
You can also remove it from the Software and Updates tool. Just launch it and check the other applications tab.
Note: For error-free installation, we suggest you copy and paste the commands as is. Also, note that long term use of Wine may affect system performance. Use it only with the most useful Windows software. You can also search for a Linux alternative of your favourite Windows application.
So this is how you can install Wine on Linux to run Windows applications on Linux. In the next guide, we will share how to use a short guide on using Wine to run Windows applications with ease.
Meanwhile, if you like our work please spread the word by sharing this article with your FOSS friends on Social Media. Also if you face any difficulties in installing Wine on Linux drop your problem in the comments and we will assist you further.