Flash

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(That wasn't so much an edit as a massacre.)
(A few touch-ups and libcurl)
Line 3: Line 3:
 
== Flash is Non-Free Software ==
 
== Flash is Non-Free Software ==
  
Adobe's Flash Player cannot be included in Fedora because it is not free/libre and open source software.  Adobe does release a version of the Flash plugin for Linux, and this can be used in Firefox, Konqueror and other popular Internet browsers.  When Adobe releases a newer version of the Linux Flash plugin, it makes packages available for Fedora, but Fedora cannot include Adobe's plugin as long as it is unavailable as free and open source software.
+
Adobe's Flash plugin cannot be included in Fedora because it is not free/libre and open source software.  Adobe does release a version of the Flash plugin for Linux, and this can be used in Firefox, Konqueror and other popular Internet browsers.  When Adobe releases a newer version of the Linux Flash plugin, it makes packages available for Fedora, but Fedora cannot include Adobe's plugin as long as it is unavailable as free and open source software.
  
 
== Fedora 10 ==
 
== Fedora 10 ==
Line 11: Line 11:
 
=== Enabling Flash Plugin ===
 
=== Enabling Flash Plugin ===
  
Adobe offers several methods to install their 32-bit Flash Player 10.  In general, the YUM version is preferred, since it allows the player to be updated automatically through Fedora's normal update mechanism.  The YUM version simply installs the repository configuration files, after which you must install Flash Player.
+
Adobe offers several methods to install their 32-bit Flash 10 plugin.  In general, the YUM version is preferred, since it allows the plugin to be updated automatically through Fedora's normal update mechanism.  The YUM version simply installs the repository configuration files, after which you must install the Flash plugin separately.
  
 
To begin, refer to the Adobe site at http://get.adobe.com/flashplayer/.  Select ''YUM for Linux'' to download, and confirm.
 
To begin, refer to the Adobe site at http://get.adobe.com/flashplayer/.  Select ''YUM for Linux'' to download, and confirm.
Line 21: Line 21:
 
After installing the repository configuration, run the following command to install the Flash plugin and ensure sound is enabled:
 
After installing the repository configuration, run the following command to install the Flash plugin and ensure sound is enabled:
 
<pre>
 
<pre>
su -c 'yum install flash-plugin alsa-plugins-pulseaudio'
+
su -c 'yum install flash-plugin alsa-plugins-pulseaudio \
 +
    libcurl'
 
</pre>
 
</pre>
  
You may see a message indicating that <code>alsa-plugins-pulseaudio</code> is already installed.  This is not a problem.  Note also that <code>nspluginwrapper</code> is already installed by default and will wrap the Flash plugin.
+
You may see messages indicating that <code>alsa-plugins-pulseaudio</code> and <code>libcurl</code> are already installed.  This is not a problem.  Note also that <code>nspluginwrapper</code> is already installed by default and will wrap the Flash plugin.
  
 
Next, you should [[#Checking_the_plugin | check the plugin]].
 
Next, you should [[#Checking_the_plugin | check the plugin]].
Line 30: Line 31:
 
==== For x86_64 ====
 
==== For x86_64 ====
  
{{Admon/note | Adobe Flash 64-bit alpha | At the time of this release, Adobe also has an alpha version of a 64-bit player.  When that product is more mature, these instructions will cover its use.}}
+
{{Admon/note | Adobe Flash 64-bit alpha | At the time of this release, Adobe also has an alpha version of a 64-bit plugin.  When that product is more mature, these instructions will cover its use.}}
  
 
After installing the repository configuration, run the following command to install the Flash plugin and ensure sound is enabled:
 
After installing the repository configuration, run the following command to install the Flash plugin and ensure sound is enabled:
 
<pre>
 
<pre>
 
su -c 'yum install flash-plugin nspluginwrapper.x86_64 \
 
su -c 'yum install flash-plugin nspluginwrapper.x86_64 \
     nspluginwrapper.i386 alsa-plugins-pulseaudio.i386'
+
     nspluginwrapper.i386 alsa-plugins-pulseaudio.i386 \
 +
    libcurl.i386'
 
</pre>
 
</pre>
  
Line 51: Line 53:
 
[[Image:Flash-check-2.png]]
 
[[Image:Flash-check-2.png]]
  
This information tells you that Adobe Flash Player has been successfully installed.
+
This information tells you that the Adobe Flash plugin has been successfully installed.
  
 
=== SELinux problems ===
 
=== SELinux problems ===
Line 63: Line 65:
 
=== <code>libflashsupport</code> deprecated ===
 
=== <code>libflashsupport</code> deprecated ===
  
The <code>libflashsupport</code> package is no longer needed with Flash 10 and has been removed from Fedora 10.  The Flash plugin now calls ALSA functions directly, and in the default configuration ALSA delivers sound to PulseAudio.
+
The <code>libflashsupport</code> package is no longer needed with Flash 10 and has been removed from Fedora 10.  The Flash plugin now calls the appropriate ALSA functions directly, and in the default configuration ALSA delivers sound to PulseAudio.

Revision as of 04:20, 22 November 2008

This page contains information on Flash, a proprietary format for delivering audio and video content, primarily over the Internet.

Contents

Flash is Non-Free Software

Adobe's Flash plugin cannot be included in Fedora because it is not free/libre and open source software. Adobe does release a version of the Flash plugin for Linux, and this can be used in Firefox, Konqueror and other popular Internet browsers. When Adobe releases a newer version of the Linux Flash plugin, it makes packages available for Fedora, but Fedora cannot include Adobe's plugin as long as it is unavailable as free and open source software.

Fedora 10

This section contains information relevant specifically to Fedora 10 installation of Flash.

Enabling Flash Plugin

Adobe offers several methods to install their 32-bit Flash 10 plugin. In general, the YUM version is preferred, since it allows the plugin to be updated automatically through Fedora's normal update mechanism. The YUM version simply installs the repository configuration files, after which you must install the Flash plugin separately.

To begin, refer to the Adobe site at http://get.adobe.com/flashplayer/. Select YUM for Linux to download, and confirm.

Then proceed to either the instructions for 32-bit (i386) platforms or 64-bit (x86_64) platforms.

For i386

After installing the repository configuration, run the following command to install the Flash plugin and ensure sound is enabled:

su -c 'yum install flash-plugin alsa-plugins-pulseaudio \
    libcurl'

You may see messages indicating that alsa-plugins-pulseaudio and libcurl are already installed. This is not a problem. Note also that nspluginwrapper is already installed by default and will wrap the Flash plugin.

Next, you should check the plugin.

For x86_64

Note.png
Adobe Flash 64-bit alpha
At the time of this release, Adobe also has an alpha version of a 64-bit plugin. When that product is more mature, these instructions will cover its use.

After installing the repository configuration, run the following command to install the Flash plugin and ensure sound is enabled:

su -c 'yum install flash-plugin nspluginwrapper.x86_64 \
    nspluginwrapper.i386 alsa-plugins-pulseaudio.i386 \
    libcurl.i386'

You may see a message indicating that nspluginwrapper.x86_64 is already installed. This is not a problem.

Checking the plugin

After the installation, exit all copies of Firefox and start it again to enable the plugin. Then type the following text in the Firefox address bar:

about:plugins

A section similar to the following should appear:

Flash-check-2.png

This information tells you that the Adobe Flash plugin has been successfully installed.

SELinux problems

In some cases, nspluginwrapper produces SELinux AVC errors, some of which may prevent viewing Flash content. Changing the relevant SELinux boolean may resolve this problem, but eliminates a great deal of additional security when using nspluginwrapper. To make the change, run the following command:

su -c 'setsebool -P allow_unconfined_nsplugin_transition=0'

libflashsupport deprecated

The libflashsupport package is no longer needed with Flash 10 and has been removed from Fedora 10. The Flash plugin now calls the appropriate ALSA functions directly, and in the default configuration ALSA delivers sound to PulseAudio.