Download Article
Run Windows programs on Linux with Wine so you don’t have to dual boot
Download Article
You don’t have to sacrifice the appeal of Windows software for the stability, security, customizability, and old-school cool of Linux. This wikiHow guide will walk you through running Windows executable (EXE) applications and games on any Linux distribution, including Ubuntu and Linux Mint. We'll also teach you how to make a Linux file executable and run it from the command line.
Quick Steps
- Type "sudo dpkg --add-architecture i386" and press Enter .
- Download and add the Wine repository key.
- Add the Wine repository for your Linux distribution.
- Type "sudo apt update" and press Enter .
- Type "sudo apt install --install-recommends winehq-stable" and press Enter .
- Type "wine program_name.exe " to run an EXE.
Steps
Section 2 of 6:
How to Download Wine
-
Open your Linux terminal. To install Wine on any Debian-based Linux system (including Ubuntu, Linux Mint, and POP!_OS), you'll just need to run a few simple commands. Even though the terminal might look intimidating, don’t worry! You’re unlikely to mess anything up, and all you have to do is copy these commands.
-
Enable 32-bit support. If you're using a modern version of Ubuntu, or virtually any other modern Linux distribution, you'll need to enable 32-bit support to ensure Wine can run 32-bit Windows EXE programs. You can determine whether your system is 64-bit by running the command lscpu . Then, to enable 32-bit support, type sudo dpkg --add-architecture i386 and press Enter . [3] X Research source
-
Install the Wine repository key. The developers of Wine say the version available in your default repository are buggy and out of date. To make sure you're installing the latest version of Wine, you'll need to get it from Wine's own repositories. First, download and add the repository key:
- Type sudo mkdir -pm755 /etc/apt/keyrings and press Enter .
- Type sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key and press Enter .
-
Add the repository for your distribution. Run the command for the version of Linux you're running:
- Ubuntu 24.10 (Oracular): sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/oracular/winehq-oracular.sources
- Ubuntu 24.04/Linux Mint 22 (Noble): sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
- Ubuntu 22.04/Linux Mint 21.x (Jammy): sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
- Ubuntu 20.04/Linux Mint 20.x (Focal): sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
- Debian 12 (Bookworm): sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources
- See https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu for other versions.
-
Install Wine. Now you're all set to install Wine!
- Type sudo apt update and press Enter to update the package information.
- Type sudo apt install --install-recommends winehq-stable and press Enter . [4] X Research source
Advertisement
Expert Q&A
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
-
Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
References
- ↑ https://www.winehq.org/about
- ↑ https://wiki.winehq.org/Wine_User%27s_Guide
- ↑ https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu
- ↑ https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu
- ↑ https://www.youtube.com/watch?v=FTTr2bjI2UM&t=40s
- ↑ https://www.youtube.com/watch?v=uasl5KxzETo&t=97s
- ↑ https://appdb.winehq.org/
- ↑ https://wiki.winehq.org/Wine_User%27s_Guide#Virtual_Machines
- ↑ https://www.redhat.com/en/topics/virtualization/what-is-KVM
About This Article
Thanks to all authors for creating a page that has been read 500,903 times.
Advertisement