mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 14:56:35 +00:00
#179-Remove 'Procedure' heading and # prompt from enabling-repositories and disabling-repositories
This commit is contained in:
parent
912d2e22d9
commit
90fb4de74a
2 changed files with 4 additions and 10 deletions
|
@ -3,18 +3,15 @@
|
|||
|
||||
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_
|
||||
dnf config-manager --set-disabled _repository_
|
||||
----
|
||||
+
|
||||
Replace `_repository_` with the unique repository ID, for example:
|
||||
+
|
||||
----
|
||||
# dnf config-manager --set-disabled fedora-extras
|
||||
dnf config-manager --set-disabled fedora-extras
|
||||
----
|
||||
|
|
|
@ -3,18 +3,15 @@
|
|||
|
||||
This section shows how to enable a particular software repository by using the `dnf config-manager` command.
|
||||
|
||||
[discrete]
|
||||
= Procedure
|
||||
|
||||
* To enable a particular repository, use the following command as `root`.
|
||||
+
|
||||
[literal,subs="+quotes,attributes"]
|
||||
----
|
||||
# dnf config-manager --set-enabled _repository_
|
||||
dnf config-manager --set-enabled '_repository_`
|
||||
----
|
||||
+
|
||||
Replace `_repository_` with the unique repository ID, for example:
|
||||
+
|
||||
----
|
||||
# dnf config-manager --set-enabled fedora-extras
|
||||
dnf config-manager --set-enabled fedora-extras
|
||||
----
|
||||
|
|
Loading…
Reference in a new issue