Skip to content

[Linux] Use “Wine” to Execute the Windows Applications

Wine is not an emulator, just like its full name: Wine Is Not an Emulator.

In fact, the principle of Wine is just to convert Windows system call to POSIX standard system call.

Of course, Wine also provides many additional optimize method to improve the conversion.

Today, I will record how to install the Wine on Ubuntu. If you are interested in Wine, you can go to the website: https://www.winehq.org/


Installation of Wine

First, you need to enable the 32-bit architecture if your computer is 64-bit.

sudo dpkg --add-architecture i386


Then you can use wget command to add the key.

wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -


You can choose different Wine versions according your operating system.

For example, if the version I am using is 18.04 LTS, I should choose bionic:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'


Finally, we can install it.

sudo apt-get update
sudo apt-get install --install-recommends winehq-stable

How to Use?

For example, I have a game made by RPG Maker that I want to play, and the startup file is called Game2Beta.exe (Jin Yong Martial Arts Game).

wine Game2Beta.exe

Output:

Tags:

Leave a Reply