How To Install xs on Fedora 36

In this tutorial we learn how to install xs in Fedora 36. xs is Shell supporting functional programming

Introduction

In this tutorial we learn how to install xs on Fedora 36.

What is xs

Xs is a cleanly-designed shell with functional programming. It is based off the source-code for the es project, which was in the public domain. Currently, the changes in xs can also be considered to be in the public domain. Most of the xs source code remains untouched from es. The primary authors of that shell can be found in that source code, currently located at since es-0.9-beta1 are all parts of xs and have been written by Frederic Koehler.

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

Install xs on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xs using dnf by running the following command:

sudo dnf -y install xs

Install xs on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xs using yum by running the following command:

sudo yum -y install xs

How To Uninstall xs on Fedora 36

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

sudo dnf remove xs

xs Package Contents on Fedora 36

/usr/bin/xs
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/eeed4bc96410c757cf730632694d422b69e77b
/usr/share/doc/xs
/usr/share/doc/xs/ANCESTORS
/usr/share/doc/xs/CHANGES
/usr/share/doc/xs/COPYING
/usr/share/doc/xs/INSTALL
/usr/share/doc/xs/PHILOSOPHY
/usr/share/doc/xs/PROJECTS
/usr/share/doc/xs/README
/usr/share/doc/xs/SYSTEMD_LOCALE
/usr/share/doc/xs/TODO
/usr/share/doc/xs/TUTORIAL.md
/usr/share/doc/xs/XS-FOR-LISPERS.md
/usr/share/doc/xs/examples
/usr/share/doc/xs/examples/README
/usr/share/doc/xs/examples/SNAPSHOT_DATE
/usr/share/doc/xs/examples/SUPPORT
/usr/share/doc/xs/examples/_xsin
/usr/share/doc/xs/examples/_xslib.d
/usr/share/doc/xs/examples/_xslib.d/attr.xs
/usr/share/doc/xs/examples/_xslib.d/cli.xs
/usr/share/doc/xs/examples/_xslib.d/data.xs
/usr/share/doc/xs/examples/_xslib.d/file.xs
/usr/share/doc/xs/examples/_xslib.d/instrumentation.xs
/usr/share/doc/xs/examples/_xslib.d/math.xs
/usr/share/doc/xs/examples/_xslib.d/miscellaneous.xs
/usr/share/doc/xs/examples/_xslib.d/process.xs
/usr/share/doc/xs/examples/_xslib.d/subs.xs
/usr/share/doc/xs/examples/_xslib.d/terminal.xs
/usr/share/doc/xs/examples/_xslib.d/xs-builtins.xs
/usr/share/doc/xs/examples/_xsrc
/usr/share/doc/xs/examples/_xsrc.d
/usr/share/doc/xs/examples/_xsrc.d/2bwm.xs
/usr/share/doc/xs/examples/_xsrc.d/aliases.xs
/usr/share/doc/xs/examples/_xsrc.d/amusement.xs
/usr/share/doc/xs/examples/_xsrc.d/apps.xs
/usr/share/doc/xs/examples/_xsrc.d/bcc.xs
/usr/share/doc/xs/examples/_xsrc.d/biases.xs
/usr/share/doc/xs/examples/_xsrc.d/colors.xs
/usr/share/doc/xs/examples/_xsrc.d/det.xs
/usr/share/doc/xs/examples/_xsrc.d/directory.xs
/usr/share/doc/xs/examples/_xsrc.d/docker.xs
/usr/share/doc/xs/examples/_xsrc.d/file.xs
/usr/share/doc/xs/examples/_xsrc.d/game.xs
/usr/share/doc/xs/examples/_xsrc.d/gcal.xs
/usr/share/doc/xs/examples/_xsrc.d/help.xs
/usr/share/doc/xs/examples/_xsrc.d/histclean.xs
/usr/share/doc/xs/examples/_xsrc.d/kasa.xs
/usr/share/doc/xs/examples/_xsrc.d/kbmacro.xs
/usr/share/doc/xs/examples/_xsrc.d/media.xs
/usr/share/doc/xs/examples/_xsrc.d/pacer.xs
/usr/share/doc/xs/examples/_xsrc.d/priv.xs
/usr/share/doc/xs/examples/_xsrc.d/process.xs
/usr/share/doc/xs/examples/_xsrc.d/prompt.xs
/usr/share/doc/xs/examples/_xsrc.d/system.xs
/usr/share/doc/xs/examples/_xsrc.d/touchscreen.xs
/usr/share/doc/xs/examples/_xsrc.d/unicode.xs
/usr/share/doc/xs/examples/_xsrc.d/virts.xs
/usr/share/doc/xs/examples/_xsrc.d/web.xs
/usr/share/doc/xs/examples/_xsrc.d/wm.xs
/usr/share/doc/xs/examples/_xsrc.d/xs.xs
/usr/share/doc/xs/examples/_xsuser.d
/usr/share/doc/xs/examples/_xsuser.d/desktop.xs
/usr/share/doc/xs/examples/_xsuser.d/env.xs
/usr/share/doc/xs/examples/_xsuser.d/mame-games.xs
/usr/share/doc/xs/examples/_xsuser.d/nixenv.xs
/usr/share/doc/xs/examples/_xsuser.d/prompt-config.xs
/usr/share/man/man1/xs.1.gz

References

Summary

In this tutorial we learn how to install xs on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).