How To Install colobot on Fedora 34

colobot is A video game that teaches programming in a fun way

Introduction

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

What is colobot

Colobot your units (bots) in a language called CBOT, which is similar to C++ and Java. Your mission is to find a new planet to live and survive. You can save the humanity and get programming skills!

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

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

sudo dnf -y install colobot

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

sudo yum -y install colobot

How To Uninstall colobot on Fedora 34

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

sudo dnf remove colobot

colobot Package Contents on Fedora 34

/usr/bin/colobot
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/dbac668aa31e53cde8bc54c5027aae2f471a83
/usr/lib/.build-id/71
/usr/lib/.build-id/71/a34523ca87e10318f23fe94e3e22f63c718a70
/usr/lib64/colobot
/usr/lib64/colobot/libCBot.so
/usr/share/applications/info.colobot.Colobot.desktop
/usr/share/icons/hicolor/128x128/apps/colobot.png
/usr/share/icons/hicolor/16x16/apps/colobot.png
/usr/share/icons/hicolor/256x256/apps/colobot.png
/usr/share/icons/hicolor/32x32/apps/colobot.png
/usr/share/icons/hicolor/48x48/apps/colobot.png
/usr/share/icons/hicolor/512x512/apps/colobot.png
/usr/share/icons/hicolor/scalable/apps/colobot.svg
/usr/share/licenses/colobot
/usr/share/licenses/colobot/LICENSE.txt
/usr/share/locale/cs/LC_MESSAGES/colobot.mo
/usr/share/locale/de/LC_MESSAGES/colobot.mo
/usr/share/locale/fr/LC_MESSAGES/colobot.mo
/usr/share/locale/pl/LC_MESSAGES/colobot.mo
/usr/share/locale/pt/LC_MESSAGES/colobot.mo
/usr/share/locale/ru/LC_MESSAGES/colobot.mo
/usr/share/man/fr/man6/colobot.6.gz
/usr/share/man/man6/colobot.6.gz
/usr/share/metainfo/info.colobot.Colobot.appdata.xml

References

Summary

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