Wine

Revision 35 as of 2010-02-19 15:53:26

Clear message

Wine allows you to run many Windows programs on Linux. It's homepage can be found at http://www.winehq.org.

Installing Wine

Ubuntu versions of Wine

The versions of Wine that Ubuntu ships are unfortunately quite out of date. However, if you wish to use them, simply add the Universe repositories (see AddingRepositoriesHowto if you need help) and then install wine.

Newer versions of Wine

Fortunately, Wine provides newer versions packaged for Ubuntu. You need to add the repository and then install wine from there.

  1. Add the repository:
    • For Breezy: Add the following repository deb http://wine.budgetdedicated.com/apt breezy main (See AddingRepositoriesHowto if you need help)

    • For Dapper: Add the following repository deb http://wine.budgetdedicated.com/apt dapper main (See AddingRepositoriesHowto if you need help)

Note that these repositories are recommended on the WineHQ website: http://winehq.org/site/download-deb

  1. Update the package cache using sudo apt-get update or reload in Synaptic

  2. Install wine

Latest Wine with World of Warcraft Patch

This is the version of Wine you will need if you wish to run the game World of Warcraft. There is no other reason to use it.

Note: This package currently only works for Dapper Drake users. Others will have to compile Wine from source in order to play WoW. Instructions can be found here: https://wiki.ubuntu.com/BuildingWineFromSource

1. Download the debian package using the following command.

  • wget http://thepiratecove.org/files/wine-0.9.15_wow_i386.deb

2. Remove any older version of Wine you have installed.

  • sudo apt-get --purge remove wine

3. Install Wine and remove the downloaded debian file.

  • sudo dpkg -i wine-0.9.15_wow_i386.deb
    rm wine-0.9.15_wow_i386.deb

To install World of Warcraft see the instructions here: https://wiki.ubuntu.com/WorldofWarcraft

Configuring Wine

On the command line or in Run Application, type winecfg

Adding CD and DVD to drives Wine

Go to the drives tab in winecfg. Hit the Autodetect button.

If you find that this does not work correctly for you, then follow these instructions:

  1. Run winecfg

  2. Navigate to the drives tab

  3. Click on Add...

  4. In the path bar, type /media/cdrom

  5. Click Show Advanced button below the Browse... button and set the Type to CD-ROM

  6. Click OK

If you have more than one CD/DVD device you will need to identify each one differently. Use /media/cdrom0 for the first CD/DVD device, /media/cdrom1 for the second one, and so on. If in doubt, type ls -la ~/.wine/dosdevices/ in a terminal to check your CD/DVD device details after Wine is installed.

Running Windows programs/installers

To run most programs or installers, type wine name_of_program.exe

Configuring specific Windows programs

Adding applications to the menu

It is good procedure before setting up the menu entry to launch the new Windows program from the command line to make sure the program runs properly. To do this type  wine "C:\PATHTOPROGRAM\Program.exe"  in the command line. (eg.  wine "C:\Program Files\World of Warcraft\WoW.exe" ) Once you are satisfied that all is okay, use the normal menu editing process to add a new entry. When you get to the Command field of the entry editor be sure to copy and paste the line you used to launch the program from the terminal. Finish and save the new entry. Test to make sure the new Windows program loads via the menu.

Changing application specific settings

  1. Type winecfg at the command line

  2. Click on Add Application...

  3. Navigate to where the exe is and choose that program
  4. The dropdown at the bottom allows you to choose which version of Windows Wine should emulate. Also, any changes to the Libraries and Graphics tabs will only affect the chosen application in the Applications tab.

Instructions for specific Windows programs

Some Windows programs have been tested on Ubuntu. They are listed below:

Also, see Wine's Application Database at http://appdb.winehq.org/

CategoryDocumentation CategoryNeedsExpansion