How To Install gap-pkg-profiling on Fedora 36

In this tutorial we learn how to install gap-pkg-profiling in Fedora 36. gap-pkg-profiling is Line by line profiling and code coverage for GAP

Introduction

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

What is gap-pkg-profiling

This package provides line-by-line profiling of GAP, allowing both discovering which lines of code take the most time, and which lines of code are even executed. The main function provided by this package is OutputAnnotatedCodeCoverageFiles, which takes a previously generated profile (using ProfileLineByLine or CoverageLineByLine, both provided by the GAP library), and outputs human-readable HTML files. There is also OutputFlameGraph, which outputs a graphical diagram showing which functions took the most time during execution.

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

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

sudo dnf -y install gap-pkg-profiling

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

sudo yum -y install gap-pkg-profiling

How To Uninstall gap-pkg-profiling on Fedora 36

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

sudo dnf remove gap-pkg-profiling

gap-pkg-profiling Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/d6fb33176517b714ab6281ff91f909381ae0dc
/usr/lib/gap/pkg/profiling-2.5.0
/usr/lib/gap/pkg/profiling-2.5.0/PackageInfo.g
/usr/lib/gap/pkg/profiling-2.5.0/bin
/usr/lib/gap/pkg/profiling-2.5.0/bin/x86_64-redhat-linux-gnu-default64-kv7
/usr/lib/gap/pkg/profiling-2.5.0/bin/x86_64-redhat-linux-gnu-default64-kv7/profiling.so
/usr/lib/gap/pkg/profiling-2.5.0/data
/usr/lib/gap/pkg/profiling-2.5.0/data/sorttable.js
/usr/lib/gap/pkg/profiling-2.5.0/gap
/usr/lib/gap/pkg/profiling-2.5.0/gap/profiling.gd
/usr/lib/gap/pkg/profiling-2.5.0/gap/profiling.gi
/usr/lib/gap/pkg/profiling-2.5.0/init.g
/usr/lib/gap/pkg/profiling-2.5.0/makedoc.g
/usr/lib/gap/pkg/profiling-2.5.0/read.g
/usr/lib/gap/pkg/profiling-2.5.0/tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/testall.g
/usr/lib/gap/pkg/profiling-2.5.0/tst/testcode1.g
/usr/lib/gap/pkg/profiling-2.5.0/tst/testcode2.g
/usr/lib/gap/pkg/profiling-2.5.0/tst/testcodenoreturn.g
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/checkcoverage.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/checkmultfiles.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/checknoreturn.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/checkprof-res.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/checkprof.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/colour.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/encode.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/genprof.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/md5.sample
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/md5.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/profilefile.tst
/usr/lib/gap/pkg/profiling-2.5.0/tst/tstall/read.tst
/usr/share/doc/gap-pkg-profiling
/usr/share/doc/gap-pkg-profiling/AUTHORS
/usr/share/doc/gap-pkg-profiling/HISTORY.md
/usr/share/doc/gap-pkg-profiling/README.md
/usr/share/licenses/gap-pkg-profiling
/usr/share/licenses/gap-pkg-profiling/COPYRIGHT

References

Summary

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