Operating systems are designed to work with specific binaries and libraries. Running DOS programs on Linux requires a different approach, as DOS software was built for a different environment. To bridge this gap, emulation and virtualization tools are often used.
One of the most effective methods for running DOS applications on Linux is through DOSBox. This open-source program emulates an MS-DOS environment, allowing legacy software to run seamlessly on modern systems. It’s available in most Linux distributions, making it easily accessible for users.
By installing DOSBox and configuring it correctly, you can run older DOS programs without modifying your system. This approach maintains the functionality of the original software while bypassing the technical limitations between the two operating systems.
Steps to run DOS programs on Linux:
- Download the desired DOS program.
Related: Abandonware DOS
- Open the terminal on your Linux system.
- Extract the downloaded DOS program files.
$ cd ~/Downloads/ ~/Downloads$ unzip Golden\ Axe.zip Archive: Golden Axe.zip inflating: _DOSGAME.TXT inflating: A inflating: AMAZON.SPR ##### snipped
- Install DOSBox using your system's package manager.
$ sudo apt update && sudo apt install --assume-yes dosbox # Ubuntu and Debian
- Launch the DOS program's executable file through DOSBox to run it on your Linux system.
$ dosbox GOLD.EXE DOSBox version 0.74-2 Copyright 2002-2018 DOSBox Team, published under GNU GPL. --- CONFIG: Generating default configuration. Writing it to /home/user/.dosbox/dosbox-0.74-2.conf ##### snipped

Mohd Shakir Zakaria is a cloud architect with deep roots in software development and open-source advocacy. Certified in AWS, Red Hat, VMware, ITIL, and Linux, he specializes in designing and managing robust cloud and on-premises infrastructures.
Comment anonymously. Login not required.