mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-25 05:37:32 +00:00
21 lines
482 B
Text
21 lines
482 B
Text
|
[id='enabling-repositories']
|
||
|
= Enabling repositories
|
||
|
|
||
|
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_
|
||
|
----
|
||
|
+
|
||
|
Replace _repository_ with the unique repository ID, for example:
|
||
|
+
|
||
|
----
|
||
|
dnf config-manager --set-enabled fedora-extras
|
||
|
----
|