How To Install mame on Fedora 34

mame is Multiple Arcade Machine Emulator

Introduction

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

What is mame

MAME stands for Multiple Arcade Machine Emulator. When used in conjunction with an arcade game’s data files (ROMs), MAME will more or less faithfully reproduce that game on a PC. The ROM images that MAME utilizes are “dumped” from arcade games’ original circuit-board ROM chips. MAME becomes the “hardware” for the games, taking the place of their original CPUs and support chips. Therefore, these games are NOT simulations, but the actual, original games that appeared in arcades. MAME’s purpose is to preserve these decades of video-game history. As gaming technology continues to rush forward, MAME prevents these important “vintage” games from being lost and forgotten. This is achieved by documenting the hardware and how it functions, thanks to the talent of programmers from the MAME team and from other contributors. Being able to play the games is just a nice side-effect, which doesn’t happen all the time. MAME strives for emulating the games faithfully.

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

Install mame 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 mame using dnf by running the following command:

sudo dnf -y install mame

Install mame 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 mame using yum by running the following command:

sudo yum -y install mame

How To Uninstall mame on Fedora 34

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

sudo dnf remove mame

mame Package Contents on Fedora 34

/etc/mame
/etc/mame/mame.ini
/etc/skel/.mame
/etc/skel/.mame/cfg
/etc/skel/.mame/comments
/etc/skel/.mame/diff
/etc/skel/.mame/ini
/etc/skel/.mame/inp
/etc/skel/.mame/memcard
/etc/skel/.mame/nvram
/etc/skel/.mame/snap
/etc/skel/.mame/sta
/usr/bin/mame
/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/ed10945a40267211de145e08ec9871d25ab16d
/usr/share/man/man6/mame.6.gz
/usr/share/man/man6/mess.6.gz
/etc/mame
/etc/mame/mame.ini
/etc/skel/.mame
/etc/skel/.mame/cfg
/etc/skel/.mame/comments
/etc/skel/.mame/diff
/etc/skel/.mame/ini
/etc/skel/.mame/inp
/etc/skel/.mame/memcard
/etc/skel/.mame/nvram
/etc/skel/.mame/snap
/etc/skel/.mame/sta
/usr/bin/mame
/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/b1668c4f0ee7face75a2f5500be696db8d5de6
/usr/share/man/man6/mame.6.gz
/usr/share/man/man6/mess.6.gz

References

Summary

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