How To Install scratch on Fedora 34

scratch is Programming language learning environment for stories, games, music and art

Introduction

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

What is scratch

Scratch is a programming language that makes it easy to create your own interactive stories, animations, games, music, and art – and share your creations on the web. As young people create and share Scratch projects, they learn important mathematical and computational ideas, while also learning to think creatively, reason systematically, and work collaboratively. This package brings in all of the various subpackages which comprise the full Scratch distribution.

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

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

sudo dnf -y install scratch

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

sudo yum -y install scratch

How To Uninstall scratch on Fedora 34

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

sudo dnf remove scratch

scratch Package Contents on Fedora 34

/usr/bin/scratch
/usr/lib/udev/rules.d/50-wedo.rules
/usr/share/appdata/scratch.appdata.xml
/usr/share/applications/scratch.desktop
/usr/share/doc/scratch
/usr/share/doc/scratch/ACKNOWLEDGEMENTS
/usr/share/doc/scratch/KNOWN-BUGS
/usr/share/doc/scratch/NOTICE
/usr/share/icons/hicolor/128x128/apps/scratch.png
/usr/share/icons/hicolor/128x128/mimetypes/gnome-mime-application-x-scratch-project.png
/usr/share/icons/hicolor/48x48/apps/scratch.png
/usr/share/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-scratch-project.png
/usr/share/licenses/scratch
/usr/share/licenses/scratch/LICENSE
/usr/share/licenses/scratch/TRADEMARK_POLICY
/usr/share/licenses/scratch/gpl-2.0.txt
/usr/share/man/man1/scratch.1.gz
/usr/share/mime/packages/scratch.xml

References

Summary

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