Category: Ubuntu

Added: 18th of September 2015

Viewed: 3953 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


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

Posted: 7th of August 2020

Views: 149


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: 148


Ubuntu 4.10, Warty Warthog. The first Ubuntu Linux Distribution

Posted: 6th of October 2019

Views: 939


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

Posted: 19th of May 2019

Views: 1210


Where are the fonts located in Ubuntu and other Ubuntu based distributions

Posted: 3rd of June 2018

Views: 1326


Install MariaDB Database in Ubuntu and other Ubuntu based distributions (Part 1)

Posted: 26th of May 2018

Views: 1258


Convert .mkv video to .png images using ffmpeg

Posted: 24th of May 2018

Views: 2580


Shutdown Ubuntu using the terminal

Posted: 20th of May 2018

Views: 1130


Running Sketchup 8 in Wine. Sketchup was unable to initialize OpenGL, Linux

Posted: 29th of May 2016

Views: 3550


How do I install a .deb package using the terminal

Posted: 17th of April 2016

Views: 1949