quick-docs/modules/ROOT/pages/_partials/proc_disabling-repositories.adoc

21 lines
494 B
Text
Raw Normal View History

[id='disabling-repositories']
= Disabling repositories
This section shows how to disable a particular software repository by using the `dnf config-manager` command.
[discrete]
= Procedure
2018-01-21 13:48:48 +00:00
* To disable a particular repository, use the following command as *root*:
+
[literal,subs="+quotes,attributes"]
----
2018-01-21 13:48:48 +00:00
# dnf config-manager --set-disabled _repository_
----
+
2018-01-21 13:48:48 +00:00
Replace `_repository_` with the unique repository ID, for example:
+
----
2018-01-21 13:48:48 +00:00
# dnf config-manager --set-disabled fedora-extras
----