mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-31 03:53:38 +02:00
dnf-download: add page (#17867)
This commit is contained in:
parent
db03639e45
commit
bc4fb87f0a
1 changed files with 18 additions and 0 deletions
18
pages/linux/dnf-download.md
Normal file
18
pages/linux/dnf-download.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# dnf download
|
||||
|
||||
> Download RPM packages from the DNF repositories.
|
||||
> Not default to `dnf` but supported via `dnf-plugins-core`.
|
||||
> See also: `dnf`.
|
||||
> More information: <https://dnf-plugins-core.readthedocs.io/en/latest/download.html>.
|
||||
|
||||
- Download the latest version of a package to the current directory:
|
||||
|
||||
`dnf download {{package}}`
|
||||
|
||||
- Download a package to a specific directory (the directory must exist):
|
||||
|
||||
`dnf download {{package}} --destdir {{path/to/directory}}`
|
||||
|
||||
- Print the URL where the RPM package can be downloaded from:
|
||||
|
||||
`dnf download --url {{package}}`
|
Loading…
Add table
Reference in a new issue