From 2654f508cfc59c60310c3f7d8d1459763906da23 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Wed, 20 Mar 2019 20:56:36 +0000 Subject: [PATCH] Create new page on installing rpmfusion using partials --- modules/ROOT/nav.adoc | 1 + ...rpmfusion-repositories-appstream-data.adoc | 19 +++++++++++++++++++ ...sitories-using-command-line-utilities.adoc | 5 ----- ...sitories-using-graphical-applications.adoc | 6 ------ modules/ROOT/pages/setup_rpmfusion.adoc | 18 ++++++++++++++++++ 5 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-appstream-data.adoc create mode 100644 modules/ROOT/pages/setup_rpmfusion.adoc diff --git a/modules/ROOT/nav.adoc b/modules/ROOT/nav.adoc index ff573c1..5446f94 100644 --- a/modules/ROOT/nav.adoc +++ b/modules/ROOT/nav.adoc @@ -9,6 +9,7 @@ ** xref:finding-and-installing-linux-applications.adoc[Finding and installing Linux applications] ** xref:repositories.adoc[Fedora Repositories] ** xref:adding-or-removing-software-repositories-in-fedora.adoc[Adding or removing software repositories in Fedora] +** xref:setup_rpmfusion.adoc[Enabling the RPM Fusion repositories] ** xref:installing-chromium-or-google-chrome-browsers.adoc[Installing Chromium or Google Chrome browsers] ** xref:switching-desktop-environments.adoc[Switching desktop environments] ** xref:configuring-x-window-system-using-the-xorg-conf-file.adoc[Configuring X Window System using the xorg.conf file] diff --git a/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-appstream-data.adoc b/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-appstream-data.adoc new file mode 100644 index 0000000..9d7fc50 --- /dev/null +++ b/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-appstream-data.adoc @@ -0,0 +1,19 @@ +[id="proc_enabling-the-rpmfusion-repositories-appstream-data_{context}"] += Enabling Appstream data from the RPM Fusion repositories + +This procedure describes how to install the Appstream data provided by the RPM Fusion software repositories. + +[discrete] +== Prerequisites + +* You have internet access. +* You are using the Gnome desktop environment. +* You have the RPMFusion repositories installed + +[discrete] +== Procedure + +[subs=+quotes] +---- +$ sudo dnf groupupdate core +---- diff --git a/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-using-command-line-utilities.adoc b/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-using-command-line-utilities.adoc index a4f730c..c26933f 100644 --- a/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-using-command-line-utilities.adoc +++ b/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-using-command-line-utilities.adoc @@ -51,8 +51,3 @@ $ sudo dnf install \ . The first time you attempt to install packages from these repositories, the `dnf` utility prompts you to confirm the signature of the repositories. Confirm it. -[discrete] -== Additional resources - -* You can also use graphical applications to configure the repositories if you prefer. - diff --git a/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-using-graphical-applications.adoc b/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-using-graphical-applications.adoc index 8e542c4..93eeae5 100644 --- a/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-using-graphical-applications.adoc +++ b/modules/ROOT/pages/_partials/proc_enabling-the-rpmfusion-repositories-using-graphical-applications.adoc @@ -45,9 +45,3 @@ This procedure describes how to enable the RPM Fusion software repositories with . Optionally, enable the _Nonfree_ repository: click the *RPM Fusion nonfree for Fedora _version_* link on the page, where _version_ is the Fedora release you are using. . Save and install the file with the *Software* application again. - -[discrete] -== Additional resources - -* If the graphical configuration fails, try enabling the repositories using command-line utilities instead. - diff --git a/modules/ROOT/pages/setup_rpmfusion.adoc b/modules/ROOT/pages/setup_rpmfusion.adoc new file mode 100644 index 0000000..dcd6317 --- /dev/null +++ b/modules/ROOT/pages/setup_rpmfusion.adoc @@ -0,0 +1,18 @@ += Enabling the RPM Fusion repositories +ifdef::context[:parent-context: {context}] +:context: enabling-the-rpmfusion-repositories + + +include::{partialsdir}/3rdparty-message.adoc[] +include::{partialsdir}/concept_third-party-repositories.adoc[leveloffset=+1] +include::{partialsdir}/con_the-purpose-of-rpm-fusion.adoc[leveloffset=+1] +include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-using-command-line-utilities.adoc[leveloffset=+1] +include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-using-graphical-applications.adoc[leveloffset=+1] +include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-appstream-data.adoc[leveloffset=+1] + +== References + +* https://rpmfusion.org/Configuration + +ifdef::parent-context[:context: {parent-context}] +ifndef::parent-context[:!context:]