diff --git a/pages/linux/dnf-config-manager.md b/pages/linux/dnf-config-manager.md new file mode 100644 index 0000000000..d2a910fcca --- /dev/null +++ b/pages/linux/dnf-config-manager.md @@ -0,0 +1,28 @@ +# dnf config-manager + +> Manage DNF configuration options and repositories on Fedora-based systems. +> More information: . + +- 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` diff --git a/pages/linux/yum-config-manager.md b/pages/linux/yum-config-manager.md new file mode 100644 index 0000000000..eaad6fd63b --- /dev/null +++ b/pages/linux/yum-config-manager.md @@ -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`