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:

  1. Download the desired DOS program.

    Related: Abandonware DOS

  2. Open the terminal on your Linux system.
  3. 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
  4. Install DOSBox using your system's package manager.
    $ sudo apt update && sudo apt install --assume-yes dosbox # Ubuntu and Debian
  5. 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

Discuss the article:

Comment anonymously. Login not required.