How to Use Wine on Linux to Run Windows Applications (2025)

  • Categories
  • Computers and Electronics
  • Operating Systems
  • Linux

Download Article

How to install Wine and use Windows programs on Linux

Written byTravis Boylls

Last Updated: October 8, 2023Fact Checked

Download Article

  • Installing Wine
  • |
  • Setting up Wine
  • |
  • Installing a Program
  • |
  • |
  • Warnings

Do you want to run a Windows game or app on Linux? Linux is a great operating system, but it doesn't support many of the programs and games you use on Windows. Luckily, there is Wine, a Windows emulator that can run many Windows programs and games on a Linux computer. This wikiHow guide teaches you how to install and run Wine on a Linux computer.

Things You Should Know

  • Install Wine in the Terminal using "sudo apt install wine64" (64-bit computers) or "sudo apt install wine32" (32-bit computers).
  • Download a Windows ".exe" or ".msi" program and go to the download location by typing "cd ~/Downloads" in the Terminal and pressing "Enter."
  • Type "wine <name of ".exe" or ".msi" file>" and press "Enter" to install the program with Wine.

Part 1

Part 1 of 3:

Installing Wine

Download Article

  1. 1

    Open the Terminal. Select the Terminal application from your computer's App 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.
  2. 2

    Check your computer's architecture. You need to know if you are using a 32-bit or 64-bit version of Linux. Use the following steps to do so:

    • Type lscpu in the Terminal and press Enter.
    • Check if it says "32-bit" or "64-bit" next to "CPU op-mode(s)."

    Advertisement

  3. 3

    Type sudo apt update and press Enter. This will update the software repository.

  4. 4

    Enter the command to download and install the 32-bit or 64-bit version of Wine. Enter one of the following commands and press Enter to install Wine on a Debian-based Linux distribution, such as Ubuntu or Linux Mint:[1]

    • For 64-bit systems: sudo apt install wine64
    • For 32-bit systems: sudo apt install wine32
    • If you are using Fedora or Redhat, install Wine using kbd sudo dnf install winehq-stable.
  5. 5

    Type y to confirm the installation. When prompted to enter "y" or "n," press "y" to confirm the installation.

  6. Advertisement

Part 2

Part 2 of 3:

Setting up Wine

Download Article

  1. 1

    Type in winecfg and press Enter. This creates a Windows home directory for Wine. 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 and click Apply. Click the "Windows Version" drop-down box at the bottom of the "Wine configuration" window, then click the version of Windows (e.g., Windows10) that you want to use. Then click Apply in the lower-right corner.

  3. 3

    Click OK. This button is at the bottom of the window. Clicking it closes the Window.

  4. Advertisement

Part 3

Part 3 of 3:

Installing a Program

Download Article

  1. 1

    Download a Windows program in ".exe" or ".msi" format. Download a Windows install file in an ".exe" or ".msi" version of the program that you want to use on Linux (e.g., Notepad++) and download it from the official website. It will download to your Linux "Downloads" folder. Once you've done this, you can move on to installing it.

  2. 2

    Type ~/Downloads and press Enter. This switches to the Downloads folder in the Terminal where the downloaded Windows application installer is downloaded.

  3. 3

    Type wine <installer file name> and press Enter. This will open the installer file using the Wine Windows program loader.[2]

    • Alternatively, you can right-click the ".exe" or ".msi" file in your Downloads folder and click Open with Wine Windows Program Loader. If this option does not appear, use the Terminal command instead.
  4. 4

    Follow the instructions to complete the installation. The Windows installation window will appear. Follow the instructions in the installation wizard to complete the installation.

  5. 5

    Open Windows applications. You can open Windows applications installed using Wine by clicking their icon in the Apps Menu or Apps list, the same as you would any Linux application. This will open the application using the Wine Windows Program Loader.

    • Alternatively, you can navigate to the location of the Windows executable file in the virtual "C:" drive and run the program by typing wine <executable file name> and pressing Enter. You can navigate to the folder Windows programs are installed in on the virtual "C:" drive by typing cd ~/.wine/drive_c/Program\ Files and pressing Enter. Then enter the program folder with the executable file by typing cd "<folder name>" with the folder name in quotes and press Enter. Then enter the command to run the executable file in Wine.
  6. Advertisement

Community Q&A

Search

Add New Question

  • Question

    What is Wine? Why do you use Wine? Where do I use Wine?

    How to Use Wine on Linux to Run Windows Applications (19)

    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.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 11Helpful 20

  • Question

    How can I run .jar files in Linux Mint?

    How to Use Wine on Linux to Run Windows Applications (20)

    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!

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 4Helpful 6

  • Question

    Can I run any Windows based program through Wine on Linux?

    How to Use Wine on Linux to Run Windows Applications (21)

    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.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 3Helpful 12

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

      Advertisement

      Tips

      Submit a Tip

      All tip submissions are carefully reviewed before being published

      Name

      Please provide your name and last initial

      Submit

      Thanks for submitting a tip for review!

      Warnings

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

        Thanks

        Helpful0Not Helpful2

      Advertisement

      You Might Also Like

      How toInstall Google Chrome Using Terminal on Linux
      How toTake a Screenshot in LinuxCan Linux Run .exe Files? How to Run Windows Software on LinuxHow to Tar a Directory and Subdirectories in LinuxHow toBecome Root in LinuxHow to Run an INSTALL.sh Script on Linux in 4 Easy StepsHow toRun Files in LinuxHow toAdd or Change the Default Gateway in LinuxFinding Linux Files: Complete Guide to Using Find CommandsEasy Debian Linux Installation TutorialHow toCheck the IP Address in LinuxHow toExecute .RUN Files in LinuxHow to Run Linus from a USB: Making a Bootable Stick and Installing

      Advertisement

      About This Article

      How to Use Wine on Linux to Run Windows Applications (35)

      Written by:

      Travis Boylls

      wikiHow Technology Writer

      This article was co-authored by wikiHow staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for wikiHow. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College. This article has been viewed 757,225 times.

      How helpful is this?

      Co-authors: 17

      Updated: October 8, 2023

      Views:757,225

      Categories: Linux

      In other languages

      Spanish

      Portuguese

      Russian

      German

      French

      Indonesian

      Dutch

      Hindi

      • Print
      • Send fan mail to authors

      Thanks to all authors for creating a page that has been read 757,225 times.

      Reader Success Stories

      • How to Use Wine on Linux to Run Windows Applications (36)

        Robert Martin

        Oct 12, 2016

        "(1) That extra large arrow helped me immensely, by making unmistakable upon just what word or icon was to be..." more

      More reader storiesHide reader stories

      Is this article up to date?

      Advertisement

      How to Use Wine on Linux to Run Windows Applications (2025)
      Top Articles
      Latest Posts
      Recommended Articles
      Article information

      Author: Barbera Armstrong

      Last Updated:

      Views: 5943

      Rating: 4.9 / 5 (79 voted)

      Reviews: 86% of readers found this page helpful

      Author information

      Name: Barbera Armstrong

      Birthday: 1992-09-12

      Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

      Phone: +5026838435397

      Job: National Engineer

      Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

      Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.