How To Install laby on Fedora 34

laby is Learn programming, playing with ants and spider webs

Introduction

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

What is laby

Laby is a small program to learn how to program with ants and spider webs. You have to move an ant out of a labyrinth, avoid spider webs, move rocks, etc.

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

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

sudo dnf -y install laby

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

sudo yum -y install laby

How To Uninstall laby on Fedora 34

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

sudo dnf remove laby

laby Package Contents on Fedora 34

/usr/bin/laby
/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/5770cb9ce4720cc2b0908a903af8aa8a79ef91
/usr/share/appdata/laby.appdata.xml
/usr/share/applications/laby.desktop
/usr/share/doc/laby
/usr/share/doc/laby/AUTHORS
/usr/share/icons/hicolor/scalable/apps/laby.svg
/usr/share/laby
/usr/share/laby/conf
/usr/share/laby/levels
/usr/share/laby/levels/0.laby
/usr/share/laby/levels/1a.laby
/usr/share/laby/levels/1b.laby
/usr/share/laby/levels/1c.laby
/usr/share/laby/levels/2a.laby
/usr/share/laby/levels/2b.laby
/usr/share/laby/levels/2c.laby
/usr/share/laby/levels/3a.laby
/usr/share/laby/levels/3b.laby
/usr/share/laby/levels/4a.laby
/usr/share/laby/levels/4b.laby
/usr/share/laby/levels/counting-the-rocks.laby
/usr/share/laby/levels/this-is-crazy.laby
/usr/share/laby/mods
/usr/share/laby/mods/c
/usr/share/laby/mods/c/help
/usr/share/laby/mods/c/lib
/usr/share/laby/mods/c/lib/robot.c
/usr/share/laby/mods/c/lib/robot.h
/usr/share/laby/mods/c/rules
/usr/share/laby/mods/c/skel
/usr/share/laby/mods/cpp
/usr/share/laby/mods/cpp/help
/usr/share/laby/mods/cpp/lib
/usr/share/laby/mods/cpp/lib/robot.cpp
/usr/share/laby/mods/cpp/lib/robot.h
/usr/share/laby/mods/cpp/rules
/usr/share/laby/mods/cpp/skel
/usr/share/laby/mods/java
/usr/share/laby/mods/java/help
/usr/share/laby/mods/java/lib
/usr/share/laby/mods/java/lib/Main.java
/usr/share/laby/mods/java/lib/Robot.java
/usr/share/laby/mods/java/rules
/usr/share/laby/mods/java/skel
/usr/share/laby/mods/js
/usr/share/laby/mods/js/help
/usr/share/laby/mods/js/lib
/usr/share/laby/mods/js/lib/robot.js
/usr/share/laby/mods/js/rules
/usr/share/laby/mods/js/skel
/usr/share/laby/mods/lua
/usr/share/laby/mods/lua/help
/usr/share/laby/mods/lua/lib
/usr/share/laby/mods/lua/lib/robot.lua
/usr/share/laby/mods/lua/rules
/usr/share/laby/mods/lua/skel
/usr/share/laby/mods/ocaml
/usr/share/laby/mods/ocaml/help
/usr/share/laby/mods/ocaml/lib
/usr/share/laby/mods/ocaml/lib/robot.ml
/usr/share/laby/mods/ocaml/rules
/usr/share/laby/mods/ocaml/skel
/usr/share/laby/mods/pascal
/usr/share/laby/mods/pascal/help
/usr/share/laby/mods/pascal/lib
/usr/share/laby/mods/pascal/lib/robot.pas
/usr/share/laby/mods/pascal/rules
/usr/share/laby/mods/pascal/skel
/usr/share/laby/mods/perl
/usr/share/laby/mods/perl/help
/usr/share/laby/mods/perl/lib
/usr/share/laby/mods/perl/lib/robot.pl
/usr/share/laby/mods/perl/rules
/usr/share/laby/mods/perl/skel
/usr/share/laby/mods/prolog
/usr/share/laby/mods/prolog/help
/usr/share/laby/mods/prolog/lib
/usr/share/laby/mods/prolog/lib/robot.pl
/usr/share/laby/mods/prolog/rules
/usr/share/laby/mods/prolog/skel
/usr/share/laby/mods/python
/usr/share/laby/mods/python/help
/usr/share/laby/mods/python/lib
/usr/share/laby/mods/python/lib/robot.py
/usr/share/laby/mods/python/rules
/usr/share/laby/mods/python/skel
/usr/share/laby/mods/ruby
/usr/share/laby/mods/ruby/help
/usr/share/laby/mods/ruby/lib
/usr/share/laby/mods/ruby/lib/robot.rb
/usr/share/laby/mods/ruby/rules
/usr/share/laby/mods/ruby/skel
/usr/share/laby/mods/scheme
/usr/share/laby/mods/scheme/help
/usr/share/laby/mods/scheme/lib
/usr/share/laby/mods/scheme/lib/robot.scm
/usr/share/laby/mods/scheme/rules
/usr/share/laby/mods/scheme/skel
/usr/share/laby/mods/vala
/usr/share/laby/mods/vala/help
/usr/share/laby/mods/vala/lib
/usr/share/laby/mods/vala/lib/Robot.vala
/usr/share/laby/mods/vala/rules
/usr/share/laby/mods/vala/skel
/usr/share/laby/scripts
/usr/share/laby/scripts/sound
/usr/share/laby/sound
/usr/share/laby/sound/bad.wav
/usr/share/laby/sound/carry-exit.wav
/usr/share/laby/sound/drop-no-space.wav
/usr/share/laby/sound/drop-nothing.wav
/usr/share/laby/sound/exit-in.wav
/usr/share/laby/sound/exit.wav
/usr/share/laby/sound/no-exit.wav
/usr/share/laby/sound/rock-drop.wav
/usr/share/laby/sound/rock-in.wav
/usr/share/laby/sound/rock-take.wav
/usr/share/laby/sound/start.wav
/usr/share/laby/sound/take-no-space.wav
/usr/share/laby/sound/take-nothing.wav
/usr/share/laby/sound/wall-in.wav
/usr/share/laby/sound/web-in.wav
/usr/share/laby/sound/web-out.wav
/usr/share/laby/syntax
/usr/share/laby/syntax/ocaml.lang
/usr/share/laby/texts
/usr/share/laby/theme
/usr/share/laby/tiles
/usr/share/laby/tiles/ant-e.svg
/usr/share/laby/tiles/ant-n.svg
/usr/share/laby/tiles/ant-s.svg
/usr/share/laby/tiles/ant-w.svg
/usr/share/laby/tiles/exit.svg
/usr/share/laby/tiles/nrock.svg
/usr/share/laby/tiles/nweb.svg
/usr/share/laby/tiles/rock.svg
/usr/share/laby/tiles/void.svg
/usr/share/laby/tiles/wall.svg
/usr/share/laby/tiles/web.svg
/usr/share/licenses/laby
/usr/share/licenses/laby/COPYRIGHT
/usr/share/licenses/laby/gpl-3.0.txt

References

Summary

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