From 3705e4f25bbb0635fcdd0a7df9385c55df643a69 Mon Sep 17 00:00:00 2001 From: Anthony McGlone Date: Wed, 23 Nov 2022 15:00:25 +0000 Subject: [PATCH] #477 Adding or removing software repositories --- .../_partials/proc_removing-repositories.adoc | 14 ++++++++++++++ ...r-removing-software-repositories-in-fedora.adoc | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 modules/ROOT/pages/_partials/proc_removing-repositories.adoc diff --git a/modules/ROOT/pages/_partials/proc_removing-repositories.adoc b/modules/ROOT/pages/_partials/proc_removing-repositories.adoc new file mode 100644 index 0000000..53435a5 --- /dev/null +++ b/modules/ROOT/pages/_partials/proc_removing-repositories.adoc @@ -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. ++ \ No newline at end of file diff --git a/modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc b/modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc index 905ab3e..0ea9eff 100644 --- a/modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc +++ b/modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc @@ -12,5 +12,7 @@ include::{partialsdir}/proc_adding-repositories.adoc[leveloffset=+1] include::{partialsdir}/proc_enabling-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}] ifndef::parent-context[:!context:]