How To Install gap-pkg-io on Fedora 36

In this tutorial we learn how to install gap-pkg-io in Fedora 36. gap-pkg-io is Unix I/O functionality for GAP

Introduction

In this tutorial we learn how to install gap-pkg-io on Fedora 36.

What is gap-pkg-io

This GAP package provides a link to the standard UNIX I/O functionality that is available through the C library. This part basically consists of functions on the GAP level that allow functions in the C library to be called. Built on top of this is a layer for buffered input/output which is implemented completely in the GAP language. It is intended to be used by programs for which it is not necessary to have full direct access to the operating system. On this level, quite a few convenience functions are implemented for interprocess communication like starting up pipelines of processes to filter data through them and to start up processes and then communicate with them. There is also support for creating network connections over TCP/IP and UDP. Building on this, the package contains an implementation of the client side of the HTTP protocol making it possible among other things to access web pages from within GAP. Another part of the package is a framework for object serialization. That is, GAP objects can be converted into a platform-independent byte sequence which can be stored to a file or sent over the network. The code takes complete care of arbitrarily self-referential data structures like lists containing themselves as an entry. The resulting byte strings can be read back into GAP and the original objects are rebuilt with exactly the same self-references. This works for most of the standard builtin types of GAP like numbers, permutations, polynomials, lists, and records and can be extended to nearly arbitrary GAP objects.

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

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

sudo dnf -y install gap-pkg-io

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

sudo yum -y install gap-pkg-io

How To Uninstall gap-pkg-io on Fedora 36

To uninstall only the gap-pkg-io package we can use the following command:

sudo dnf remove gap-pkg-io

gap-pkg-io Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/89
/usr/lib/.build-id/89/8086a3fd4d61e068b499d509cc62470187a461
/usr/lib/gap/pkg/io
/usr/lib/gap/pkg/io/PackageInfo.g
/usr/lib/gap/pkg/io/bin
/usr/lib/gap/pkg/io/bin/x86_64-redhat-linux-gnu-default64-kv7
/usr/lib/gap/pkg/io/bin/x86_64-redhat-linux-gnu-default64-kv7/io.so
/usr/lib/gap/pkg/io/gap
/usr/lib/gap/pkg/io/gap/background.gd
/usr/lib/gap/pkg/io/gap/background.gi
/usr/lib/gap/pkg/io/gap/callwithtimeout.gd
/usr/lib/gap/pkg/io/gap/callwithtimeout.gi
/usr/lib/gap/pkg/io/gap/forkparallel.g
/usr/lib/gap/pkg/io/gap/forkparalleldream.g
/usr/lib/gap/pkg/io/gap/graveyard.g
/usr/lib/gap/pkg/io/gap/http.gd
/usr/lib/gap/pkg/io/gap/http.gi
/usr/lib/gap/pkg/io/gap/io.gd
/usr/lib/gap/pkg/io/gap/io.gi
/usr/lib/gap/pkg/io/gap/iohub.gd
/usr/lib/gap/pkg/io/gap/iohub.gi
/usr/lib/gap/pkg/io/gap/pickle.gd
/usr/lib/gap/pkg/io/gap/pickle.gi
/usr/lib/gap/pkg/io/gap/realrandom.gd
/usr/lib/gap/pkg/io/gap/realrandom.gi
/usr/lib/gap/pkg/io/init.g
/usr/lib/gap/pkg/io/makedoc.g
/usr/lib/gap/pkg/io/read.g
/usr/lib/gap/pkg/io/tst
/usr/lib/gap/pkg/io/tst/all.tst
/usr/lib/gap/pkg/io/tst/buffered.g
/usr/lib/gap/pkg/io/tst/bugfix.tst
/usr/lib/gap/pkg/io/tst/children.tst
/usr/lib/gap/pkg/io/tst/compression.g
/usr/lib/gap/pkg/io/tst/exitcheck.g
/usr/lib/gap/pkg/io/tst/funcs.tst
/usr/lib/gap/pkg/io/tst/http.g
/usr/lib/gap/pkg/io/tst/pickle.g
/usr/lib/gap/pkg/io/tst/platform.g
/usr/lib/gap/pkg/io/tst/sendstringbackground.tst
/usr/lib/gap/pkg/io/tst/sleep.sh
/usr/lib/gap/pkg/io/tst/test.txt.gz
/usr/lib/gap/pkg/io/tst/testall.g
/usr/lib/gap/pkg/io/tst/testgap.tst
/usr/lib/gap/pkg/io/tst/timeout.tst
/usr/lib/gap/pkg/io/tst/waitpid.tst
/usr/share/doc/gap-pkg-io
/usr/share/doc/gap-pkg-io/CHANGES
/usr/share/doc/gap-pkg-io/README.md
/usr/share/doc/gap-pkg-io/TODO
/usr/share/licenses/gap-pkg-io
/usr/share/licenses/gap-pkg-io/GPL
/usr/share/licenses/gap-pkg-io/LICENSE

References

Summary

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