How To Install gnubik on Fedora 34

gnubik is 3D interactive graphics puzzle

Introduction

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

What is gnubik

GNUbik is a GNU package. It is a 3D interactive graphics puzzle. It renders an image of a magic cube (similar to a rubik cube) and you attempt to solve it.

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

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

sudo dnf -y install gnubik

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

sudo yum -y install gnubik

How To Uninstall gnubik on Fedora 34

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

sudo dnf remove gnubik

gnubik Package Contents on Fedora 34

/usr/bin/gnubik
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/c90dff665de5a172977ef3bec4d6184d18c4f7
/usr/share/applications/gnubik.desktop
/usr/share/doc/gnubik
/usr/share/doc/gnubik/AUTHORS
/usr/share/doc/gnubik/ChangeLog
/usr/share/doc/gnubik/NEWS
/usr/share/doc/gnubik/README
/usr/share/doc/gnubik/TODO
/usr/share/gnubik
/usr/share/gnubik/scripts
/usr/share/gnubik/scripts/debug.scm
/usr/share/gnubik/scripts/flubrd.scm
/usr/share/gnubik/scripts/mellor-solve.scm
/usr/share/gnubik/scripts/rand.scm
/usr/share/icons/hicolor/16x16/apps/gnubik.png
/usr/share/icons/hicolor/22x22/apps/gnubik.png
/usr/share/icons/hicolor/32x32/apps/gnubik.png
/usr/share/icons/hicolor/48x48/apps/gnubik.png
/usr/share/info/gnubik.info.gz
/usr/share/licenses/gnubik
/usr/share/licenses/gnubik/COPYING
/usr/share/locale/ar/LC_MESSAGES/gnubik.mo
/usr/share/locale/bg/LC_MESSAGES/gnubik.mo
/usr/share/locale/ca/LC_MESSAGES/gnubik.mo
/usr/share/locale/da/LC_MESSAGES/gnubik.mo
/usr/share/locale/de/LC_MESSAGES/gnubik.mo
/usr/share/locale/el/LC_MESSAGES/gnubik.mo
/usr/share/locale/en_US/LC_MESSAGES/gnubik.mo
/usr/share/locale/eo/LC_MESSAGES/gnubik.mo
/usr/share/locale/es/LC_MESSAGES/gnubik.mo
/usr/share/locale/eu/LC_MESSAGES/gnubik.mo
/usr/share/locale/fi/LC_MESSAGES/gnubik.mo
/usr/share/locale/fr/LC_MESSAGES/gnubik.mo
/usr/share/locale/gl/LC_MESSAGES/gnubik.mo
/usr/share/locale/he/LC_MESSAGES/gnubik.mo
/usr/share/locale/hr/LC_MESSAGES/gnubik.mo
/usr/share/locale/it/LC_MESSAGES/gnubik.mo
/usr/share/locale/ms/LC_MESSAGES/gnubik.mo
/usr/share/locale/nb/LC_MESSAGES/gnubik.mo
/usr/share/locale/nl/LC_MESSAGES/gnubik.mo
/usr/share/locale/pl/LC_MESSAGES/gnubik.mo
/usr/share/locale/pt/LC_MESSAGES/gnubik.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnubik.mo
/usr/share/locale/ro/LC_MESSAGES/gnubik.mo
/usr/share/locale/ru/LC_MESSAGES/gnubik.mo
/usr/share/locale/sl/LC_MESSAGES/gnubik.mo
/usr/share/locale/sr/LC_MESSAGES/gnubik.mo
/usr/share/locale/sv/LC_MESSAGES/gnubik.mo
/usr/share/locale/tr/LC_MESSAGES/gnubik.mo
/usr/share/locale/uk/LC_MESSAGES/gnubik.mo
/usr/share/locale/vi/LC_MESSAGES/gnubik.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnubik.mo
/usr/share/man/man6/gnubik.6.gz

References

Summary

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