Home » Gaming » How to play DOS games on Ubuntu with DOSBOX

How to play DOS games on Ubuntu with DOSBOX



The old DOS games hold their own charms and we can never forget our first brush with Wolf3D and Prince of Persia. Even when have all forgotten how the DOS prompt looked, it’s easier to play DOS games. But what happen when you ditch Windows and switch Ubuntu. Do you bid farewell to all your DOS games once you start using Ubuntu?

You don’t need to. You get a DOS simulator that you can run under Ubuntu, and from there you can easily run your good old DOS games. It is called DOSBOX. You can install DOSBOX either through the Synaptic Package Manager, or simply through the Terminal Window. If you use the Terminal Window you can install DOSBOX using the following command:

sudo apt-get install dosbox

Once you have installed DOSBOX you can create a directory, something like /home/yourname/dosgames and store your DOS games in their respective folders there.

Then go back to the terminal and launch DOSBOX with

sudo dosbox

Running DOS games with DOSBOX on Ubuntu - the prompt

Running DOS games with DOSBOX on Ubuntu - the prompt

While you are in the DOS prompt, you’ll need to mount the folder to a spare drive. Assuming you have a drive D that you can spare, you execute the following command:

mount d /home/yourname/dosgames

Then, while remaining in the DOSBOX window, go to the D drive by executing

d:

Then go to the right folder by this command:

cd mygame

Then, simply run the executable file.

DOS game Wolf3D running on Ubuntu

DOS game Wolf3D running on Ubuntu