How To Install odcs on Fedora 34
Introduction
In this tutorial we learn how to install odcs
on Fedora 34.
What is odcs
The On Demand Compose Service (ODCS) creates temporary composes using Pungi tool and manages their lifetime. The composes can be requested by external services or users using the REST API provided by Flask frontend.
We can use yum
or dnf
to install odcs
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install odcs.
Install odcs 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 odcs
using dnf
by running the following command:
sudo dnf -y install odcs
Install odcs 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 odcs
using yum
by running the following command:
sudo yum -y install odcs
How To Uninstall odcs on Fedora 34
To uninstall only the odcs
package we can use the following command:
sudo dnf remove odcs
odcs Package Contents on Fedora 34
/etc/odcs
/etc/odcs/config.py
/etc/odcs/pungi.conf
/etc/odcs/raw_config_wrapper.conf
/usr/bin/odcs-frontend
/usr/bin/odcs-gencert
/usr/bin/odcs-manager
/usr/bin/odcs-mock-runroot
/usr/bin/odcs-promote-compose
/usr/bin/odcs-upgradedb
/usr/lib/python3.9/site-packages/odcs/server
/usr/lib/python3.9/site-packages/odcs/server/__init__.py
/usr/lib/python3.9/site-packages/odcs/server/__pycache__
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/api_utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/api_utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/auth.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/auth.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/backend.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/backend.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/cache.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/cache.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/celery_tasks.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/celery_tasks.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/comps.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/comps.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/errors.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/errors.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/events.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/events.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/logger.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/logger.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/manage.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/manage.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/mbs.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/mbs.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/mergerepo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/mergerepo.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/messaging.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/messaging.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/metrics.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/metrics.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/mock_runroot.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/mock_runroot.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/models.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/models.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/proxy.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/proxy.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/pulp.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/pulp.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/pungi.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/pungi.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/pungi_compose.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/pungi_compose.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/views.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/__pycache__/views.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/api_utils.py
/usr/lib/python3.9/site-packages/odcs/server/auth.py
/usr/lib/python3.9/site-packages/odcs/server/backend.py
/usr/lib/python3.9/site-packages/odcs/server/cache.py
/usr/lib/python3.9/site-packages/odcs/server/celery_tasks.py
/usr/lib/python3.9/site-packages/odcs/server/comps.py
/usr/lib/python3.9/site-packages/odcs/server/config.py
/usr/lib/python3.9/site-packages/odcs/server/errors.py
/usr/lib/python3.9/site-packages/odcs/server/events.py
/usr/lib/python3.9/site-packages/odcs/server/logger.py
/usr/lib/python3.9/site-packages/odcs/server/manage.py
/usr/lib/python3.9/site-packages/odcs/server/mbs.py
/usr/lib/python3.9/site-packages/odcs/server/mergerepo.py
/usr/lib/python3.9/site-packages/odcs/server/messaging.py
/usr/lib/python3.9/site-packages/odcs/server/metrics.py
/usr/lib/python3.9/site-packages/odcs/server/migrations
/usr/lib/python3.9/site-packages/odcs/server/migrations/README
/usr/lib/python3.9/site-packages/odcs/server/migrations/__pycache__
/usr/lib/python3.9/site-packages/odcs/server/migrations/__pycache__/env.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/__pycache__/env.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/alembic.ini
/usr/lib/python3.9/site-packages/odcs/server/migrations/env.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/script.py.mako
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/0571a5ca58a0_add_index_to_compose_state.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/0d4d8e1cfe29_create_user_model.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/11b350234051_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/3b92820da295_add_index_to_compose_time_to_expire.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/4514febd31fa_add_builds.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/512890e6864d_add_compose_scratch_modules.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/566733ac3811_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/7b143656694f_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/812f2745248f_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/82172e6a3154_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/0571a5ca58a0_add_index_to_compose_state.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/0571a5ca58a0_add_index_to_compose_state.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/0d4d8e1cfe29_create_user_model.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/0d4d8e1cfe29_create_user_model.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/11b350234051_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/11b350234051_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/3b92820da295_add_index_to_compose_time_to_expire.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/3b92820da295_add_index_to_compose_time_to_expire.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/4514febd31fa_add_builds.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/4514febd31fa_add_builds.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/512890e6864d_add_compose_scratch_modules.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/512890e6864d_add_compose_scratch_modules.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/566733ac3811_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/566733ac3811_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/7b143656694f_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/7b143656694f_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/812f2745248f_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/812f2745248f_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/82172e6a3154_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/82172e6a3154_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/a855c39e2a0f_store_celery_task_id.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/a855c39e2a0f_store_celery_task_id.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/a8e259e0208c_add_compose_state_reason.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/a8e259e0208c_add_compose_state_reason.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/b2725d046624_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/b2725d046624_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/b75ad2afc207_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/b75ad2afc207_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/c370b90de998_add_index_on_compose_source_type_and_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/c370b90de998_add_index_on_compose_source_type_and_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/ca08065687c4_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/ca08065687c4_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/cd0781bbdab1_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/cd0781bbdab1_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/d1da07e15c54_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/d1da07e15c54_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/de0a86d7de49_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/de0a86d7de49_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/e186faabdafe_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/e186faabdafe_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/e2163db7b15d_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/e2163db7b15d_.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/f24a36cc8a16_add_index_on_compose_reused_id.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/f24a36cc8a16_add_index_on_compose_reused_id.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/f4bc999818d7_add_compose_removed_by.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/__pycache__/f4bc999818d7_add_compose_removed_by.cpython-39.pyc
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/a855c39e2a0f_store_celery_task_id.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/a8e259e0208c_add_compose_state_reason.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/b2725d046624_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/b75ad2afc207_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/c370b90de998_add_index_on_compose_source_type_and_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/ca08065687c4_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/cd0781bbdab1_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/d1da07e15c54_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/de0a86d7de49_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/e186faabdafe_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/e2163db7b15d_.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/f24a36cc8a16_add_index_on_compose_reused_id.py
/usr/lib/python3.9/site-packages/odcs/server/migrations/versions/f4bc999818d7_add_compose_removed_by.py
/usr/lib/python3.9/site-packages/odcs/server/mock_runroot.py
/usr/lib/python3.9/site-packages/odcs/server/models.py
/usr/lib/python3.9/site-packages/odcs/server/proxy.py
/usr/lib/python3.9/site-packages/odcs/server/pulp.py
/usr/lib/python3.9/site-packages/odcs/server/pungi.py
/usr/lib/python3.9/site-packages/odcs/server/pungi_compose.py
/usr/lib/python3.9/site-packages/odcs/server/templates
/usr/lib/python3.9/site-packages/odcs/server/templates/index.html
/usr/lib/python3.9/site-packages/odcs/server/utils.py
/usr/lib/python3.9/site-packages/odcs/server/views.py
/usr/lib/systemd/system/odcs-backend.service
/usr/share/doc/odcs
/usr/share/doc/odcs/README.md
/usr/share/licenses/odcs
/usr/share/licenses/odcs/LICENSE
/usr/share/man/man1/odcs-frontend.1.gz
/usr/share/man/man1/odcs-gencert.1.gz
/usr/share/man/man1/odcs-manager.1.gz
/usr/share/man/man1/odcs-upgradedb.1.gz
/usr/share/odcs
/usr/share/odcs/odcs.wsgi
References
Summary
In this tutorial we learn how to install odcs
on Fedora 34 using yum and dnf.