How To Install copr-rpmbuild on Fedora 36

In this tutorial we learn how to install copr-rpmbuild in Fedora 36. copr-rpmbuild is Run COPR build tasks

Introduction

In this tutorial we learn how to install copr-rpmbuild on Fedora 36.

What is copr-rpmbuild

Provides command capable of running COPR build-tasks. Example build build-id 12345 for chroot epel-7-x86_64.

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

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

sudo dnf -y install copr-rpmbuild

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

sudo yum -y install copr-rpmbuild

How To Uninstall copr-rpmbuild on Fedora 36

To uninstall only the copr-rpmbuild package we can use the following command:

sudo dnf remove copr-rpmbuild

copr-rpmbuild Package Contents on Fedora 36

/etc/copr-rpmbuild
/etc/copr-rpmbuild/main.ini
/etc/copr-rpmbuild/mock-source-build.cfg
/etc/copr-rpmbuild/mock.cfg.j2
/etc/copr-rpmbuild/rpkg.conf.j2
/usr/bin/copr-rpmbuild
/usr/bin/copr-rpmbuild-cancel
/usr/bin/copr-rpmbuild-log
/usr/bin/copr-rpmbuild-loggify
/usr/bin/copr-sources-custom
/usr/lib/python3.10/site-packages/copr_rpmbuild
/usr/lib/python3.10/site-packages/copr_rpmbuild-0.56-py3.10.egg-info
/usr/lib/python3.10/site-packages/copr_rpmbuild-0.56-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/copr_rpmbuild-0.56-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/copr_rpmbuild-0.56-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/copr_rpmbuild-0.56-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/copr_rpmbuild/__init__.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/__pycache__
/usr/lib/python3.10/site-packages/copr_rpmbuild/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/__pycache__/helpers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/__pycache__/helpers.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__init__.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__/fedora_review.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__/fedora_review.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__/rpm_results.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/__pycache__/rpm_results.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/base.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/fedora_review.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/automation/rpm_results.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/builders
/usr/lib/python3.10/site-packages/copr_rpmbuild/builders/__init__.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/builders/__pycache__
/usr/lib/python3.10/site-packages/copr_rpmbuild/builders/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/builders/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/builders/__pycache__/mock.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/builders/__pycache__/mock.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/builders/mock.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/helpers.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__init__.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/custom.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/custom.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/distgit.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/distgit.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/pypi.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/pypi.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/rubygems.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/rubygems.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/scm.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/scm.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/spec.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/__pycache__/spec.cpython-310.pyc
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/base.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/custom.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/distgit.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/pypi.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/rubygems.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/scm.py
/usr/lib/python3.10/site-packages/copr_rpmbuild/providers/spec.py
/usr/share/licenses/copr-rpmbuild
/usr/share/licenses/copr-rpmbuild/LICENSE
/usr/share/man/man1/copr-rpmbuild.1.gz
/var/lib/copr-rpmbuild
/var/lib/copr-rpmbuild/results
/var/lib/copr-rpmbuild/workspace

References

Summary

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