How To Install flamegraph-stackcollapse on Fedora 36

In this tutorial we learn how to install flamegraph-stackcollapse in Fedora 36. flamegraph-stackcollapse is Stack collapsers and support scripts

Introduction

In this tutorial we learn how to install flamegraph-stackcollapse on Fedora 36.

What is flamegraph-stackcollapse

A set of scripts that collapse stack traces produced by various tools for consumption by flamegraph, as well as some miscellaneous support scripts.

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

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

sudo dnf -y install flamegraph-stackcollapse

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

sudo yum -y install flamegraph-stackcollapse

How To Uninstall flamegraph-stackcollapse on Fedora 36

To uninstall only the flamegraph-stackcollapse package we can use the following command:

sudo dnf remove flamegraph-stackcollapse

flamegraph-stackcollapse Package Contents on Fedora 36

/usr/bin/difffolded.pl
/usr/bin/files.pl
/usr/bin/jmaps
/usr/bin/stackcollapse-aix.pl
/usr/bin/stackcollapse-bpftrace.pl
/usr/bin/stackcollapse-elfutils.pl
/usr/bin/stackcollapse-gdb.pl
/usr/bin/stackcollapse-go.pl
/usr/bin/stackcollapse-instruments.pl
/usr/bin/stackcollapse-java-exceptions.pl
/usr/bin/stackcollapse-jstack.pl
/usr/bin/stackcollapse-ljp.awk
/usr/bin/stackcollapse-pmc.pl
/usr/bin/stackcollapse-recursive.pl
/usr/bin/stackcollapse-sample.awk
/usr/bin/stackcollapse-stap.pl
/usr/bin/stackcollapse-vsprof.pl
/usr/bin/stackcollapse-vtune.pl
/usr/bin/stackcollapse-wcp.pl
/usr/bin/stackcollapse.pl
/usr/share/man/man1/difffolded.pl.1.gz
/usr/share/man/man1/files.pl.1.gz
/usr/share/man/man1/stackcollapse-elfutils.pl.1.gz
/usr/share/man/man1/stackcollapse-go.pl.1.gz
/usr/share/man/man1/stackcollapse-java-exceptions.pl.1.gz
/usr/share/man/man1/stackcollapse-jstack.pl.1.gz
/usr/share/man/man1/stackcollapse-perf.pl.1.gz

References

Summary

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