How To Install dosbox-debug on Debian 12

Learn how to install dosbox-debug on Debian 12 with this tutorial. dosbox-debug is x86 emulator with DOS - debugger

Introduction

In this tutorial we learn how to install dosbox-debug on Debian 12.

What is dosbox-debug

dosbox-debug is:

DOSBox is a x86 emulator with Tandy/Hercules/CGA/EGA/VGA/SVGA graphics, sound and DOS. It’s been designed to run old DOS games on platforms that don’t support it.

The following legacy sound devices are emulated: PC Speaker, Creative CMS/Gameblaster, Tandy 3 voice, Adlib, Sound Blaster Pro/16, Disney Soundsource and a Gravis Ultrasound. MPU-401 is forwarded to the host.

This package contains the DOSBox debugger.

There are three methods to install dosbox-debug on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install dosbox-debug Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install dosbox-debug using apt-get by running the following command:

sudo apt-get -y install dosbox-debug

Install dosbox-debug Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dosbox-debug using apt by running the following command:

sudo apt -y install dosbox-debug

Install dosbox-debug Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install dosbox-debug using aptitude by running the following command:

sudo aptitude -y install dosbox-debug

How To Uninstall dosbox-debug on Debian 12

To uninstall only the dosbox-debug package we can use the following command:

sudo apt-get remove dosbox-debug

Uninstall dosbox-debug And Its Dependencies

To uninstall dosbox-debug and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove dosbox-debug

Remove dosbox-debug Configurations and Data

To remove dosbox-debug configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge dosbox-debug

Remove dosbox-debug configuration, data, and all of its dependencies

We can use the following command to remove dosbox-debug configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dosbox-debug

Dependencies

dosbox-debug have the following dependencies:

References

Summary

In this tutorial we learn how to install dosbox-debug package on Debian 12 using different package management tools: apt, apt-get and aptitude.