How to Install Wine in Ubuntu
Last Updated :
21 Apr, 2025
If you've ever wished you had the ability to use Windows programs on Ubuntu, you're not the only one. Most users convert to Linux due to the speed, security, and open-source compatibility—but still require the ability to use some Windows-specific software. That’s where Wine comes in.
Wine (short for “Wine Is Not an Emulator”)is a free compatibility layer that lets you natively execute.exe programs and Windows software on Linux, without installing Windows or running under a virtual machine. It is light, speedy, and suitable for developers, gamers, and common users as well.
In this article, we'll guide you through the installation of Wine on Ubuntu 24.04, tell you why it's so handy, and demonstrate how to install your favorite Windows programs from your Linux desktop. Whether you're installing MS Office, Notepad++, or even some games, this easy-to-follow guide has you up and running in no time—no technical expertise required.
Why Use Wine in Ubuntu?
Wine is an excellent utility that allows Ubuntu users to run Windows applications without having to install Windows. It fills the gap between operating systems, making your Wine box a more capable machine. As a developer, gamer, or someone who requires access to a particular Windows application, Wine provides you with that freedom—straight from your Ubuntu desktop.
Reason | Benefit |
---|
Run Windows apps | Lets you use Windows software like Notepad++, Adobe Reader, MS Office, and even games that don’t have Linux versions. |
Lightweight alternative | Wine doesn’t need a full Windows OS or virtual machine—saving time and system resources. |
Great for developers | Helps test or run legacy Windows programs directly in Linux environments. |
Gaming support | Supports Steam Play and many Windows-exclusive games through compatibility layers. |
Also Read: How to Use Wine on Linux?
Install Wine in Ubuntu
Here are steps to install Wine in Ubuntu
Step 1: Enable 32-bit Architecture
Even on 64-bit systems, many Windows apps need 32-bit support. Run:
sudo dpkg --add-architecture i386
Step 2: Add the WineHQ Repository
You’ll need to install the latest Wine packages from WineHQ, the official Wine source.
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Add the Wine repository for Ubuntu 24.04:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
Step 3: Update Package Lists
Now update your local package database:
sudo apt update
Step 4: Install Wine on Ubuntu 24.04
You have 3 versions to choose from:
Version | Description | Command |
---|
Stable | Most reliable for general use | sudo apt install --install-recommends winehq-stable |
Development | Latest features but less tested | sudo apt install --install-recommends winehq-devel |
Staging | Testing features before stable release | sudo apt install --install-recommends winehq-staging |
Step 5: Verify Wine Installation
Check that Wine installed correctly:
wine --version
How to Run Windows Applications Using Wine?
Once installed, you can launch .exe
files with Wine:
wine setup.exe
It will open a Windows-style installer inside Ubuntu.
Common Issues and Fixes in Wine
Even though Wine works well for running Windows applications on Linux, you might still face a few issues during setup or use.
Issue | Solution |
---|
Wine crashes or hangs | Run winecfg in the terminal to reset and reconfigure the Wine environment. |
Missing libraries (e.g., libfaudio0) | Install missing packages with: sudo apt install libfaudio0 |
Fonts not displaying correctly | Install Winetricks and use it to add Microsoft core fonts. Run: winetricks corefonts |
Also Read:
Conclusion
Wine installation on Ubuntu 24.04 introduces an many software possibilities to the game. From running critical Windows applications on Linux to supporting legacy applications and games, Wine offers versatility without necessitating dual-booting or virtual machines.
With a couple of terminal commands, you can install Wine, set it up for your machine, and fix common issues like missing fonts or libraries. It's lightweight, simple, and works fine with most mainstream Windows programs.
Whether you're a coder, gamer, or simply a random user, having Wine in your machine means that you can enjoy the best of both system—Linux speed with Windows compatibility. Just follow the above procedure, and your Ubuntu system will be ready to take on those annoying.exe files in no time.
Similar Reads
How to Install php-xml in Ubuntu?
Extensible Markup Language (XML) is a markup language similar to HTML, but the difference between HTML and XML is HTML has predefined tags but in XML we can create our own tags. The format of XML is standardized, if we share or transmit the XML over other systems and platform the receiver still will
2 min read
How to Install Steam in Ubuntu
Steam is a prominent cross-platform gaming engine that offers a variety of fun and popular games for Linux. You may play your favorite games as well as meet and engage with new players through Steam. We will install the Steam Gaming application on Ubuntu in this article. Installation of Steam on Ubu
2 min read
How to install Python in Ubuntu?
This article will guide you through the steps to install Python on Ubuntu, ensuring you're ready to start coding quickly. We will focus on installing Python 3, which is the most widely used version today. Python is typically pre-installed on Ubuntu, particularly Python 3, as it's an essential part o
4 min read
How to Install OpenShot in Ubuntu
For Windows, macOS, Linux, and Chrome OS, OpenShot Video Editor is a free and open-source video editor. Jonathan Thomas launched the project in August 2008 with the goal of creating a reliable, free, and user-friendly video editor. Since version 2.1.0, the software has supported Windows, macOS, and
2 min read
How to install make on Ubuntu
The "make" program in Linux is used to compile and manage a set of source code applications and files. It allows developers to install and gather a range of apps via the terminal. It also controls and cuts down on the amount of time necessary for compilation. The basic objective of the make command
3 min read
How to Install Unity Hub on Windows?
Unity is software mainly used for the development of video games for computer and mobile platforms. It is also used in the field of Augmented and virtual reality. Unity was developed by Unity Technologies in 2005. It is a cross-platform game engine. It was developed only for OS X but now it can be u
2 min read
How to Install PHP Extension in Ubuntu?
PHP extensions are compiled libraries that allow you to use special functions in your PHP code. PHP extensions can be compiled statically in PHP or dynamically loaded at the time of execution. By using extensions, you can prevent the need to recreate the same code for many applications. To use an ex
2 min read
How to install PuTTY on Ubuntu
Although PuTTY is a popular SSH client for Windows, it also supports other network protocols including Telnet and rlogin. PuTTY is also used by the system administrators as a Telnet and SSH client. Telnet is a protocol for establishing communication between two or more networked devices, but it was
2 min read
How to install VLC Media Player in Ubuntu
The VLC media player (formerly known as the VideoLAN Client and simply VLC) is a free and open-source, portable, cross-platform media player and streaming media server created by the VideoLAN project. VLC is compatible with desktop and mobile platforms, including Android, iOS, and iPadOS. VLC may al
2 min read
How to install Ruby on Windows?
Prerequisite: Ruby Programming Language Before we start with the installation of Ruby on Windows, we must have first-hand knowledge of what Ruby is?. Ruby is a pure Object-Oriented language developed by Yukihiro Matsumoto (also known as Matz in the Ruby community) in the mid-1990s in Japan. Everythi
2 min read