How To Install dwlocstat on Fedora 36

In this tutorial we learn how to install dwlocstat in Fedora 36. dwlocstat is Tool for examining Dwarf location info coverage

Introduction

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

What is dwlocstat

dwlocstat is a tool for examining Dwarf location info coverage. It goes through DIEs of given binary’s debug info that represent variables and function parameters. For each such DIE, it computes coverage of that DIE’s range by location expressions.

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

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

sudo dnf -y install dwlocstat

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

sudo yum -y install dwlocstat

How To Uninstall dwlocstat on Fedora 36

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

sudo dnf remove dwlocstat

dwlocstat Package Contents on Fedora 36

/usr/bin/dwlocstat
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/72f184e1a1649ba9bb9194453da777ee89427a
/usr/share/doc/dwlocstat
/usr/share/doc/dwlocstat/COPYING
/usr/share/doc/dwlocstat/COPYING-LGPLV3
/usr/share/doc/dwlocstat/README
/usr/share/man/man1/dwlocstat.1.gz

References

Summary

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