mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 23:06:36 +00:00
16 lines
469 B
Text
16 lines
469 B
Text
|
[id='enabling-third-party-repository']
|
||
|
= Enabling Third party repositories
|
||
|
|
||
|
Once you have downloaded the rpm, you can enable the repository.
|
||
|
|
||
|
== To enable repo:
|
||
|
|
||
|
. Login as root:
|
||
|
`#su`
|
||
|
|
||
|
. Create a file in */etc/yum.repos.d/* directory to enable third party repository. This file must end with *.repo* . The repository file contains the URL of the the repository, a name, enabled, gpgcheck.
|
||
|
|
||
|
. To enable repo, use the following command:
|
||
|
`#dnf --enablerepo=<reponame>`
|
||
|
|