Installing movies and music: refer to RPMFusion page and remove unneeded partial

This commit is contained in:
Ankur Sinha (Ankur Sinha Gmail) 2019-03-20 21:23:02 +00:00
parent c771a8d386
commit 4b4a6e61df
No known key found for this signature in database
GPG key ID: F8D8C0BEBAC898BD
2 changed files with 15 additions and 83 deletions

View file

@ -1,55 +0,0 @@
// Module included in the following assemblies:
//
// <List assemblies here, each on a new line>
// This module can be included from assemblies using the following include statement:
// include::modules/<subsystem>/proc_installing-multimedia-plug-ins-with-dnf.adoc[leveloffset=+1]
// The file name and the ID are based on the module title. For example:
// * file name: proc_doing-procedure-a.adoc
// * ID: [id='proc_doing-procedure-a_{context}']
// * Title: = Doing procedure A
//
// The ID is used as an anchor for linking to the module. Avoid changing
// it after the module has been published to ensure existing links are not
// broken.
//
// The `context` attribute enables module reuse. Every module's ID includes
// {context}, which ensures that the module has a unique ID even if it is
// reused multiple times in a guide.
//
// Start the title with a verb, such as Creating or Create. See also
// _Wording of headings_ in _The IBM Style Guide_.
[id="proc_installing-multimedia-plug-ins-with-dnf_{context}"]
= Installing multimedia plug-ins with DNF
This procedure describes how to install packages that provide additional multimedia libraries that enable you to play various video and audio files.
[discrete]
== Prerequisites
* Enable the RPM Fusion software repositories.
[discrete]
== Procedure
* Use the `dnf` utility to install packages that provide multimedia libraries:
+
----
$ sudo dnf install gstreamer1-libav gstreamer1-plugins-bad-free \
gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free-extras \
gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-nonfree \
gstreamer1-plugins-good gstreamer1-plugins-ugly lame-libs lame-libs
$ sudo dnf group upgrade --with-optional Multimedia
----
// [discrete]
// == Additional resources
//
// * A bulleted list of links to other material closely related to the contents of the procedure module.
// * For more details on writing procedure modules, see the link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
// * Use a consistent system for file names, IDs, and titles. For tips, see _Anchor Names and File Names_ in link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].

View file

@ -43,37 +43,24 @@ As a Fedora user and system administrator, you can use these steps to install ad
WARNING: If you live in a country where software patents apply, such as in the United States or in Japan, you need to obtain multimedia codecs from a source that legally distributes patented software in your country. For example, see the Fluendo Codec Pack: link:https://fluendo.com/en/products/enterprise/fluendo-codec-pack/[].
The following procedures only apply to users in countries that do not recognize software patents. The steps are:
[discrete]
== Prerequisites
. Enable RPM Fusion. You can choose one of the following ways to accomplish it:
* xref:setup_rpmfusion.adoc[Enable the RPMFusion repositories].
[discrete]
== Procedure
* Use the `dnf` utility to install packages that provide multimedia libraries:
+
** xref:proc_enabling-the-rpmfusion-repositories-using-graphical-applications_assembly_installing-plugins-for-playing-movies-and-music[]
** xref:proc_enabling-the-rpmfusion-repositories-using-command-line-utilities_assembly_installing-plugins-for-playing-movies-and-music[]
. Install new packages: xref:proc_installing-multimedia-plug-ins-with-dnf_assembly_installing-plugins-for-playing-movies-and-music[]
----
$ sudo dnf install gstreamer1-libav gstreamer1-plugins-bad-free \
gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free-extras \
gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-nonfree \
gstreamer1-plugins-good gstreamer1-plugins-ugly lame-libs lame-libs
// [id='prerequisites-{context}']
// == Prerequisites
//
// * Delete the section title and bullets if the assembly has no prerequisites.
// The following include statements pull in the module files that comprise
// the assembly. Include any combination of concept, procedure, or reference
// modules required to cover the user story. You can also include other
// assemblies.
include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-using-graphical-applications.adoc[leveloffset=+1]
include::{partialsdir}/proc_enabling-the-rpmfusion-repositories-using-command-line-utilities.adoc[leveloffset=+1]
include::{partialsdir}/proc_installing-multimedia-plug-ins-with-dnf.adoc[leveloffset=+1]
include::{partialsdir}/concept_third-party-repositories.adoc[leveloffset=+1]
include::{partialsdir}/con_the-purpose-of-rpm-fusion.adoc[leveloffset=+1]
// [leveloffset=+1] ensures that when a module starts with a level-1 heading
// (= Heading), the heading will be interpreted as a level-2 heading
// (== Heading) in the assembly.
$ sudo dnf group upgrade --with-optional Multimedia
----
[id='related-information-{context}']
== Related information