dosbox command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dosbox: command not found
or when using sudo you get the following error message
sudo: dosbox: command not found
Solutions to dosbox: command not found
How To Fix dosbox: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dosbox is provided by dosbox package.
dosbox is:
DOSBox is a x86 emulator with Tandy/Hercules/CGA/EGA/VGA/SVGA graphics, sound and DOS. It’s been designed to run old DOS games on platforms that don’t support it.
The following legacy sound devices are emulated: PC Speaker, Creative CMS/Gameblaster, Tandy 3 voice, Adlib, Sound Blaster Pro/16, Disney Soundsource and a Gravis Ultrasound. MPU-401 is forwarded to the host.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dosbox
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dosbox.
sudo apt -y install dosbox
Or if you have aptitude installed you can use the following command.
sudo aptitude install dosbox
Summary
In this tutorial we learn how to fix dosbox command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.