#477 Adding or removing software repositories

This commit is contained in:
Anthony McGlone 2022-11-23 15:00:25 +00:00
parent 8593d6038b
commit 3705e4f25b
2 changed files with 16 additions and 0 deletions

View 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.
+

View file

@ -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:]