mirror of
https://github.com/cheat/cheat.git
synced 2024-11-14 08:01:09 +01:00
Add cheatsheet for dnf
This commit is contained in:
parent
be2cb6e632
commit
c232721119
1 changed files with 16 additions and 0 deletions
16
cheat/cheatsheets/dnf
Normal file
16
cheat/cheatsheets/dnf
Normal file
|
@ -0,0 +1,16 @@
|
|||
# To install the latest version of a package:
|
||||
dnf install <package name>
|
||||
|
||||
# To search package details for the given string
|
||||
dnf search <string>
|
||||
|
||||
# To find which package provides a binary
|
||||
dnf provides <path to binary>
|
||||
|
||||
# The following are available after installing "dnf-plugins-core"
|
||||
|
||||
# Download a package
|
||||
dnf download <package name>
|
||||
|
||||
# install the build dependencies for a SRPM or from a .spec file
|
||||
dnf builddep <srpm/.spec file>
|
Loading…
Reference in a new issue