Installing plugins for playing movies and music
As a Fedora user and system administrator, you can use these steps to install additional multimedia plugins that enable you to play various video and audio types.
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: 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:
-
Enable RPM Fusion. You can choose one of the following ways to accomplish it:
-
Install new packages: Installing multimedia plug-ins with DNF
Enabling the RPM Fusion repositories using graphical applications
This procedure describes how to enable the RPM Fusion software repositories without using any command-line utilities.
Prerequisites
-
You have internet access.
-
You are using the Gnome desktop environment.
Procedure
-
In your web browser, open the following page: https://rpmfusion.org/Configuration.
-
To enable the Free repository, click the RPM Fusion free for Fedora version link on the page, where version is the Fedora release you are using. This prompts you to save or open the repo file.
-
Open the file using the Software Install application.
-
The Software application opens. Click the blue Install button.
-
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.
Additional resources
-
If the graphical configuration fails, try enabling the repositories using command-line utilities instead.
Enabling the RPM Fusion repositories using command-line utilities
This procedure describes how to enable the RPM Fusion software repositories without using any graphical applications.
Prerequisites
-
You have internet access.
Procedure
-
To enable the Free repository, use:
$ sudo dnf install \ https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
-
Optionally, enable the Nonfree repository:
$ sudo dnf install \ https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
-
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.
Additional resources
-
You can also use graphical applications to configure the repositories if you prefer.
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.
Prerequisites
-
Enable the RPM Fusion software repositories.
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
Third party repositories
There are a number of third-party software repositories for Fedora. They have more liberal licensing policies and provide software packages that Fedora excludes for various reasons. These software repositories are not officially affiliated or endorsed by the Fedora Project. Use them at your own discretion. For complete list, see FedoraThirdPartyRepos The following repositories are commonly used by end users and do not conflict with each other:
-
http://rpm.livna.org (Complementary to RPM Fusion)
Mixing third party software repositories
Mixing a lot of third party repositories is not recommended since they might conflict with each other causing instability and hard to debug issues. If you are not a technical user, one way is to not enable the third-party repo by default and instead use the --enablerepo switch for yum or dnf, or a similar method configurable in the graphical package manager.
The purpose of RPM Fusion
The RPM Fusion project is community-maintained software repository providing additional packages that cannot be distributed in Fedora for legal reasons. Software patents apply to some of the packages in RPM Fusion, and as a consequence, it might not be legal to install these packages in certain countries: for example, in the United States or in Japan.
RPM Fusion also provides packages for Red Hat Enterprise Linux.
Additional resources
-
RPM Fusion home page: https://rpmfusion.org/
-
For more information on what packages are allowed to be distributed with Fedora, see the following wiki page: https://fedoraproject.org/wiki/Forbidden_items
-
You can buy multimedia codecs from Fluendo. This is a legal solution for users from countries where software patents apply. For more information, see: https://fluendo.com/en/products/enterprise/fluendo-codec-pack/.