How To Install python3-firehose on Fedora 36

In this tutorial we learn how to install python3-firehose in Fedora 36. python3-firehose is Library for working with output from static code analyzers

Introduction

In this tutorial we learn how to install python3-firehose on Fedora 36.

What is python3-firehose

“firehose” is a Python package intended for managing the results from code analysis tools (e.g. compiler warnings, static analysis, linters, etc). It currently provides parsers for the output of gcc, clang-analyzer and cppcheck. These parsers convert the results into a common data model of Python objects, with methods for lossless roundtrips through a provided XML format. There is also a JSON equivalent.

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

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

sudo dnf -y install python3-firehose

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

sudo yum -y install python3-firehose

How To Uninstall python3-firehose on Fedora 36

To uninstall only the python3-firehose package we can use the following command:

sudo dnf remove python3-firehose

python3-firehose Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/firehose
/usr/lib/python3.10/site-packages/firehose-0.5-py3.10.egg-info
/usr/lib/python3.10/site-packages/firehose/__init__.py
/usr/lib/python3.10/site-packages/firehose/__pycache__
/usr/lib/python3.10/site-packages/firehose/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/__pycache__/model.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/__pycache__/model.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/model.py
/usr/lib/python3.10/site-packages/firehose/parsers
/usr/lib/python3.10/site-packages/firehose/parsers/__init__.py
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/clanganalyzer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/clanganalyzer.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/cppcheck.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/cppcheck.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/findbugs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/findbugs.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/flawfinder.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/flawfinder.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/frama_c.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/frama_c.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/gcc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/gcc.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/splint.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/__pycache__/splint.cpython-310.pyc
/usr/lib/python3.10/site-packages/firehose/parsers/clanganalyzer.py
/usr/lib/python3.10/site-packages/firehose/parsers/cppcheck.py
/usr/lib/python3.10/site-packages/firehose/parsers/findbugs.py
/usr/lib/python3.10/site-packages/firehose/parsers/flawfinder.py
/usr/lib/python3.10/site-packages/firehose/parsers/frama_c.py
/usr/lib/python3.10/site-packages/firehose/parsers/gcc.py
/usr/lib/python3.10/site-packages/firehose/parsers/splint.py
/usr/share/doc/python3-firehose
/usr/share/doc/python3-firehose/README.rst
/usr/share/doc/python3-firehose/examples
/usr/share/doc/python3-firehose/examples/example-1.xml
/usr/share/doc/python3-firehose/examples/example-2.xml
/usr/share/doc/python3-firehose/examples/example-3.xml
/usr/share/doc/python3-firehose/examples/example-4.xml
/usr/share/doc/python3-firehose/examples/example-5.xml
/usr/share/doc/python3-firehose/examples/example-6.xml
/usr/share/doc/python3-firehose/examples/example-7.xml
/usr/share/doc/python3-firehose/examples/example-debian-binary.xml
/usr/share/doc/python3-firehose/examples/example-debian-source.xml
/usr/share/doc/python3-firehose/examples/example-frama_c.log
/usr/share/doc/python3-firehose/examples/example-non-ascii.xml
/usr/share/doc/python3-firehose/examples/non-ascii-example.c
/usr/share/doc/python3-firehose/examples/python-src-example.c
/usr/share/doc/python3-firehose/examples/unconditional-file-leak.c
/usr/share/doc/python3-firehose/firehose.rng
/usr/share/doc/python3-firehose/lgpl-2.1.txt

References

Summary

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