Skip to content
Merged
Show file tree
Hide file tree
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
70 changes: 34 additions & 36 deletions docs/books/admin_guide/04-advanced-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,45 +224,43 @@ Here are some examples of usage:

* `repoquery` command:

The `repoquery` command queries the repositories.
The `repoquery` command is used to query the packages in the repository.

Examples of use:

* Knowing the dependencies of an uninstalled package:

```
repoquery --requires <package>
```

* Know the files provided by a non-installed package:

```
$ repoquery -l yum-utils
/etc/bash_completion.d
/etc/bash_completion.d/yum-utils.bash
/usr/bin/debuginfo-install
/usr/bin/find-repos-of-install
/usr/bin/needs-restarting
/usr/bin/package-cleanup
/usr/bin/repo-graph
/usr/bin/repo-rss
/usr/bin/repoclosure
/usr/bin/repodiff
/usr/bin/repomanage
/usr/bin/repoquery
/usr/bin/reposync
/usr/bin/repotrack
/usr/bin/show-changed-rco
/usr/bin/show-installed
/usr/bin/verifytree
/usr/bin/yum-builddep
/usr/bin/yum-config-manager
/usr/bin/yum-debug-dump
/usr/bin/yum-debug-restore
/usr/bin/yum-groups-manager
/usr/bin/yumdownloader
```
* Display the dependencies of an package(it can be a software package that has been installed or not installed), Equivalent to `dnf deplist <package-name>`.

repoquery --requires <package-name>

* Display the files provided by a installed package(does not work for packages that are not installed), Equivalent to `rpm -ql <package-name>`

```
$ repoquery -l yum-utils
/etc/bash_completion.d
/etc/bash_completion.d/yum-utils.bash
/usr/bin/debuginfo-install
/usr/bin/find-repos-of-install
/usr/bin/needs-restarting
/usr/bin/package-cleanup
/usr/bin/repo-graph
/usr/bin/repo-rss
/usr/bin/repoclosure
/usr/bin/repodiff
/usr/bin/repomanage
/usr/bin/repoquery
/usr/bin/reposync
/usr/bin/repotrack
/usr/bin/show-changed-rco
/usr/bin/show-installed
/usr/bin/verifytree
/usr/bin/yum-builddep
/usr/bin/yum-config-manager
/usr/bin/yum-debug-dump
/usr/bin/yum-debug-restore
/usr/bin/yum-groups-manager
/usr/bin/yumdownloader
```

* `yumdownloader` command:

Expand Down
1 change: 1 addition & 0 deletions docs/index.it.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Home
---

# Documentazione Rocky Linux

## Benvenuto!
Expand Down