mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-30 23:38:18 +00:00
17 lines
460 B
Text
17 lines
460 B
Text
[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, run the following command as `*root*`.
|
|
+
|
|
[literal,subs="+quotes,attributes"]
|
|
----
|
|
dnf config-manager --set-enabled *_repository_*
|
|
----
|
|
+
|
|
Where *_repository_* is the unique repository ID, for example:
|
|
+
|
|
----
|
|
dnf config-manager --set-enabled fedora-extras
|
|
----
|