mirror of
https://github.com/Erreur32/cheat.git
synced 2024-09-07 12:01:35 +02:00
16 lines
429 B
Plaintext
16 lines
429 B
Plaintext
|
# 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>
|