Wine is an incredible tool that can help you install Windows apps on Linux, but how exactly can you install it on your Linux PC? In this article, we’ll be looking at installing Wine on all Linux distributions.

For those who don’t know how Wine works or what it means, Wine stands for “Wine is not an emulator” (Yep, Linux nerds love recursions), and it’s a program that uses the Windows API along with other libraries to install and run Windows apps (.exe files) on Linux.

how to install Wine on Linux

How to install Wine on Linux

Here’s how to installWineonDebian/Ubuntu-based distros, Arch-based distros, Fedora, RHEL, and CentOS.

Install Wine on Debian/Ubuntu-based distros

Here are the instructions to easily install Wine on Debian and Ubuntu-based distributions.

  1. Enable the 32-bit architecture. This is essential to be able to run 32-bit Windows apps. The command for doing the same would be.

  2. Download the repository key usingwgetand add the Wine repository key.

  3. Add the official Wine repository to the sources.list.d to be able to download and install Wine. If you’re using Ubuntu, copy and paste the following command in the terminal and enter.

  4. The above command is for Ubuntu 21.10 ‘Impish Indri,’ but if you’re on a different release, replace ‘impish’ with the first name of that release. For example, hirsute, focal, bionic, etc.

  5. For Debian, use the following command and replace ‘Bookworm’ with the version that you have installed.

  6. Finally, update the repos and install Wine using the following commands.

  7. To check if Wine is installed, type the following command and enter.

Install Wine on Fedora, RHEL, and CentOS

  1. To install Wine on Fedora, you’ll first need to add the repository.

  2. Replace the ’35’ in the URL with the latest version that you’re using.

3. Finally, use this command to install Wine.

  1. To check if Wine has been correctly installed, use the following command.

Install Wine on Arch/Arch-based distros

To install the latest version of Wine on Arch or Arch-based distributions, follow these instructions.

1. Update the repositories.

2. Install Wine using the following command.

  1. The size of the Wine package will be around 70 MB. Type “y” and press enter to start downloading and installing Wine.

  2. Finally, to check if the same has been installed successfully, type.

The Wine project has not only managed to bring the ability to run Windows apps on Linux but has also saved the Linux gaming scene. Thanks to Wine being open-source, Valve was able to develop the Proton compatibility layer, a Wine fork, to make gaming on Linux more accessible. TheSteam Deckhas also played a vital role in improving gaming on Linux.

Were you able to install Wine on your distribution? Let us know in the comments section below.