DOSBox-X is a DOS emulator that provides the most flexibility possible for DOS emulator as it can not only run the DOS games that DOSBox can run, but the Win3.1, Win9X and WinME operating systems. DOSBox-X is available for Mageia8 in a flatpak repository, something new to Mageia, so we'll cover the installation of DOSBox-X via this method, then move on to configuring a working DOSBox-X installation.
1. Install flatpak using urpmi.
$ sudo urpmi flatpak
On the test system, this installed about 26MB of additional applications.
Install the flatpak repositories.
$ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak search dosbox-x