COPR Cheat Sheet

From Nearline Storage
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