How To Install gap on Fedora 34

gap is Computational discrete algebra Computational discrete algebra

Introduction

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

What is gap

GAP is a system for computational discrete algebra, with particular emphasis on Computational Group Theory. GAP provides a programming language, a library of thousands of functions implementing algebraic algorithms written in the GAP language as well as large data libraries of algebraic objects. GAP is used in research and teaching for studying groups and their representations, rings, vector spaces, algebras, combinatorial structures, and more. This package contains the command line application. gap 4.11.1 1.fc34 x86_64 783 k gap-4.11.1-1.fc34.src.rpm fedora Computational discrete algebra https GPLv2+ GAP is a system for computational discrete algebra, with particular emphasis on Computational Group Theory. GAP provides a programming language, a library of thousands of functions implementing algebraic algorithms written in the GAP language as well as large data libraries of algebraic objects. GAP is used in research and teaching for studying groups and their representations, rings, vector spaces, algebras, combinatorial structures, and more. This package contains the command line application.

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

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

sudo dnf -y install gap

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

sudo yum -y install gap

How To Uninstall gap on Fedora 34

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

sudo dnf remove gap

gap Package Contents on Fedora 34

/usr/bin/gap
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/8de89371b52366b258263f3fb67453286a252b
/usr/lib/gap/bin
/usr/lib/gap/bin/gap.sh
/usr/lib/gap/bin/i686-redhat-linux-gnu-default32-kv7
/usr/lib/gap/bin/i686-redhat-linux-gnu-default32-kv7/gap
/usr/lib/gap/gap
/usr/share/applications/gap.desktop
/usr/share/doc/gap
/usr/share/doc/gap/README.fedora
/usr/share/icons/hicolor/128x128/apps/gap.png
/usr/share/icons/hicolor/16x16/apps/gap.png
/usr/share/icons/hicolor/192x192/apps/gap.png
/usr/share/icons/hicolor/22x22/apps/gap.png
/usr/share/icons/hicolor/24x24/apps/gap.png
/usr/share/icons/hicolor/256x256/apps/gap.png
/usr/share/icons/hicolor/32x32/apps/gap.png
/usr/share/icons/hicolor/36x36/apps/gap.png
/usr/share/icons/hicolor/48x48/apps/gap.png
/usr/share/icons/hicolor/512x512/apps/gap.png
/usr/share/icons/hicolor/64x64/apps/gap.png
/usr/share/icons/hicolor/72x72/apps/gap.png
/usr/share/icons/hicolor/96x96/apps/gap.png
/usr/share/man/man1/gap.1.gz
/usr/share/metainfo/gap.metainfo.xml
/usr/share/mime/packages/gap.xml
/usr/bin/gap
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/d84346931d4cc3724aa6bb90e04f31284220ef
/usr/lib/gap/bin
/usr/lib/gap/bin/gap.sh
/usr/lib/gap/bin/x86_64-redhat-linux-gnu-default64-kv7
/usr/lib/gap/bin/x86_64-redhat-linux-gnu-default64-kv7/gap
/usr/lib/gap/gap
/usr/share/applications/gap.desktop
/usr/share/doc/gap
/usr/share/doc/gap/README.fedora
/usr/share/icons/hicolor/128x128/apps/gap.png
/usr/share/icons/hicolor/16x16/apps/gap.png
/usr/share/icons/hicolor/192x192/apps/gap.png
/usr/share/icons/hicolor/22x22/apps/gap.png
/usr/share/icons/hicolor/24x24/apps/gap.png
/usr/share/icons/hicolor/256x256/apps/gap.png
/usr/share/icons/hicolor/32x32/apps/gap.png
/usr/share/icons/hicolor/36x36/apps/gap.png
/usr/share/icons/hicolor/48x48/apps/gap.png
/usr/share/icons/hicolor/512x512/apps/gap.png
/usr/share/icons/hicolor/64x64/apps/gap.png
/usr/share/icons/hicolor/72x72/apps/gap.png
/usr/share/icons/hicolor/96x96/apps/gap.png
/usr/share/man/man1/gap.1.gz
/usr/share/metainfo/gap.metainfo.xml
/usr/share/mime/packages/gap.xml

References

Summary

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