mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
#477 Adding or removing software repositories
This commit is contained in:
parent
8593d6038b
commit
3705e4f25b
2 changed files with 16 additions and 0 deletions
14
modules/ROOT/pages/_partials/proc_removing-repositories.adoc
Normal file
14
modules/ROOT/pages/_partials/proc_removing-repositories.adoc
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[id='removing-repositories']
|
||||||
|
= Removing repositories
|
||||||
|
|
||||||
|
This section shows how to remove a `.repo` file from the Yum repository.
|
||||||
|
|
||||||
|
* To remove a `.repo` file, run the following command as `*root*`.
|
||||||
|
+
|
||||||
|
[literal,subs="+quotes,attributes"]
|
||||||
|
----
|
||||||
|
rm /etc/yum.repos.d/*_repository_*.repo
|
||||||
|
----
|
||||||
|
+
|
||||||
|
Where *_repository_* is the unique repository ID.
|
||||||
|
+
|
|
@ -12,5 +12,7 @@ include::{partialsdir}/proc_adding-repositories.adoc[leveloffset=+1]
|
||||||
include::{partialsdir}/proc_enabling-repositories.adoc[leveloffset=+1]
|
include::{partialsdir}/proc_enabling-repositories.adoc[leveloffset=+1]
|
||||||
|
|
||||||
include::{partialsdir}/proc_disabling-repositories.adoc[leveloffset=+1]
|
include::{partialsdir}/proc_disabling-repositories.adoc[leveloffset=+1]
|
||||||
|
|
||||||
|
include::{partialsdir}/proc_removing-repositories.adoc[leveloffset=+1]
|
||||||
ifdef::parent-context[:context: {parent-context}]
|
ifdef::parent-context[:context: {parent-context}]
|
||||||
ifndef::parent-context[:!context:]
|
ifndef::parent-context[:!context:]
|
||||||
|
|
Loading…
Reference in a new issue