How To Install datagrepper on Fedora 34

datagrepper is A webapp to query fedmsg history

Introduction

In this tutorial we learn how to install datagrepper on Fedora 34.

What is datagrepper

A webapp to retrieve historical information about messages on the fedmsg bus. It is a JSON api for the datanommer message store.

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

Install datagrepper on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install datagrepper using dnf by running the following command:

sudo dnf -y install datagrepper

Install datagrepper on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install datagrepper using yum by running the following command:

sudo yum -y install datagrepper

How To Uninstall datagrepper on Fedora 34

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

sudo dnf remove datagrepper

datagrepper Package Contents on Fedora 34

/etc/datagrepper
/etc/datagrepper/datagrepper.cfg
/usr/lib/python3.9/site-packages/datagrepper
/usr/lib/python3.9/site-packages/datagrepper-0.9.7-py3.9.egg-info
/usr/lib/python3.9/site-packages/datagrepper-0.9.7-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/datagrepper-0.9.7-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/datagrepper-0.9.7-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/datagrepper-0.9.7-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/datagrepper-0.9.7-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/datagrepper/__init__.py
/usr/lib/python3.9/site-packages/datagrepper/__pycache__
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/app.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/app.cpython-39.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/default_config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/default_config.cpython-39.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/util.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/util.cpython-39.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/widgets.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/datagrepper/__pycache__/widgets.cpython-39.pyc
/usr/lib/python3.9/site-packages/datagrepper/app.py
/usr/lib/python3.9/site-packages/datagrepper/default_config.py
/usr/lib/python3.9/site-packages/datagrepper/docs
/usr/lib/python3.9/site-packages/datagrepper/docs/charts.rst
/usr/lib/python3.9/site-packages/datagrepper/docs/datagrepper.png
/usr/lib/python3.9/site-packages/datagrepper/docs/index.rst
/usr/lib/python3.9/site-packages/datagrepper/docs/reference.rst
/usr/lib/python3.9/site-packages/datagrepper/docs/widget.rst
/usr/lib/python3.9/site-packages/datagrepper/static
/usr/lib/python3.9/site-packages/datagrepper/static/autoscroll.js
/usr/lib/python3.9/site-packages/datagrepper/static/css
/usr/lib/python3.9/site-packages/datagrepper/static/css/fedora-bootstrap-fonts.css
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Bold
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Bold/OpenSans-Bold.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Bold/OpenSans-Bold.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Bold/OpenSans-Bold.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Bold/hack-bold-webfont.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Bold/hack-bold-webfont.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Bold/hack-bold-webfont.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/BoldItalic
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/BoldItalic/OpenSans-BoldItalic.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/BoldItalic/OpenSans-BoldItalic.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/BoldItalic/OpenSans-BoldItalic.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/BoldItalic/hack-bolditalic-webfont.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/BoldItalic/hack-bolditalic-webfont.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/BoldItalic/hack-bolditalic-webfont.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Italic
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Italic/OpenSans-Italic.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Italic/OpenSans-Italic.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Italic/OpenSans-Italic.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Italic/hack-italic-webfont.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Italic/hack-italic-webfont.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Italic/hack-italic-webfont.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Light
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Light/OpenSans-Light.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Light/OpenSans-Light.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Light/OpenSans-Light.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/LightItalic
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/LightItalic/OpenSans-LightItalic.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/LightItalic/OpenSans-LightItalic.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/LightItalic/OpenSans-LightItalic.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Regular
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Regular/OpenSans-Regular.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Regular/OpenSans-Regular.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Regular/OpenSans-Regular.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Regular/hack-regular-webfont.ttf
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Regular/hack-regular-webfont.woff
/usr/lib/python3.9/site-packages/datagrepper/static/css/fonts/Regular/hack-regular-webfont.woff2
/usr/lib/python3.9/site-packages/datagrepper/static/css/odometer.css
/usr/lib/python3.9/site-packages/datagrepper/static/css/raw.css
/usr/lib/python3.9/site-packages/datagrepper/static/datagrepper-debranded.png
/usr/lib/python3.9/site-packages/datagrepper/static/datagrepper.png
/usr/lib/python3.9/site-packages/datagrepper/static/datagrepper.svg
/usr/lib/python3.9/site-packages/datagrepper/static/favicon.png
/usr/lib/python3.9/site-packages/datagrepper/static/jquery-2.1.0.min.js
/usr/lib/python3.9/site-packages/datagrepper/static/live.js
/usr/lib/python3.9/site-packages/datagrepper/static/odometer.js
/usr/lib/python3.9/site-packages/datagrepper/templates
/usr/lib/python3.9/site-packages/datagrepper/templates/base.html
/usr/lib/python3.9/site-packages/datagrepper/templates/count.html
/usr/lib/python3.9/site-packages/datagrepper/templates/index.html
/usr/lib/python3.9/site-packages/datagrepper/templates/raw.html
/usr/lib/python3.9/site-packages/datagrepper/util.py
/usr/lib/python3.9/site-packages/datagrepper/widgets.py
/usr/share/datagrepper
/usr/share/datagrepper/apache
/usr/share/datagrepper/apache/datagrepper.conf
/usr/share/datagrepper/apache/datagrepper.wsgi
/usr/share/doc/datagrepper
/usr/share/doc/datagrepper/COPYING
/usr/share/doc/datagrepper/README.rst
/usr/share/doc/datagrepper/html
/usr/share/doc/datagrepper/html/_sources
/usr/share/doc/datagrepper/html/_sources/charts.rst.txt
/usr/share/doc/datagrepper/html/_sources/index.rst.txt
/usr/share/doc/datagrepper/html/_sources/reference.rst.txt
/usr/share/doc/datagrepper/html/_sources/widget.rst.txt
/usr/share/doc/datagrepper/html/_static
/usr/share/doc/datagrepper/html/_static/alabaster.css
/usr/share/doc/datagrepper/html/_static/basic.css
/usr/share/doc/datagrepper/html/_static/custom.css
/usr/share/doc/datagrepper/html/_static/doctools.js
/usr/share/doc/datagrepper/html/_static/documentation_options.js
/usr/share/doc/datagrepper/html/_static/file.png
/usr/share/doc/datagrepper/html/_static/jquery-3.5.1.js
/usr/share/doc/datagrepper/html/_static/jquery.js
/usr/share/doc/datagrepper/html/_static/language_data.js
/usr/share/doc/datagrepper/html/_static/minus.png
/usr/share/doc/datagrepper/html/_static/plus.png
/usr/share/doc/datagrepper/html/_static/pygments.css
/usr/share/doc/datagrepper/html/_static/searchtools.js
/usr/share/doc/datagrepper/html/_static/underscore-1.3.1.js
/usr/share/doc/datagrepper/html/_static/underscore.js
/usr/share/doc/datagrepper/html/charts.html
/usr/share/doc/datagrepper/html/genindex.html
/usr/share/doc/datagrepper/html/index.html
/usr/share/doc/datagrepper/html/objects.inv
/usr/share/doc/datagrepper/html/reference.html
/usr/share/doc/datagrepper/html/search.html
/usr/share/doc/datagrepper/html/searchindex.js
/usr/share/doc/datagrepper/html/widget.html

References

Summary

In this tutorial we learn how to install datagrepper on Fedora 34 using yum and dnf.