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.

Things You Should Know

  • Wine lets you use Windows applications on a non-Windows computer.
  • When installing Wine, you'll need to use the Terminal application.
  • Wine set-up involves creating a Windows home directory.
Part 1
Part 1 of 3:

Installing Wine

  1. 1
    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.
    • Some Linux installations go directly into command line. If that's the case, skip this step.
  2. 2
    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 i386 into Terminal and press Enter.
    • Type in your root password when prompted and press Enter.
    Advertisement
  3. 3
    Point your computer's downloader to the Wine website. This will allow your computer to find the proper download files. To do so:
  4. 4
    Add the Wine repository to your library. Depending on your Linux version, you'll enter one of the following strings:
  5. 5
    Update the downloaded packages. Type in sudo apt-get update and press Enter.
  6. 6
    Select a download. As of March 2018, the stable release for Wine can be downloaded by typing in sudo apt-get install --install-recommends wine-stable and pressing Enter.[1]
    • There may be future Wine versions that support multiple different types of stable download.
  7. 7
    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.
  8. 8
    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.
  9. Advertisement
Part 2
Part 2 of 3:

Setting up Wine

  1. 1
    Create a Windows home directory. Type in winecfg and 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.
  2. 2
    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.
  3. 3
    Click Apply. It's at the bottom of the window. Doing so will save your settings.
  4. 4
    Click OK. This button is at the bottom of the window. Clicking it closes the Window.
  5. 5
    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.
  6. Advertisement
Part 3
Part 3 of 3:

Installing a Program

  1. 1
    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.
  2. 2
    Find the downloaded EXE file. Scroll through the Downloads folder until you find the EXE file for the program that you want to install.
  3. 3
    Right-click the file. Doing so will prompt a drop-down menu.
  4. 4
    Click Open With Wine Windows Program Loader. It's at the top of the drop-down menu. This will open an installation window.
  5. 5
    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.
  6. 6
    Click Close when prompted. This option will become available when the program is finished installing.
  7. 7
    Run your program. You can run your newly installed program from within the Applications section, which is usually inside of the Menu.
  8. Advertisement

Community Q&A

  • Question
    What is Wine? Why do you use Wine? Where do I use Wine?
    77Ecrivan
    77Ecrivan
    Community Answer
    Wine is a compatibility layer that allows you to run Windows software on systems such as Linux, MacOS/OSX and BSD. In the case of GNU/Linux, it's obvious Linux distributions are not as widely supported as Windows. For this reason, it is incredibly convenient to be able to run Windows software in the way that Wine lets you.
  • Question
    How can I run .jar files in Linux Mint?
    Community Answer
    Community Answer
    First, fire up Terminal and type in "sudo apt install default-jre." Once downloaded, navigate to the folder that your .jar file is in by executing "cd." Once there, type in "java -jar JavaFileNameHere.jar" and you're done!
  • Question
    Can I run any Windows based program through Wine on Linux?
    Community Answer
    Community Answer
    No, not every Windows based application can run through Wine. You can go to Wine AppDB to see the list of Windows application that can run well with Wine.
Advertisement

Warnings

  • Wine is a fairly comprehensive compatibility program, but it will still have trouble running high-end PC games and programs at a normal frame rate.
    ⧼thumbs_response⧽


Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 641,221 times.
How helpful is this?
Co-authors: 17
Updated: October 25, 2022
Views: 641,221
Categories: Linux
Advertisement