How to Install Wine on Ubuntu
Installing Wine
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.
Search for wine in the Software Center. The Wine program should be the first on the list of results.
Click Install to begin installing the Wine software. This may take a few minutes.
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.
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.
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.
- "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.
- "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.
- "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.
- "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.
- "Desktop Integration" - This allows you to set the theme and appearance of your emulated applications.
- "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
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.
Open the Terminal and navigate to the folder that contains the installer. If you are installing from a disc, see the next step.
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.
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.
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
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.
- Right-click on your desktop and select "Create launcher".
- Select an icon from the list or add your own.
- 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.
- Uncheck the "Run in terminal" box.
You should read it
- How to Use Wine on Linux
- How to Use Wine on Linux
- How to run Windows applications on Linux with Wine
- The oldest Italian wine in the world is found
- How to install Safari on Linux
- Should wine be stored in the refrigerator?
- Guide to wine selection
- Error handling cannot install updates and program settings
- New finding: Drinking 1 glass of wine has the same effect as 1 hour of gym
- An old wine pitcher for over 1,600 years, no scientist dared to open it very curious
- How to download and use the Program Install and Uninstall Troubleshooter in Windows
- How to Open Exe Files on Mac