How To Install sameboy on Fedora 34

sameboy is Game Boy and Game Boy Color emulator written in C

Introduction

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

What is sameboy

SameBoy is an open source Game Boy (DMG) and Game Boy Color (CGB) emulator, written in portable C. It has a native Cocoa front-end for MacOS, an SDL front-end for other operating systems, and a libretro core. It also includes a text-based debugger with expression evaluation.

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

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

sudo dnf -y install sameboy

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

sudo yum -y install sameboy

How To Uninstall sameboy on Fedora 34

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

sudo dnf remove sameboy

sameboy Package Contents on Fedora 34

/usr/bin/sameboy
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/4e4cf8cfa6bf22a47ef4e0a1c60a20bc48b807
/usr/share/applications/sameboy-terminal.desktop
/usr/share/applications/sameboy.desktop
/usr/share/doc/sameboy
/usr/share/doc/sameboy/README.md
/usr/share/icons/hicolor/128x128/apps/sameboy.png
/usr/share/icons/hicolor/128x128/mimetypes/x-gameboy-color-rom.png
/usr/share/icons/hicolor/128x128/mimetypes/x-gameboy-rom.png
/usr/share/icons/hicolor/16x16/apps/sameboy.png
/usr/share/icons/hicolor/16x16/mimetypes/x-gameboy-color-rom.png
/usr/share/icons/hicolor/16x16/mimetypes/x-gameboy-rom.png
/usr/share/icons/hicolor/256x256/apps/sameboy.png
/usr/share/icons/hicolor/256x256/mimetypes/x-gameboy-color-rom.png
/usr/share/icons/hicolor/256x256/mimetypes/x-gameboy-rom.png
/usr/share/icons/hicolor/32x32/apps/sameboy.png
/usr/share/icons/hicolor/32x32/mimetypes/x-gameboy-color-rom.png
/usr/share/icons/hicolor/32x32/mimetypes/x-gameboy-rom.png
/usr/share/icons/hicolor/512x512/apps/sameboy.png
/usr/share/icons/hicolor/512x512/mimetypes/x-gameboy-color-rom.png
/usr/share/icons/hicolor/512x512/mimetypes/x-gameboy-rom.png
/usr/share/icons/hicolor/64x64/apps/sameboy.png
/usr/share/icons/hicolor/64x64/mimetypes/x-gameboy-color-rom.png
/usr/share/icons/hicolor/64x64/mimetypes/x-gameboy-rom.png
/usr/share/licenses/sameboy
/usr/share/licenses/sameboy/LICENSE
/usr/share/mime/packages/sameboy.xml
/usr/share/sameboy
/usr/share/sameboy/LICENSE
/usr/share/sameboy/Shaders
/usr/share/sameboy/Shaders/AAOmniScaleLegacy.fsh
/usr/share/sameboy/Shaders/AAScale2x.fsh
/usr/share/sameboy/Shaders/AAScale4x.fsh
/usr/share/sameboy/Shaders/Bilinear.fsh
/usr/share/sameboy/Shaders/CRT.fsh
/usr/share/sameboy/Shaders/HQ2x.fsh
/usr/share/sameboy/Shaders/LCD.fsh
/usr/share/sameboy/Shaders/MasterShader.fsh
/usr/share/sameboy/Shaders/MonoLCD.fsh
/usr/share/sameboy/Shaders/NearestNeighbor.fsh
/usr/share/sameboy/Shaders/OmniScale.fsh
/usr/share/sameboy/Shaders/OmniScaleLegacy.fsh
/usr/share/sameboy/Shaders/Scale2x.fsh
/usr/share/sameboy/Shaders/Scale4x.fsh
/usr/share/sameboy/Shaders/SmoothBilinear.fsh
/usr/share/sameboy/agb_boot.bin
/usr/share/sameboy/background.bmp
/usr/share/sameboy/cgb_boot.bin
/usr/share/sameboy/dmg_boot.bin
/usr/share/sameboy/registers.sym
/usr/share/sameboy/sgb2_boot.bin
/usr/share/sameboy/sgb_boot.bin

References

Summary

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