Category: Ubuntu

Added: 18th of September 2015

Viewed: 4192 times

Install dosbox in Ubuntu and other Ubuntu based distributions

This tutorial works in Ubunbu, Kubuntu, Xubuntu, Lubuntu, Ubuntu Mate and other Ubuntu based distributions. The tutorial also works in Linux Mint and other Debian based distributions.

dosbox is an emulator which allows you to run old dos Windows programs and games. The simple guide below will show you how to install dosbox in Ubuntu based distributions in about 5 mins.

To install dosbox open your terminal and enter the following command

sudo apt-get install dosbox

After installation start dosbox from the terminal. dosbox will open in a window. Once the window has opened please close it. This will create a hidden in your home directory named .dosbox, and a configuration file where you will specify where dosbox should locate your programs and games.

Next goto to your home directory and create a folder named dosgames

Whilst in your home directory display hidden files. You can either press ctrl + h or select show hidden files from the menu depending on your window manager.

Locate and double click on .dosbox folder which was created earlier when you started dosbox, to display the dosbox configuration file

Open the configuration file in your text editor and scroll down to the bottom.

Add the following lines by copying and pasting below.
Remember to replace username with your own username, and then save the configuration file.
mount c /home/username/dosgames

What we are doing here is telling does box to mount the C: drive and point at your dosgames folder that you created earlier.

Next open your terminal and enter the following command to start dosbox again

Installation is now complete. dosbox will now open in a new window. You will place any programs or games that you download in future in to the dosgames folder

You can't beat the classic games. Playing Quake through Dosbox

Other Tips & Tutorials


Install Redshift to automatically adjust the colour of your screen depending on time of day on Ubuntu and Ubuntu based distributions

Posted: 26th of November 2020

Views: 164


PulseAudio, Pavucontrol not saving settings after reboot on Ubuntu and Ubuntu based distributions

Posted: 11th of November 2020

Views: 452


No sound after installation of Ubuntu or Ubuntu based distribution, install pavucontrol

Posted: 9th of November 2020

Views: 143


Shutdown Ubuntu and Ubuntu based distributions at a specific time or within (x) minutes

Posted: 30th of October 2020

Views: 157


Open and edit files using Visual Studio Code from FIlezilla FTP Client on Linux

Posted: 27th of October 2020

Views: 300


Download Microsoft Edge preview version for Ubuntu and Ubuntu based distributions

Posted: 22nd of October 2020

Views: 210


Create a really simple banner using GIMP (GNU Image Manipulation Program) in Linux

Posted: 7th of August 2020

Views: 320


Install the tree package to list folders and files in a tree like format inside the terminal on Linux

Posted: 22nd of July 2020

Views: 303


Ubuntu 4.10, Warty Warthog. The first Ubuntu Linux Distribution

Posted: 6th of October 2019

Views: 1244


Sim City 4 Deluxe Edition Install Wine Linux. Trouble installing from CD/Disk 2

Posted: 19th of May 2019

Views: 1429