Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions docs/books/admin_guide/04-advanced-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,16 +264,18 @@ Examples of use:

* `yumdownloader` command:

The `yumdownloader` command downloads RPM packages from the repositories.
The `yumdownloader` command downloads RPM packages from the repositories. Equivalent to `dnf download --downloadonly --downloaddir ./ package-name`

!!! Note

This command is very useful to quickly build a local repository of a few rpm!
This command is very useful to quickly build a local repository of a few rpms!

Example: `yumdownloader` will download the _repoquery_ rpm package and all its dependencies:
Example: `yumdownloader` will download the _samba_ rpm package and all its dependencies:

```
$ yumdownloader --destdir /var/tmp -- resolve repoquery
$ yumdownloader --destdir /var/tmp --resolve samba
or
$ dnf download --downloadonly --downloaddir /var/tmp --resolve samba
```

| Options | Comments |
Expand Down