Installing WINE on Debian 10 Buster

Chưa phân loại


This article focuses on WINE tool which allows to run Microsoft Windows applications under Linux. Contrary to most of tutorials, this one first shows instructions to install and use WINE keeping the theoretical explanation for the end for users who want to go straight to the practical point first.

Resolving dependencies for Debian 10 Buster

If you are using Debian 10 Buster first you need to install  the package Libsdl2-2.0-0


Install the package by running the following command:

sudo dpkg -i libsdl2-2.00_2.0.9+dfsg1-1_amd64.deb

Now install the dependency libstb0 by running the following command:

apt install libstb0

Download the package libfaudio0 with wget, run:


Install libfaudio0 by running:

sudo dpkg -i libfaudio0_19.08-0~buster_amd64.deb

Note: you can find updated versions or for other architectures at

Getting and installing WINE

Before starting, enable support for i386 architecture by running the following command:

sudo dpkg –add-architecture i386

To continue download wine’s key by running the command

wget -nc

Install the key by running the following command:

sudo apt-key add winehq.key

Add wine’s repository by running the command:

sudo add-apt-repository  ‘deb buster main’

Update repositories in order to incorporate the new added repository by running:

sudo apt update

Now to install wine run the following command:

sudo apt install –install-recommends winehq-stable

When asked press Y to confirm.

At some point the installation may show an informative document, press Q to continue with the installation.

Once the installation ends you need to configure wine, luckily the process is automatic by running the command winecfg which will report about missing dependencies, resolve them and will create a hidden directory called .wine within your home, this directory will emulate a C:/ disk. Since the .wine directory will be created in your home directory, run it as regular user, without sudo. To continue run:


During the configuration some dialog boxes will prompt requesting your approval to install dependencies, when requested press Install.

Press “Install” on all dialog boxes prompting.

In my case the Wine Gecko Installer box prompted twice, press Install for all dialog boxes.


Now you have WINE installed and configured ready to execute Microsoft Windows programs.

Running Windows applications under Linux with WINE

Playing Commandos: Behind Enemy Lines on Debian 10 Buster:

The first Microsoft Windows program will be executed for this tutorial is a demo version of the old game Commandos: behind enemy lines. To continue, create a directory to save the game’s installer, on you directory run:



From the following website download the demo of the game “Commandos: behind enemy lines” and save it into the directory COMMANDOS you just created.

From the terminal enter your directory by running:


To execute a Windows program run “wine <program-name.exe>”, in this case to execute the game run:

wine Commandos Behind Enemy Lines.exe

A Winzip confirmation dialog box will prompt, press OK to continue.

A new dialog box will prompt, press the Unzip button.

Another box will prompt reporting the process was successful, press OK again.

And the game will get executed, you can start playing.

You can see COMMANDOS installed files within the directory by running the following command from your home directory:

ls .wine/drive_c/commandos/

Playing Grand Theft Auto 2 on Linux Debian 10 Buster:

Old Linux users who never used WINE may enjoy running old games back. To continue this tutorial I will run the old game Grand Theft Auto 2. Within your home directory create a subdirectory called GTA2 by running the command:

mkdir GTA2

Download Grand Theft Auto 2 from the same website you downloaded “COMMANDOS: Behind Enemy Lines”:  and save it into the directory GTA2 you just created in your home directory.

In contrast to the Commando’s exe executable file, the Grand Theft Auto 2 is zipped, in order to unzip it, within the GTA2 directory you created run:


To start installing GTA 2 run:

wine GTA2.exe

The Windows installer will prompt, now basically you need to press Next in all screens.
Press Next to continue.

Mark the option to accept the terms of the license and press Next.

Again press Next to continue.

Press on “Install” to start the installation.

Checkmark the option to launch the GTA2 Manager and click on Finish.

If you want press on GTA2 to start playing.

About WINE, how it works
WINE means Wine Is Not an Emulator, therefore  now you know it is not an emulator, WINE, as explained on its official website, is a translator of MS-DOS and Microsoft WIndows code to Linux code (POSIX code, the Unix based OS standard).

The advantage of using WINE is you don’t need to virtualize or emulator a native environment for the Windows software to run, instead WINE provides the program alternatives to Windows libraries.


WINE allows from MS-DOS to all Windows versions programs, making it compatible for Windows software more than Windows itself (very probably if you try to run Grand Theft Auto 2 or Commandos 1 on Windows 10 you’ll get compatibility errors). It is a great alternative to run Windows software avoiding to virtualize a Windows computer. It makes possible to use very old software.

I hope this article helped you to run Windows programs on Debian Buster 10 easily. Keep following LinuxHint for more tips and updates on Linux.

Related articles:

How to install Wine 2.10 on Ubuntu OS and Linux Mint
YouTube Video: How to Install WINE on Ubuntu

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Search for your Files on the Linux Command Line

For a Linux desktop, a user can easily install an app to search their files and folders in the file system, but another...

[CEPH] [LAB] Hướng dẫn cài đặt CEPH chỉ định minor version trên CentOS 7

Như mọi người đã biết, tên các phiên bản của Ceph bao gồm 3 số, ngăn cách nhau bởi dấu chấm...

How to Install and Use Restic on Ubuntu 18.04

Restic is an easy to use program for taking backups. Restic can be used to take backups locally and remotely. Restic is...
Bài Viết

Bài Viết Mới Cập Nhật

Sử dụng Proxy để Quản Lý Tài Khoản Quảng Cáo Ads Một Cách An Toàn

Hướng Dẫn Sử Dụng Socks5 Trên Trình Duyệt Chrome

Các tiện ích và công cụ để quản lý proxy.

Tác động của việc sử dụng proxy đến tốc độ kết nối internet của bạn.

Các cách để kiểm tra tốc độ và độ ổn định của proxy.