Difference between revisions of "COPR Cheat Sheet"

From Nearline Storage
Jump to navigation Jump to search
(Created page with "===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 fe...")
 
m
 
Line 5: Line 5:
 
===Delete a specific build===
 
===Delete a specific build===
 
   $ copr-cli delete-build ''build-id''
 
   $ copr-cli delete-build ''build-id''
 +
 +
===Install from a COPR repo===
 +
  $ sudo dnf copr enable dlk/''project-name''
 +
  $ sudo dnf install ''package''
  
 
[[Category:Linux]]
 
[[Category:Linux]]
 
[[Category:bash]]
 
[[Category:bash]]

Latest revision as of 19:06, 2 March 2020

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