2017-12-18 16:23:48 +00:00
|
|
|
[id='enabling-repositories']
|
|
|
|
= Enabling repositories
|
|
|
|
|
|
|
|
This section shows how to enable a particular software repository by using the `dnf config-manager` command.
|
|
|
|
|
|
|
|
* To enable a particular repository, use the following command as `root`.
|
|
|
|
+
|
|
|
|
[literal,subs="+quotes,attributes"]
|
|
|
|
----
|
2021-10-29 19:55:07 +00:00
|
|
|
dnf config-manager --set-enabled '_repository_`
|
2017-12-18 16:23:48 +00:00
|
|
|
----
|
|
|
|
+
|
2018-01-21 13:48:48 +00:00
|
|
|
Replace `_repository_` with the unique repository ID, for example:
|
2017-12-18 16:23:48 +00:00
|
|
|
+
|
|
|
|
----
|
2021-10-29 19:55:07 +00:00
|
|
|
dnf config-manager --set-enabled fedora-extras
|
2017-12-18 16:23:48 +00:00
|
|
|
----
|