mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-30 23:38:18 +00:00
17 lines
466 B
Text
17 lines
466 B
Text
[id='disabling-repositories']
|
|
= Disabling repositories
|
|
|
|
This section shows how to disable a particular software repository by using the `dnf config-manager` command.
|
|
|
|
* To disable a particular repository, run the following command as `*root*`.
|
|
+
|
|
[literal,subs="+quotes,attributes"]
|
|
----
|
|
dnf config-manager --set-disabled *_repository_*
|
|
----
|
|
+
|
|
Where *_repository_* is the unique repository ID, for example:
|
|
+
|
|
----
|
|
dnf config-manager --set-disabled fedora-extras
|
|
----
|