After the installation of Fedora and associated updates, it’s time to start installing DOSBox, our first application that will run the retro games we want to play. In order to do that, we need to configure some additional software repositories (or “repo’s”) to allow access to additional software. So let’s get into it!
Let’s Go Shopping
The first step is to install additional repos so I can access the software I want to use. In the video I mention that additional repos allow access to software that “Fedora have decided they do not want to supply”, which needs a little more explanation.
Consider each repo like a supermarket. A supermarket can only hold a finite number of product lines. Some choose to be high-end suppliers, others the budget end of the market. But no one supermarket will hold everything you need and want. Fedora have chosen to provide a certain range of software, but because I want something they don’t provide I have to go elsewhere. RPMFusion provides it, and had a great reputation in the Fedora environment, so I will use their supermarket as well as Fedora.
Installing the RPMFusion repositories is simple – search for “rpmfusion repo fedora 26” and follow the Configuration – RPM Fusion result. There are two types of RPMFusion repos available – free and non-free. Both are the “no-cost” type of free, but they differ by their licensing – “free” is open source and “non-free” isn’t. Download the RPM files for both, as we are installing both.
To install the RPM files, open a terminal window, drop into the root account and make your way to the place you downloaded the files – the default is your Downloads folder:
To install the RPM files, use the rpm command line:
rpm -ivh rpmfusion-free-release-26.noarch.rpm rpm -ivh rpmfusion-nonfree-release-26.noarch.rpm
Now they are installed, we can install DOSBox.
Installing DOSBox is very similar to installing the updates we did in the previous entry. Go into DNFDragora, change the drop-down menu from “To update” to “All” and search for “dosbox”. When the result appears, tick the box and click Apply. The list of dependencies will appear (just click OK) and you will be prompted for the root password. Wait patiently and DOSBox will be installed for you. Simples!
Drive Map and Desktop
DOSBox gives you a DOS-like environment, but you can’t do much with it right away. Mapping a drive allows you to use DOSBox to run DOS games, so that’s what we will do. First up, create a directory in your home folder called dosgames. Then open DOSBox (Menu > Adminstration > DOSBox) and enter the following command:
mount c ~/dosgames
Note: The ~ symbol is a shortcut to your home directory.
This will create a new C drive within DOSBox and connect it to the dosgames folder we just created. Now any time you put something in the dosgames folder, it will be available for DOSBox to access – you just need to restart DOSBox to make it appear. If you want to make that happen every time you run DOSBox, go to ~/.dosbox/dosbox-0.74.conf (you may have to go to View > Show Hidden Files to make the .dosbox directory appear). If you add the aforementioned mount command as shown above to the very bottom of the dosbox-0.74.conf file, it will run automatically every time you open DOSBox.
To create a desktop icon, simply right-click the Menu > Administration > DOSBox icon and select “Add to desktop”. Voila!
So we have installed and configured DOSBox, and along the way installed the RPMFusion repositories for additional software installations. The next step is to install a DOS game and start playing like it’s 1992!