How to Install Wine on Linux

The biggest difficulty most Windows users face when switching to a Linux distribution is the inability to run their favorite Windows software, especially games. Games on Linux have been improved, but to play Windows-only games on Linux you need to use wine.

Wine aims to help bridge the gap between Windows and Linux software, so that only Windows games and software are compatible without performance loss. Here’s how to install Wine on Linux.

Install wine

As one of the most famous Linux packages, installing Wine on the most popular Linux distributions should be very simple. You can download, compile and install the appropriate packages from the Wine website, or you can use the packages provided in the Linux distribution.

However, you should first check if you are running on a 64-bit version of Linux. To do this, open your terminal and enter lscpu.

This should show some technical information about your PC.

Under the “CPU op-modes” section, if you only see 32-bit, install the 32-bit version of Wine. Otherwise, install the 64-bit version.

To install the 32-bit version of Wine on Ubuntu and Debian-based operating systems, type:

sudo apt install wine32

Otherwise, to install the 64-bit version, enter:

sudo apt install wine64

If Wine is already installed on your Linux PC and you are not sure what version is installed, open a terminal and enter:

wine --version

This will display the version of Wine you have installed and the version number.

Configure wine

In many cases, Wine itself does not need to be configured after installation, but you need to generate Wine configuration before you can use it.

By running the GUI Wine configuration tool, you will generate a new configuration file for Wine, and then you can configure it according to your requirements.

Linux Wine configuration

To run it, open your terminal window and enter:


The initial Wine configuration file may take some time. When done, the configuration tool will open. If you do not plan to change the configuration of Wine, you can close it by clicking “OK”.

To use Wine Application Database, You can find settings for any Windows game or software you want to run. You can then use the Wine configuration tool to modify the settings to meet these requirements.

Install Windows Games with Wine

To run Windows games or software, you need to download files for them as you would on Windows. Some may have specific installation instructions, so make sure to check the entries in the Wine application database first.

Many Windows installers are EXE files. Linux does not usually support EXE files, but they can be used with Wine.

Linux Wine Steam installer

To run the Windows installer on Linux, download the EXE file and place it in the appropriate location. Open a terminal window and enter:

wine example-installer.exe

This will run the installer file where you can perform the installation process in the same way as Windows.

If you need to uninstall any Windows software, open a terminal and enter:

wine uninstaller

This will display a Windows-style control panel where you can find examples of existing software and remove it. You can also delete files manually.

Run Windows games and software with Wine

Usually, Windows files are installed to the “C” drive. Since this file does not exist on Linux, Wine creates a folder (usually / home / your username / .wine / drive_c) as the “C” drive for Windows software.

Linux Wine Drive C

You need to find all installed software or games here. To do this, search and find the EXE file of the software you want to run.

The file may be found in the Program Files or Program Files (x86) folders. Once you find the software, you can run it just like running the installer.

To do this, open a terminal window and enter:

wine installed_software.exe

With Wine, your Windows software or game should run on a Linux desktop, which runs almost the same way as it does on Windows.

Overwatch in Wine on Gentoo

This is not a perfect solution, so if you run into difficulties, check the Wine Application Database list for your game or software for more suggestions. Before running software or games, specific instructions may need to be considered.

Run Windows games and software on Linux

With Wine, you don’t have to give up using Windows software and play Windows-only games. Since it cannot emulate a Windows PC, you can also dedicate the full power of system resources to Linux distributions.

You can use Wine to play some of the best Windows games on Linux. You can also play many other top free Linux games.