mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
{yum, dnf}-config-manager: add page (#14061)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
e987cd8158
commit
86cbeda9c8
2 changed files with 35 additions and 0 deletions
28
pages/linux/dnf-config-manager.md
Normal file
28
pages/linux/dnf-config-manager.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# dnf config-manager
|
||||||
|
|
||||||
|
> Manage DNF configuration options and repositories on Fedora-based systems.
|
||||||
|
> More information: <https://manned.org/dnf-config-manager>.
|
||||||
|
|
||||||
|
- Add (and enable) a repository from a URL:
|
||||||
|
|
||||||
|
`dnf config-manager --add-repo={{repository_url}}`
|
||||||
|
|
||||||
|
- Print current configuration values:
|
||||||
|
|
||||||
|
`dnf config-manager --dump`
|
||||||
|
|
||||||
|
- Enable a specific repository:
|
||||||
|
|
||||||
|
`dnf config-manager --set-enabled {{repository_id}}`
|
||||||
|
|
||||||
|
- Disable specified repositories:
|
||||||
|
|
||||||
|
`dnf config-manager --set-disabled {{repository_id1 repository_id2 ...}}`
|
||||||
|
|
||||||
|
- Set a configuration option for a repository:
|
||||||
|
|
||||||
|
`dnf config-manager --setopt={{option}}={{value}}`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`dnf config-manager --help-cmd`
|
7
pages/linux/yum-config-manager.md
Normal file
7
pages/linux/yum-config-manager.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# yum config-manager
|
||||||
|
|
||||||
|
> This command is an alias of `dnf config-manager`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr dnf config-manager`
|
Loading…
Add table
Reference in a new issue