How To Install powdertoy on Fedora 34

powdertoy is Physics sandbox game

Introduction

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

What is powdertoy

The Powder Toy is a free physics sandbox game, which simulates air pressure and velocity, heat, gravity and a countless number of interactions between different substances! The game provides you with various building materials, liquids, gases and electronic components which can be used to construct complex machines, guns, bombs, realistic terrains and almost anything else. You can then mine them and watch cool explosions, add intricate wirings, play with little stickmen or operate your machine. You can also browse and play thousands of different saves made by the community or upload your own!

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

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

sudo dnf -y install powdertoy

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

sudo yum -y install powdertoy

How To Uninstall powdertoy on Fedora 34

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

sudo dnf remove powdertoy

powdertoy Package Contents on Fedora 34

/usr/bin/powdertoy
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/6663be9677367afbbb66c2b295e41681559242
/usr/share/applications/powdertoy.desktop
/usr/share/icons/hicolor/128x128/apps/powdertoy.png
/usr/share/icons/hicolor/256x256/apps/powdertoy.png
/usr/share/icons/hicolor/scalable/apps/powdertoy.svg
/usr/share/metainfo/powdertoy.appdata.xml
/usr/share/mime/packages/powdertoy-save.xml
/usr/bin/powdertoy
/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/fe405c76089825d9852d0ac5ace98100f7d9d3
/usr/share/applications/powdertoy.desktop
/usr/share/icons/hicolor/128x128/apps/powdertoy.png
/usr/share/icons/hicolor/256x256/apps/powdertoy.png
/usr/share/icons/hicolor/scalable/apps/powdertoy.svg
/usr/share/metainfo/powdertoy.appdata.xml
/usr/share/mime/packages/powdertoy-save.xml

References

Summary

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