How To Install dd2 on Fedora 34

dd2 is Dodgin’ Diamond 2 - Shoot’em up arcade game

Introduction

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

What is dd2

This is a little shoot’em up arcade game for one or two players. It aims to be an ‘old school’ arcade game with low resolution graphics, top-down scroll action, energy based gameplay and different weapons with several levels of power.

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

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

sudo dnf -y install dd2

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

sudo yum -y install dd2

How To Uninstall dd2 on Fedora 34

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

sudo dnf remove dd2

dd2 Package Contents on Fedora 34

/usr/bin/dd2
/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/ce2571345531367ab0c8fe922a10f4f5afb6c6
/usr/share/applications/dd2.desktop
/usr/share/dd2
/usr/share/dd2/bgm1.xm
/usr/share/dd2/bgm2.xm
/usr/share/dd2/dd2.cfg
/usr/share/dd2/efx1.wav
/usr/share/dd2/efx2.wav
/usr/share/dd2/efx3.wav
/usr/share/dd2/efx4.wav
/usr/share/dd2/efx5.wav
/usr/share/dd2/efx6.wav
/usr/share/dd2/efx7.wav
/usr/share/dd2/efx8.wav
/usr/share/dd2/game.act
/usr/share/dd2/gfx.bmp
/usr/share/doc/dd2
/usr/share/doc/dd2/AUTHORS
/usr/share/doc/dd2/COPYING
/usr/share/doc/dd2/ChangeLog
/usr/share/doc/dd2/NEWS
/usr/share/doc/dd2/README
/usr/share/doc/dd2/TODO
/usr/share/icons/hicolor/24x24/apps/dd2.png
/var/games/dd2-hiscore

References

Summary

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