mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-25 21:54:52 +00:00
20 lines
494 B
Text
20 lines
494 B
Text
[id='disabling-repositories']
|
|
= Disabling repositories
|
|
|
|
This section shows how to disable a particular software repository by using the `dnf config-manager` command.
|
|
|
|
[discrete]
|
|
= Procedure
|
|
|
|
* To disable a particular repository, use the following command as *root*:
|
|
+
|
|
[literal,subs="+quotes,attributes"]
|
|
----
|
|
# dnf config-manager --set-disabled _repository_
|
|
----
|
|
+
|
|
Replace `_repository_` with the unique repository ID, for example:
|
|
+
|
|
----
|
|
# dnf config-manager --set-disabled fedora-extras
|
|
----
|