How To Install cflow on Fedora 36

In this tutorial we learn how to install cflow in Fedora 36. cflow is Analyzes C files charting control flow within the program

Introduction

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

What is cflow

GNU cflow analyzes a collection of C source files and prints a graph, charting control flow within the program. GNU cflow is able to produce both direct and inverted flowgraphs for C sources. Optionally a cross-reference listing can be generated. Two output formats are implemented

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

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

sudo dnf -y install cflow

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

sudo yum -y install cflow

How To Uninstall cflow on Fedora 36

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

sudo dnf remove cflow

cflow Package Contents on Fedora 36

/usr/bin/cflow
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/59b01a6bee7121fa454a612157d095dfbe1691
/usr/share/doc/cflow
/usr/share/doc/cflow/AUTHORS
/usr/share/doc/cflow/ChangeLog
/usr/share/doc/cflow/NEWS
/usr/share/doc/cflow/README
/usr/share/doc/cflow/THANKS
/usr/share/doc/cflow/TODO
/usr/share/emacs/site-lisp/cflow-mode.el
/usr/share/info/cflow.info.gz
/usr/share/licenses/cflow
/usr/share/licenses/cflow/COPYING
/usr/share/locale/da/LC_MESSAGES/cflow.mo
/usr/share/locale/de/LC_MESSAGES/cflow.mo
/usr/share/locale/eo/LC_MESSAGES/cflow.mo
/usr/share/locale/es/LC_MESSAGES/cflow.mo
/usr/share/locale/fi/LC_MESSAGES/cflow.mo
/usr/share/locale/fr/LC_MESSAGES/cflow.mo
/usr/share/locale/ga/LC_MESSAGES/cflow.mo
/usr/share/locale/hr/LC_MESSAGES/cflow.mo
/usr/share/locale/id/LC_MESSAGES/cflow.mo
/usr/share/locale/nl/LC_MESSAGES/cflow.mo
/usr/share/locale/pl/LC_MESSAGES/cflow.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cflow.mo
/usr/share/locale/sr/LC_MESSAGES/cflow.mo
/usr/share/locale/sv/LC_MESSAGES/cflow.mo
/usr/share/locale/uk/LC_MESSAGES/cflow.mo
/usr/share/locale/vi/LC_MESSAGES/cflow.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cflow.mo
/usr/share/man/man1/cflow.1.gz

References

Summary

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