How to Install Wine on Ubuntu

Ubuntu is gaining more and more ground in the personal desktop use, but there are still a great number of programs which are only usable through Microsoft Windows. Fortunately, a program called Wine can run many of them from the comfort of...

Installing Wine

Picture 1 of How to Install Wine on Ubuntu

Open the Software Center. This is Ubuntu's app store, and is the easiest way to install the most stable version of Wine and other software for Ubuntu. You'll need an active internet connection to install it.[1]

It is possible to install the latest, unstable version from Wine's developers, but this is not recommended for most users as you may encounter serious issues with it.

Picture 2 of How to Install Wine on Ubuntu

Search for wine in the Software Center. The Wine program should be the first on the list of results.

Picture 3 of How to Install Wine on Ubuntu

Click Install to begin installing the Wine software. This may take a few minutes.

Picture 4 of How to Install Wine on Ubuntu

Open the Terminal after Wine has finished installing. You will need to configure Wine before you can use it, which needs to be done through the Terminal.

You can open the Terminal from Applications → Accessories → Terminal, or by pressing Ctrl+Alt+T.

Picture 5 of How to Install Wine on Ubuntu

Type .winecfg and press ↵ Enter. This will create a folder on your computer that will act as the Windows "C:" drive, which will allow you to run programs.

This folder is labeled .wine and is hidden in your Home directory.

Picture 6 of How to Install Wine on Ubuntu

Set your Windows emulation configuration options. After the "C:" drive is created, the configuration window will open, allowing you to adjust the settings for the emulated version of Windows. The different tabs allow you to adjust different settings.

  1. "Applications" - This allows you to set the Windows version for each of your installed applications. The "Default Settings" is the version of Windows that will be loaded for any application that does not have a specific operating system set.
  2. "Libraries" - This lets you adjust DLLs for the emulated version of Windows. Most users can leave this alone. You may need to make adjustments here to make some programs run correctly.
  3. "Graphics" - This allows you to adjust options like screen size, mouse capture, and resolution. This is linked to the "Applications" tab, so these changes can be application-specific.
  4. "Drives" - This allows you to map virtual drives for Wine using your own drives and folders. To find the Path for your disc drive, right-click the icon on your desktop. You can also click "Autodetect" to attempt to have Wine automatically detect your installed drives.
  5. "Desktop Integration" - This allows you to set the theme and appearance of your emulated applications.
  6. "Audio" - This adjusts the audio settings for Wine. Most users can leave them at default, and Wine will use your Linux settings.

 

Installing and Running Wine Applications

Picture 7 of How to Install Wine on Ubuntu

Download the Windows application, or insert the installation disc. You can install any Windows application as if you were using Windows. If you're downloading an installer, place it somewhere on your computer that's easily accessible.

Picture 8 of How to Install Wine on Ubuntu

Open the Terminal and navigate to the folder that contains the installer. If you are installing from a disc, see the next step.

Picture 9 of How to Install Wine on Ubuntu

Run the installer by typing .wine programname.extension. For example, if you downloaded a file named "itunes_installer.exe", you would type wine itunes_installer.exe and press ↵ Enter. This will run the program as if you were using Windows.

If you want to install a program from a disc, make sure that the disc drive has a drive letter assigned in Wine and then type the following command: wine start 'D:setup.exe'. Change the filename to whatever the actual filename is.

Picture 10 of How to Install Wine on Ubuntu

Follow any prompts to install the program. The installation will proceed just as if you were installing it in Windows. If you are asked for an installation location, select C:Program Files.

Picture 11 of How to Install Wine on Ubuntu

Look for the installed application in your Ubuntu Applications menu or on your desktop. Many Windows applications will create a shortcut much like they would in Windows, allowing you to easily start them by double-clicking.

Navigate to the location of the program's executable file. For example: /home/user/.wine/drive_c/Program Files/Apple.

Type {{kbd|wine progamname.extension and press ↵ Enter to start the program. For example: wine itunes.exe

Picture 12 of How to Install Wine on Ubuntu

Run the installed application through the Terminal if you can't find a shortcut. If installing the program didn't create a shortcut, you can use the Terminal to start it up.[2]

Create a shortcut to a Wine program. If you'd rather not type in the Wine command into the Terminal each time you want to start it, you can create a shortcut on your desktop.

  1. Right-click on your desktop and select "Create launcher".
  2. Select an icon from the list or add your own.
  3. In the "Command" field, type wine progam-location/program.extension. The location is where the program's executable file is located. For example: wine /home/user/.wine/drive_c/Program Files/itunes.exe.
  4. Uncheck the "Run in terminal" box.
Update 04 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile