This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Adobe Flash

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Resources

Installation

There are several options available for using Adobe Flash Player on Gentoo. Some options work with all web browsers, while others are limited to specific web browsers.

USE flags

Cannot load package information. Is the atom www-plugins/adobe-flash correct?

Emerge

To use Adobe Flash Player with a NPAPI-based browser e.g. Firefox, Konqueror, enable the nsplugin USE flag:

FILE /etc/portage/package.use
www-plugins/adobe-flash nsplugin

To use Adobe Flash Player with a PPAPI-based browser e.g. Chromium, enable the ppapi USE flag:

FILE /etc/portage/package.use
www-plugins/adobe-flash ppapi

Adobe Flash Player has a proprietary license that needs to be accepted before installation:

FILE /etc/portage/package.license
www-plugins/adobe-flash AdobeFlash-11.x

Next, install Adobe Flash Player:

root #emerge --ask www-plugins/adobe-flash

After installation, start/restart the web browser.

Alternatives

Google Chrome

Google Chrome bundles a PPAPI-based Adobe Flash Player. Simply install www-client/google-chrome to use Adobe Flash Player:

root #emerge --ask www-client/google-chrome
Note
This will not enable Adobe Flash Player for use in other web browsers.

freshplayerplugin

freshplayerplugin is a NPAPI wrapper for the PPAPI-based Adobe Flash Player. To use the PPAPI-based Adobe Flash Player with a NPAPI-based browser, install www-plugins/freshplayerplugin:

root #emerge --ask www-plugins/freshplayerplugin

After installation, start/restart the web browser.

Other

An alternative to using Adobe Flash Player when only playing video streams from YouTube, Vimeo, Twitch, Internet TV stream, etc., is to install media-video/mpv with the lua USE flag, and media-video/ffmpeg or media-video/libav with the openssl USE flag. The lua USE flag allows net-misc/youtube-dl to work in mpv, and the openssl USE flag allows FFmpeg/Libav to open https:// streams. Next, install the Open-with Firefox add-on and configure it in the following way:

  • Open about:openwith, select Add...
  • In the dialog select a video streaming capable player (e.g. /usr/bin/mpv).
  • (Optional step) Choose how to display the dialogs using the left panel of Open-with add-on.
  • Right click on links or visit pages containing videos. If the site is supported, the player will be open as expected.

The same procedure can be used to associate other video downloaders such as net-misc/youtube-dl.

External resources