How To Install surgescript on Fedora 34

surgescript is A scripting language for games A scripting language for games

Introduction

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

What is surgescript

SurgeScript is a scripting language for games. It has been designed with the specific needs of games in mind. Its features include - The state-machine pattern making it easy to create in-game entities - The composition approach and behaviors by means of composition - The hierarchy system in a tree-like structure - The game loop - Automatic garbage collection, object tagging and more! SurgeScript is meant to be used in games and in interactive applications. It’s easy to integrate it into existing code, it’s easy to extend, it features a C-like syntax, and it’s free and open-source software. SurgeScript has been designed based on the experience of its developer dealing with game engines, applications related to computer graphics and so on. Some of the best practices have been incorporated into the language itself, making things really easy for developers and modders. surgescript 0.5.5 1.fc34 x86_64 372 k surgescript-0.5.5-1.fc34.src.rpm fedora A scripting language for games https ASL 2.0 SurgeScript is a scripting language for games. It has been designed with the specific needs of games in mind. Its features include - The state-machine pattern making it easy to create in-game entities - The composition approach and behaviors by means of composition - The hierarchy system in a tree-like structure - The game loop - Automatic garbage collection, object tagging and more! SurgeScript is meant to be used in games and in interactive applications. It’s easy to integrate it into existing code, it’s easy to extend, it features a C-like syntax, and it’s free and open-source software. SurgeScript has been designed based on the experience of its developer dealing with game engines, applications related to computer graphics and so on. Some of the best practices have been incorporated into the language itself, making things really easy for developers and modders.

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

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

sudo dnf -y install surgescript

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

sudo yum -y install surgescript

How To Uninstall surgescript on Fedora 34

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

sudo dnf remove surgescript

surgescript Package Contents on Fedora 34

/usr/bin/surgescript
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/f3f1d5e710e8672fc9f89f5a26e5b27a419723
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/faeb07bace0e017777e5b4af81f476f3df3db0
/usr/lib/libsurgescript.so.0.5.5
/usr/share/doc/surgescript
/usr/share/doc/surgescript/README.md
/usr/share/doc/surgescript/docs
/usr/share/doc/surgescript/docs/download.md
/usr/share/doc/surgescript/docs/engine
/usr/share/doc/surgescript/docs/engine/actor.md
/usr/share/doc/surgescript/docs/engine/animation.md
/usr/share/doc/surgescript/docs/engine/behavior.md
/usr/share/doc/surgescript/docs/engine/brick.md
/usr/share/doc/surgescript/docs/engine/camera.md
/usr/share/doc/surgescript/docs/engine/circular_movement.md
/usr/share/doc/surgescript/docs/engine/collider.md
/usr/share/doc/surgescript/docs/engine/collisionball.md
/usr/share/doc/surgescript/docs/engine/collisionbox.md
/usr/share/doc/surgescript/docs/engine/delayedevent.md
/usr/share/doc/surgescript/docs/engine/directional_movement.md
/usr/share/doc/surgescript/docs/engine/enemy.md
/usr/share/doc/surgescript/docs/engine/entity.md
/usr/share/doc/surgescript/docs/engine/entityevent.md
/usr/share/doc/surgescript/docs/engine/event.md
/usr/share/doc/surgescript/docs/engine/eventchain.md
/usr/share/doc/surgescript/docs/engine/eventlist.md
/usr/share/doc/surgescript/docs/engine/functionevent.md
/usr/share/doc/surgescript/docs/engine/input.md
/usr/share/doc/surgescript/docs/engine/lang.md
/usr/share/doc/surgescript/docs/engine/level.md
/usr/share/doc/surgescript/docs/engine/mouse.md
/usr/share/doc/surgescript/docs/engine/music.md
/usr/share/doc/surgescript/docs/engine/platformer.md
/usr/share/doc/surgescript/docs/engine/player.md
/usr/share/doc/surgescript/docs/engine/prefs.md
/usr/share/doc/surgescript/docs/engine/screen.md
/usr/share/doc/surgescript/docs/engine/sensor.md
/usr/share/doc/surgescript/docs/engine/sound.md
/usr/share/doc/surgescript/docs/engine/surgeengine.md
/usr/share/doc/surgescript/docs/engine/text.md
/usr/share/doc/surgescript/docs/engine/transform.md
/usr/share/doc/surgescript/docs/engine/vector2.md
/usr/share/doc/surgescript/docs/engine/web.md
/usr/share/doc/surgescript/docs/img
/usr/share/doc/surgescript/docs/img/donate.png
/usr/share/doc/surgescript/docs/img/download.png
/usr/share/doc/surgescript/docs/img/opensurge.png
/usr/share/doc/surgescript/docs/img/state-machine.png
/usr/share/doc/surgescript/docs/img/surge.png
/usr/share/doc/surgescript/docs/img/tree.png
/usr/share/doc/surgescript/docs/index.md
/usr/share/doc/surgescript/docs/reference
/usr/share/doc/surgescript/docs/reference/application.md
/usr/share/doc/surgescript/docs/reference/arguments.md
/usr/share/doc/surgescript/docs/reference/array.md
/usr/share/doc/surgescript/docs/reference/boolean.md
/usr/share/doc/surgescript/docs/reference/console.md
/usr/share/doc/surgescript/docs/reference/date.md
/usr/share/doc/surgescript/docs/reference/dictionary.md
/usr/share/doc/surgescript/docs/reference/gc.md
/usr/share/doc/surgescript/docs/reference/iterator.md
/usr/share/doc/surgescript/docs/reference/math.md
/usr/share/doc/surgescript/docs/reference/number.md
/usr/share/doc/surgescript/docs/reference/object.md
/usr/share/doc/surgescript/docs/reference/plugin.md
/usr/share/doc/surgescript/docs/reference/string.md
/usr/share/doc/surgescript/docs/reference/surgescript.md
/usr/share/doc/surgescript/docs/reference/system.md
/usr/share/doc/surgescript/docs/reference/tags.md
/usr/share/doc/surgescript/docs/reference/time.md
/usr/share/doc/surgescript/docs/tutorials
/usr/share/doc/surgescript/docs/tutorials/advanced_features.md
/usr/share/doc/surgescript/docs/tutorials/best_practices.md
/usr/share/doc/surgescript/docs/tutorials/comments.md
/usr/share/doc/surgescript/docs/tutorials/components.md
/usr/share/doc/surgescript/docs/tutorials/conditionals.md
/usr/share/doc/surgescript/docs/tutorials/expressions.md
/usr/share/doc/surgescript/docs/tutorials/functions.md
/usr/share/doc/surgescript/docs/tutorials/hello.md
/usr/share/doc/surgescript/docs/tutorials/loops.md
/usr/share/doc/surgescript/docs/tutorials/object_tree.md
/usr/share/doc/surgescript/docs/tutorials/objects.md
/usr/share/doc/surgescript/docs/tutorials/packages.md
/usr/share/doc/surgescript/docs/tutorials/properties.md
/usr/share/doc/surgescript/docs/tutorials/tags.md
/usr/share/doc/surgescript/docs/tutorials/testing.md
/usr/share/doc/surgescript/docs/tutorials/variables.md
/usr/share/licenses/surgescript
/usr/share/licenses/surgescript/LICENSE
/usr/bin/surgescript
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/c0ee5c3cd4da4345aef61a16d7dbb268fc6669
/usr/lib/.build-id/90
/usr/lib/.build-id/90/984be84407716c2a396344f5d33ecaab6ed387
/usr/lib64/libsurgescript.so.0.5.5
/usr/share/doc/surgescript
/usr/share/doc/surgescript/README.md
/usr/share/doc/surgescript/docs
/usr/share/doc/surgescript/docs/download.md
/usr/share/doc/surgescript/docs/engine
/usr/share/doc/surgescript/docs/engine/actor.md
/usr/share/doc/surgescript/docs/engine/animation.md
/usr/share/doc/surgescript/docs/engine/behavior.md
/usr/share/doc/surgescript/docs/engine/brick.md
/usr/share/doc/surgescript/docs/engine/camera.md
/usr/share/doc/surgescript/docs/engine/circular_movement.md
/usr/share/doc/surgescript/docs/engine/collider.md
/usr/share/doc/surgescript/docs/engine/collisionball.md
/usr/share/doc/surgescript/docs/engine/collisionbox.md
/usr/share/doc/surgescript/docs/engine/delayedevent.md
/usr/share/doc/surgescript/docs/engine/directional_movement.md
/usr/share/doc/surgescript/docs/engine/enemy.md
/usr/share/doc/surgescript/docs/engine/entity.md
/usr/share/doc/surgescript/docs/engine/entityevent.md
/usr/share/doc/surgescript/docs/engine/event.md
/usr/share/doc/surgescript/docs/engine/eventchain.md
/usr/share/doc/surgescript/docs/engine/eventlist.md
/usr/share/doc/surgescript/docs/engine/functionevent.md
/usr/share/doc/surgescript/docs/engine/input.md
/usr/share/doc/surgescript/docs/engine/lang.md
/usr/share/doc/surgescript/docs/engine/level.md
/usr/share/doc/surgescript/docs/engine/mouse.md
/usr/share/doc/surgescript/docs/engine/music.md
/usr/share/doc/surgescript/docs/engine/platformer.md
/usr/share/doc/surgescript/docs/engine/player.md
/usr/share/doc/surgescript/docs/engine/prefs.md
/usr/share/doc/surgescript/docs/engine/screen.md
/usr/share/doc/surgescript/docs/engine/sensor.md
/usr/share/doc/surgescript/docs/engine/sound.md
/usr/share/doc/surgescript/docs/engine/surgeengine.md
/usr/share/doc/surgescript/docs/engine/text.md
/usr/share/doc/surgescript/docs/engine/transform.md
/usr/share/doc/surgescript/docs/engine/vector2.md
/usr/share/doc/surgescript/docs/engine/web.md
/usr/share/doc/surgescript/docs/img
/usr/share/doc/surgescript/docs/img/donate.png
/usr/share/doc/surgescript/docs/img/download.png
/usr/share/doc/surgescript/docs/img/opensurge.png
/usr/share/doc/surgescript/docs/img/state-machine.png
/usr/share/doc/surgescript/docs/img/surge.png
/usr/share/doc/surgescript/docs/img/tree.png
/usr/share/doc/surgescript/docs/index.md
/usr/share/doc/surgescript/docs/reference
/usr/share/doc/surgescript/docs/reference/application.md
/usr/share/doc/surgescript/docs/reference/arguments.md
/usr/share/doc/surgescript/docs/reference/array.md
/usr/share/doc/surgescript/docs/reference/boolean.md
/usr/share/doc/surgescript/docs/reference/console.md
/usr/share/doc/surgescript/docs/reference/date.md
/usr/share/doc/surgescript/docs/reference/dictionary.md
/usr/share/doc/surgescript/docs/reference/gc.md
/usr/share/doc/surgescript/docs/reference/iterator.md
/usr/share/doc/surgescript/docs/reference/math.md
/usr/share/doc/surgescript/docs/reference/number.md
/usr/share/doc/surgescript/docs/reference/object.md
/usr/share/doc/surgescript/docs/reference/plugin.md
/usr/share/doc/surgescript/docs/reference/string.md
/usr/share/doc/surgescript/docs/reference/surgescript.md
/usr/share/doc/surgescript/docs/reference/system.md
/usr/share/doc/surgescript/docs/reference/tags.md
/usr/share/doc/surgescript/docs/reference/time.md
/usr/share/doc/surgescript/docs/tutorials
/usr/share/doc/surgescript/docs/tutorials/advanced_features.md
/usr/share/doc/surgescript/docs/tutorials/best_practices.md
/usr/share/doc/surgescript/docs/tutorials/comments.md
/usr/share/doc/surgescript/docs/tutorials/components.md
/usr/share/doc/surgescript/docs/tutorials/conditionals.md
/usr/share/doc/surgescript/docs/tutorials/expressions.md
/usr/share/doc/surgescript/docs/tutorials/functions.md
/usr/share/doc/surgescript/docs/tutorials/hello.md
/usr/share/doc/surgescript/docs/tutorials/loops.md
/usr/share/doc/surgescript/docs/tutorials/object_tree.md
/usr/share/doc/surgescript/docs/tutorials/objects.md
/usr/share/doc/surgescript/docs/tutorials/packages.md
/usr/share/doc/surgescript/docs/tutorials/properties.md
/usr/share/doc/surgescript/docs/tutorials/tags.md
/usr/share/doc/surgescript/docs/tutorials/testing.md
/usr/share/doc/surgescript/docs/tutorials/variables.md
/usr/share/licenses/surgescript
/usr/share/licenses/surgescript/LICENSE

References

Summary

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