Install Wine

Introduction

Wine allows you to run many Windows programs on Linux. Its homepage can be found at http://www.winehq.org. If you are running the latest release of Wine, you can get further assistance on the #winehq IRC channel on irc.freenode.net.

Consider if you really need to run the Windows program: in most cases, its functionality is provided by a free Linux program, see SoftwareEquivalents.

Also consider using Qemu instead of Wine if you need a complete Windows installation.

Installing Wine

A recent, stable version of Wine is available from the Ubuntu universesoftware channel if you are using Ubuntu 8.04 (Hardy) or later. It is always recommended that you only install software from the official channels, but you also have the option to install the latest development version from WineHQ's unofficial repository.

Ubuntu versions of Wine (Recommended)

Install the wine package. See InstallingSoftware if you need help.

Note: If you are looking for AMD64 wine packages for Dapper, go to this page: WineForAMD64

Newer versions of Wine (Not Recommended)

If you are using 8.04 (Hardy), WineHQ provides the newest development versions of Wine packaged for Ubuntu using their own third-party APT repository. To use these, you need to add the WineHQ repository and then install Wine with Synaptic. For help on adding repositories, see the Repositories page.

Note, however, that these are development packages (ie alpha software), and may suffer from regressions and other problems not present in the stable Wine included with Hardy. You should avoid using them unless the current stable version of Wine does not work for the application you wish to use.

If you are using an older version of Wine and want support from WineHQ, you will need to upgrade to the latest development version first. If you do this, however, please file associated Wine bugs at winehq's bugzilla rather than in launchpad.

Initial Setup

Before using Wine, it is necessary to create the fake C: drive where your Windows applications will be installed. To do this, enter the following command into a terminal:

  • winecfg

You can also select the Configure Wine option in the Applications->Wine menu.

This will create a hidden folder (.wine) in your home directory containing the fake C: drive as well as registry files similar to those used in Windows. Once this directory is created, the Wine Configuration window will appear. This window will allow you to customize a variety of settings for Wine, including the Windows version that is being emulated, drive mappings, DLL overrides, as well as application specific settings. Click the "Ok" button to close the window.