How To Install mednafen on Fedora 34

mednafen is A multi-system emulator utilizing OpenGL and SDL

Introduction

In this tutorial we learn how to install mednafen on Fedora 34.

What is mednafen

A portable, utilizing OpenGL and SDL, argument(command-line)-driven multi-system emulator. Mednafen has the ability to remap hotkey functions and virtual system inputs to a keyboard, a joystick, or both simultaneously. Save states are supported, as is real-time game rewinding. Screen snapshots may be taken, in the PNG file format, at the press of a button. Mednafen can record audiovisual movies in the QuickTime file format, with several different lossless codecs supported. The following systems are supported(refer to the emulation module documentation for more details) * Apple II/II+ * Atari Lynx * Neo Geo Pocket (Color) * WonderSwan * GameBoy (Color) * GameBoy Advance * Nintendo Entertainment System * Super Nintendo Entertainment System/Super Famicom * Virtual Boy * PC Engine/TurboGrafx 16 (CD) * SuperGrafx * PC-FX * Sega Game Gear * Sega Genesis/Megadrive * Sega Master System * Sega Saturn (experimental, x86_64 only) * Sony PlayStation Due to the threaded model of emulation used in Mednafen, and limitations of SDL, a joystick is preferred over a keyboard to play games, as the joystick will have slightly less latency, although the latency differences may not be perceptible to most people.

We can use yum or dnf to install mednafen on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mednafen.

Install mednafen on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mednafen using dnf by running the following command:

sudo dnf -y install mednafen

Install mednafen on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mednafen using yum by running the following command:

sudo yum -y install mednafen

How To Uninstall mednafen on Fedora 34

To uninstall only the mednafen package we can use the following command:

sudo dnf remove mednafen

mednafen Package Contents on Fedora 34

/usr/bin/mednafen
/usr/lib/.build-id
/usr/lib/.build-id/57
/usr/lib/.build-id/57/24af9e278aec351a833e70adb5f2bf3762cb35
/usr/share/doc/mednafen
/usr/share/doc/mednafen/ChangeLog
/usr/share/doc/mednafen/TODO
/usr/share/doc/mednafen/apple2.html
/usr/share/doc/mednafen/bwolf0.png
/usr/share/doc/mednafen/bwolf1.png
/usr/share/doc/mednafen/cdplay.html
/usr/share/doc/mednafen/cheat.html
/usr/share/doc/mednafen/cheats.txt
/usr/share/doc/mednafen/debugger.html
/usr/share/doc/mednafen/fname_format.txt
/usr/share/doc/mednafen/gb.html
/usr/share/doc/mednafen/gba.html
/usr/share/doc/mednafen/gg.html
/usr/share/doc/mednafen/headerbg.png
/usr/share/doc/mednafen/lynx.html
/usr/share/doc/mednafen/md.html
/usr/share/doc/mednafen/mednafen.css
/usr/share/doc/mednafen/mednafen.html
/usr/share/doc/mednafen/mednafen.png
/usr/share/doc/mednafen/nes.html
/usr/share/doc/mednafen/netplay.html
/usr/share/doc/mednafen/ngp.html
/usr/share/doc/mednafen/pce.html
/usr/share/doc/mednafen/pce_fast.html
/usr/share/doc/mednafen/pcfx.html
/usr/share/doc/mednafen/psx.html
/usr/share/doc/mednafen/sapphire0.png
/usr/share/doc/mednafen/sapphire1.png
/usr/share/doc/mednafen/sms.html
/usr/share/doc/mednafen/snes.html
/usr/share/doc/mednafen/snes_faust.html
/usr/share/doc/mednafen/ss.html
/usr/share/doc/mednafen/ssfplay.html
/usr/share/doc/mednafen/vb.html
/usr/share/doc/mednafen/wswan.html
/usr/share/licenses/mednafen
/usr/share/licenses/mednafen/COPYING
/usr/share/locale/de/LC_MESSAGES/mednafen.mo
/usr/share/locale/es/LC_MESSAGES/mednafen.mo
/usr/share/locale/ru/LC_MESSAGES/mednafen.mo
/usr/bin/mednafen
/usr/lib/.build-id
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/429e3e9f8d09a32ecea92e49b18e1f2385a63c
/usr/share/doc/mednafen
/usr/share/doc/mednafen/ChangeLog
/usr/share/doc/mednafen/TODO
/usr/share/doc/mednafen/apple2.html
/usr/share/doc/mednafen/bwolf0.png
/usr/share/doc/mednafen/bwolf1.png
/usr/share/doc/mednafen/cdplay.html
/usr/share/doc/mednafen/cheat.html
/usr/share/doc/mednafen/cheats.txt
/usr/share/doc/mednafen/debugger.html
/usr/share/doc/mednafen/fname_format.txt
/usr/share/doc/mednafen/gb.html
/usr/share/doc/mednafen/gba.html
/usr/share/doc/mednafen/gg.html
/usr/share/doc/mednafen/headerbg.png
/usr/share/doc/mednafen/lynx.html
/usr/share/doc/mednafen/md.html
/usr/share/doc/mednafen/mednafen.css
/usr/share/doc/mednafen/mednafen.html
/usr/share/doc/mednafen/mednafen.png
/usr/share/doc/mednafen/nes.html
/usr/share/doc/mednafen/netplay.html
/usr/share/doc/mednafen/ngp.html
/usr/share/doc/mednafen/pce.html
/usr/share/doc/mednafen/pce_fast.html
/usr/share/doc/mednafen/pcfx.html
/usr/share/doc/mednafen/psx.html
/usr/share/doc/mednafen/sapphire0.png
/usr/share/doc/mednafen/sapphire1.png
/usr/share/doc/mednafen/sms.html
/usr/share/doc/mednafen/snes.html
/usr/share/doc/mednafen/snes_faust.html
/usr/share/doc/mednafen/ss.html
/usr/share/doc/mednafen/ssfplay.html
/usr/share/doc/mednafen/vb.html
/usr/share/doc/mednafen/wswan.html
/usr/share/licenses/mednafen
/usr/share/licenses/mednafen/COPYING
/usr/share/locale/de/LC_MESSAGES/mednafen.mo
/usr/share/locale/es/LC_MESSAGES/mednafen.mo
/usr/share/locale/ru/LC_MESSAGES/mednafen.mo

References

Summary

In this tutorial we learn how to install mednafen on Fedora 34 using yum and dnf.