How to install Wine on Linux

Question: I need to run a Windows application on Linux, and for that, I would like to try Wine. How can I install Wine on [insert your Linux distro]?

Wine is a popular user-space software program which allows one to run Windows applications on Linux. Wine provides a run-time environment for a Windows application by serving Windows APIs called by the application. As of today, there are more than 20,000 Windows applications that are supported by Wine.

Install Wine on Debian

Since Wine is included in the default repository of Debian, you can install it with apt-get. However, if you are using 64-bit Debian, you need to enable multi-architecture, as Wine is a 32-bit application.

On 64-bit Debian:

$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install wine-bin:i386

On 32-bit Debian:

$ sudo apt-get install wine

Install Wine on Ubuntu or Linux Mint

On Ubuntu-derivatives (Kubuntu or Lubuntu) or Linux Mint, you can install Wine using the Wine PPA maintained by WineHQ team as follows. This version is more recent than the one included in the Ubuntu's default repository.

$ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install wine1.7

Install Wine on Fedora

Installation of Wine is straightforward on Fedora. Simply use yum command.

$ sudo yum install wine

Install Wine on CentOS

To install Wine on CentOS, you first need to set up EPEL repository. Then use yum command to install it.

$ sudo yum install wine

Install Wine on openSUSE

Wine is available in the default repository of openSUSE, so installation is hassle free with zypper command.

$ sudo zypper install wine

Below is the screenshot of the Wine configuration editor (winecfg) which allows you to set application-specific Wine settings.

One useful application to install along with Wine is PlayOnLinux. This program allows you to quickly configure Wine for a pool of well-known Windows applications and games. Thus it is recommended to install PlayOnLinux if you are using Wine.

Download this article as ad-free PDF (made possible by your kind donation): 
Download PDF

Subscribe to Ask Xmodulo

Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.

Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

Leave a comment

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