COPR Cheat Sheet

From Nearline Storage
Revision as of 19:06, 2 March 2020 by Dlk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to navigation Jump to search

Create a new repository and add a source RPM

 $ copr-cli create project-name --chroot fedora-30-x86_64 --chroot fedora-xx-x86_64
 $ copr-cli build [--chroot fedora-xx-x86_64] project-name package-version.src.rpm'

Delete a specific build

 $ copr-cli delete-build build-id

Install from a COPR repo

 $ sudo dnf copr enable dlk/project-name
 $ sudo dnf install package