How to Use Wine on Linux
This wikiHow teaches you how to install and run Wine on a Linux computer. Wine is a program that allows you to run Windows applications on a non-Windows computer. Open the Terminal. Select the Terminal application from your computer's Menu...
Part 1 of 3:
Installing Wine
-
Open the Terminal. Select the Terminal application from your computer's Menu or Applications list to do so.- On most Linux versions, you can also open the Terminal by pressing Ctrl+Alt+T.
- Some Linux versions also have a command line textbox at the top of the screen.
-
Enable 32-bit architecture. If your computer uses a 64-bit processor, you'll need to enable 32-bit mode for your computer. To do so:- Type
sudo dpkg --add-architecture i386into Terminal and press ↵ Enter. - Type in your root password when prompted and press ↵ Enter.
- Type
-
Point your computer's downloader to the Wine website. This will allow your computer to find the proper download files. To do so:- Type in
wget -nc https://dl.winehq.org/wine-builds/Release.keyand press ↵ Enter. - Type in
sudo apt-key add Release.keyand press ↵ Enter. - Enter your root password if prompted.
- Type in
-
Add the Wine repository to your library. Depending on your Linux version, you'll enter one of the following strings:- Ubuntu -
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ - Mint -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
- Ubuntu -
-
Update the downloaded packages. Type insudo apt-get updateand press ↵ Enter. -
Select a download. As of March 2018, the stable release for Wine can be downloaded by typing insudo apt-get install --install-recommends wine-stableand pressing ↵ Enter.[1]- There may be future Wine versions that support multiple different types of stable download.
-
Confirm the download. Type in y and press ↵ Enter, then type back in your root password if prompted. Wine will begin downloading and installing onto your computer. -
Wait for the download to finish. Wine will take upward of 10 minutes to finish installing on your computer. When it finishes downloading, you can proceed.
Part 2 of 3:
Setting up Wine
-
Create a Windows home directory. Type inwinecfgand press ↵ Enter, then look for a confirmation message that says something like "created the configuration directory 'home/name/.wine'".- If prompted to install any missing packages here, click Install in the prompt window and wait for the packages to install.
-
Select a Windows version. Click the "Windows Version" drop-down box at the bottom of the "Wine configuration" window, then click the version of Windows (e.g., Windows 7) that you want to use.- If you don't see this option, first click the Applications tab at the top of the window.
-
Click Apply. It's at the bottom of the window. Doing so will save your settings. -
Click OK. This button is at the bottom of the window. Clicking it closes the Window. -
Download a Windows program in EXE format. Find an EXE version of the program that you want to use on Linux (e.g., 7-zip) and download it. Once you've done this, you can move on to installing it.- You can see a comprehensive list of Wine-compatible programs on Wine's website.
Part 3 of 3:
Installing a Program
-
Open your Downloads folder. You'll find this in your Home folder, though you may also be able to open the Downloads folder from within the Applications menu. -
Find the downloaded EXE file. Scroll through the Downloads folder until you find the EXE file for the program that you want to install. -
Right-click the file. Doing so will prompt a drop-down menu. -
Click Open With Wine Windows Program Loader. It's at the top of the drop-down menu. This will open an installation window. -
Click Install. It's at the bottom of the installation window. The program will begin installing onto your computer.- Some programs may require additional input before they can be installed.
- You can also change the location in which your program is installed by clicking ⋯ on the right side of the window and then selecting a different folder on your computer.
-
Click Close when prompted. This option will become available when the program is finished installing. -
Run your program. You can run your newly installed program from within the Applications section, which is usually inside of the Menu.
Similar Post
- How to install Safari on Linux
- Should wine be stored in the refrigerator?
- 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
- 10 ways to open a bottle of wine without a opener
- Drinking a glass of red wine every week can improve your chances of getting pregnant


