Ubuntu is becoming increasingly popular as a replacement for Windows, but unfortunately there are still a lot of programs that can only be used on Windows. Fortunately, the Wine program allows you to run Windows programs from within Ubuntu. It's also free and legal.
Part 1 of 2: Installing Wine
Step #1. Open the software center
From the software center you can be sure that you are installing the latest stable version of Wine. You do need a working internet connection to install Wine.
You can also download the latest unstable version from Wine's developers site, but that is not recommended for most users, as problems may arise
Step 2. Search for "wine" in the software center
The Wine program should be the first search result.
Step 3. Click "Install" to start installing Wine
It may take a few minutes.
Step 4. Open a terminal window if Wine is installed
You will need to modify Wine's configuration to use the program, which you can do from within the program's Terminal window.
You can open Terminal window via Applications → Tools → Terminal window, or by pressing Ctrl+Alt+T
Step 5. Type
winecfg and press ↵ Enter.
This will create a folder on your computer that pretends to be the Windows C: drive, which will allow you to run Windows programs on Ubuntu.
This folder is named.wine and is hidden in the Home directory
Step 6. Adjust the Windows emulation configuration settings
After the "C:" drive is installed, Wine's configuration window opens, where you can adjust the settings of the emulation version of Windows. Under the various tabs you can adjust various settings.
- "Applications" - Here you can change the Windows version for each installed application. The "Default Settings" option is the Windows version that will be loaded for an application with no specific version set.
- "Libraries" - Here you can modify the DLL files of the emulation version of Windows. Most users do not need to adjust this. You may need to adjust something here for a program to work properly.
- "Graphics" - Here you can adjust options such as screen size, mouse selection and resolution. This tab is linked to the "Applications" tab, so these customizations may be specific to certain applications.
- "Drives" - Here you can create virtual disk drives for Wine. To find the location of a drive, right-click on it on your desktop. You can also click "Detect automatically" to let Wine detect the installed drives itself.
- "Desktop Integration" - Here you can customize the theme and appearance of the applications.
- "Sound" - Here you can adjust Wine's sound settings. Most users don't change this, in that case Wine uses the Linux settings.
Part 2 of 2: Installing and running Wine applications
Step 1. Download the Windows program or insert the installation disc into the CD tray
You can install any Windows program just as if you were actually using Windows. When you download an installer, put it somewhere you can easily find it.
Step #2. Open a Terminal window and navigate to the installer folder
If you are installing from a CD, go to the next step.
Step 3. Install the program by typing
wine program name.extension.
For example, if you downloaded a file called "itunes_installer.exe", type wine itunes_installer.exe and then press ↵ Enter. Now the program will start as if Windows were your operating system.
If you want to install a program with a CD, make sure that the CD drive is assigned a letter in Wine. Then you can type the following command: wine start 'D:\setup.exe'. Change the file name to whatever the actual file name is
Step 4. Follow the instructions to install the program
The installation is exactly the same as on Windows from this point on. When prompted for an installation location, select C:\Program Files.
Step 5. Search for the installed application in the Ubuntu Applications menu or on your desktop
Many Windows programs create a shortcut, as they would under Windows. This shortcut makes it easy to open a program by double-clicking it.
Step 6. Open the program from a Terminal window if you can't find the shortcut
- Navigate to the location of the program's.exe file. For example: /home/user/.wine/drive_c/Program Files/Apple.
- Type wine programname.extension and press ↵ Enter to open the program. For example: wine itunes.exe
Step 7. Create a shortcut to a Wine program
If you don't want to type a command in a terminal window every time to open a program, you can create a shortcut on your desktop.
- Right click on your desktop and select "Create reference".
- Select an icon from the list or add your own.
- In the "Command" field, type wine program location/program.extension. The location is where the program's.exe file is located. For example: wine /home/user/.wine/drive_c/Program Files/itunes.exe.
- Uncheck the box next to "Run in terminal window".