Category: Ubuntu

Added: 18th of September 2015

Viewed: 4649 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.
dosbox


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


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
dosbox


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

Ubuntu

How to find out what date you installed Linux on your machine

Posted: 13th of April 2021

Views: 283

Ubuntu

Install bashtop in Ubuntu and Ubuntu based distributions. Monitor your cpu, memory, disks, network and other processes

Posted: 21st of February 2021

Views: 363

Ubuntu

Ubuntu 20.10 Groovy Gorilla installation error, installer crashed

Posted: 3rd of February 2021

Views: 686

Ubuntu

Find out what version of Ubuntu you are running, using the terminal

Posted: 29th of January 2021

Views: 316

Ubuntu

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

Ubuntu

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

Posted: 11th of November 2020

Views: 2538

Ubuntu

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

Posted: 9th of November 2020

Views: 396

Ubuntu

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

Posted: 30th of October 2020

Views: 476

Ubuntu

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

Posted: 27th of October 2020

Views: 5683

Ubuntu

Download Microsoft Edge preview version for Ubuntu and Ubuntu based distributions

Posted: 22nd of October 2020

Views: 485