How To Install resultsdb on Fedora 34

resultsdb is Results store for automated tasks

Introduction

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

What is resultsdb

ResultsDB is a results store engine for, but not limited to, Fedora QA tools.

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

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

sudo dnf -y install resultsdb

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

sudo yum -y install resultsdb

How To Uninstall resultsdb on Fedora 34

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

sudo dnf remove resultsdb

resultsdb Package Contents on Fedora 34

/etc/resultsdb
/etc/resultsdb/settings.py
/usr/bin/resultsdb
/usr/lib/python3.9/site-packages/resultsdb
/usr/lib/python3.9/site-packages/resultsdb-2.2.0-py3.9.egg-info
/usr/lib/python3.9/site-packages/resultsdb-2.2.0-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/resultsdb-2.2.0-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/resultsdb-2.2.0-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/resultsdb-2.2.0-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/resultsdb-2.2.0-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/resultsdb/__init__.py
/usr/lib/python3.9/site-packages/resultsdb/__pycache__
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/cli.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/cli.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/messaging.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/messaging.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/proxy.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/__pycache__/proxy.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic
/usr/lib/python3.9/site-packages/resultsdb/alembic/__pycache__
/usr/lib/python3.9/site-packages/resultsdb/alembic/__pycache__/env.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/__pycache__/env.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/env.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/script.py.mako
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/153c416322c2_create_indexes_on_foreign_keys.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/15f5eeb9f635_initial_revision.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/17ec41bd6e9a_added_uuid_column_to_the_job_table.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/34760e10040b_add_aborted_outcome.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/433d0b5b3b96_added_index_on_the_keyval_store.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/4ace44a44bf_change_index_on_result_data_so_like_can_.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/4bf1390f06d1_added_index_on_submit_time.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/4dbe714897fe_remove_the_user_model.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/540dbe71fa91_change_schema_to_v2_0_step_1.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/978007ecd2b_changed_testcase_name_to_text.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/153c416322c2_create_indexes_on_foreign_keys.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/153c416322c2_create_indexes_on_foreign_keys.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/15f5eeb9f635_initial_revision.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/15f5eeb9f635_initial_revision.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/17ec41bd6e9a_added_uuid_column_to_the_job_table.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/17ec41bd6e9a_added_uuid_column_to_the_job_table.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/34760e10040b_add_aborted_outcome.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/34760e10040b_add_aborted_outcome.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/433d0b5b3b96_added_index_on_the_keyval_store.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/433d0b5b3b96_added_index_on_the_keyval_store.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/4ace44a44bf_change_index_on_result_data_so_like_can_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/4ace44a44bf_change_index_on_result_data_so_like_can_.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/4bf1390f06d1_added_index_on_submit_time.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/4bf1390f06d1_added_index_on_submit_time.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/4dbe714897fe_remove_the_user_model.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/4dbe714897fe_remove_the_user_model.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/540dbe71fa91_change_schema_to_v2_0_step_1.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/540dbe71fa91_change_schema_to_v2_0_step_1.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/978007ecd2b_changed_testcase_name_to_text.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/978007ecd2b_changed_testcase_name_to_text.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/cd581d0e83df_change_outcome_from_enum_to_string.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/cd581d0e83df_change_outcome_from_enum_to_string.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/dbfab576c81_change_schema_to_v2_0_step_2.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/__pycache__/dbfab576c81_change_schema_to_v2_0_step_2.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/cd581d0e83df_change_outcome_from_enum_to_string.py
/usr/lib/python3.9/site-packages/resultsdb/alembic/versions/dbfab576c81_change_schema_to_v2_0_step_2.py
/usr/lib/python3.9/site-packages/resultsdb/cli.py
/usr/lib/python3.9/site-packages/resultsdb/config.py
/usr/lib/python3.9/site-packages/resultsdb/controllers
/usr/lib/python3.9/site-packages/resultsdb/controllers/__init__.py
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__/api_v1.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__/api_v1.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__/api_v2.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__/api_v2.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__/main.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/controllers/__pycache__/main.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/controllers/api_v1.py
/usr/lib/python3.9/site-packages/resultsdb/controllers/api_v2.py
/usr/lib/python3.9/site-packages/resultsdb/controllers/main.py
/usr/lib/python3.9/site-packages/resultsdb/lib
/usr/lib/python3.9/site-packages/resultsdb/lib/__init__.py
/usr/lib/python3.9/site-packages/resultsdb/lib/__pycache__
/usr/lib/python3.9/site-packages/resultsdb/lib/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/lib/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/lib/__pycache__/helpers.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/lib/__pycache__/helpers.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/lib/helpers.py
/usr/lib/python3.9/site-packages/resultsdb/messaging.py
/usr/lib/python3.9/site-packages/resultsdb/models
/usr/lib/python3.9/site-packages/resultsdb/models/__init__.py
/usr/lib/python3.9/site-packages/resultsdb/models/__pycache__
/usr/lib/python3.9/site-packages/resultsdb/models/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/models/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/models/__pycache__/results.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/models/__pycache__/results.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/models/results.py
/usr/lib/python3.9/site-packages/resultsdb/proxy.py
/usr/lib/python3.9/site-packages/resultsdb/serializers
/usr/lib/python3.9/site-packages/resultsdb/serializers/__init__.py
/usr/lib/python3.9/site-packages/resultsdb/serializers/__pycache__
/usr/lib/python3.9/site-packages/resultsdb/serializers/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/serializers/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/serializers/__pycache__/api_v1.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/serializers/__pycache__/api_v1.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/serializers/__pycache__/api_v2.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/resultsdb/serializers/__pycache__/api_v2.cpython-39.pyc
/usr/lib/python3.9/site-packages/resultsdb/serializers/api_v1.py
/usr/lib/python3.9/site-packages/resultsdb/serializers/api_v2.py
/usr/lib/python3.9/site-packages/resultsdb/static
/usr/lib/python3.9/site-packages/resultsdb/static/css
/usr/lib/python3.9/site-packages/resultsdb/static/css/style.css
/usr/lib/python3.9/site-packages/resultsdb/static/favicon.ico
/usr/lib/python3.9/site-packages/resultsdb/templates
/usr/lib/python3.9/site-packages/resultsdb/templates/_formhelpers.html
/usr/lib/python3.9/site-packages/resultsdb/templates/index.html
/usr/lib/python3.9/site-packages/resultsdb/templates/layout.html
/usr/share/doc/resultsdb
/usr/share/doc/resultsdb/README.md
/usr/share/doc/resultsdb/fedora-messaging-example.toml
/usr/share/doc/resultsdb/oauth2_client_secrets.json.example
/usr/share/doc/resultsdb/resultsdb.conf
/usr/share/doc/resultsdb/resultsdb.wsgi
/usr/share/doc/resultsdb/settings.py.example
/usr/share/licenses/resultsdb
/usr/share/licenses/resultsdb/LICENSE
/usr/share/resultsdb
/usr/share/resultsdb/conf
/usr/share/resultsdb/conf/resultsdb.conf
/usr/share/resultsdb/resultsdb.wsgi

References

Summary

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