This article was co-authored by Garnik Ovsepyan and by wikiHow staff writer, Nicole Levine, MFA. Garnik Ovsepyan is a Computer Specialist and the Owner of HeliX PC based in Burbank, California. With over 25 years of experience, Garnik specializes in custom computer builds, computer repairs, virus removal, computer tune-ups, hardware and software troubleshooting and installations, diagnostics, and data backup and recovery.
There are 12 references cited in this article, which can be found at the bottom of the page.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 500,903 times.
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
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]
-
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]
Expert Q&A
Video
Tips
-
Use the winecfg command to access Wine's GUI configuration tool.[13]Thanks
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