c v t

Installing Flash player content debugger on Fedora x86_64

25 September 2012

Update 17th February 2017

Oh happy day! Adobe now provides 64-bit Flash debugger for GNU/Linux:

  • Click the "Download the Flash Player Plugin content debugger (64-bit) - NPAPI" link on their site

  • sudo dnf remove nspluginwrapper

  • sudo dnf reinstall flash-plugin

  • extract the files from the downloaded archive

  • copy to /usr/lib64/mozilla/plugins

  • sudo restorecon -R /usr/lib64/mozilla/plugins

  • restart Firefox

  • rejoice!

  • .. then evaluate the life decisions that have led to you still working on a Flex app..

Update 7th July 2016

Still working on Fedora 24, but:

  • nspluginwrapper has been orphaned; install F23 version from Koji:

    $ sudo dnf install
  • Firefox doesn't seem to look in /usr/lib64/mozilla/plugins-wrapped any more, but a link works:

    $ sudo ln -s /usr/lib64/mozilla/plugins-wrapped/ /usr/lib64/mozilla/plugins/
  • I got frustrated and disabled SELinux, but it's probably relatively easy not to (chcon -t mozilla_plugin_rw_t ...?)

  • Somehow, four years after initially writing this post, Adobe has still not released an x86_64 debugger on Linux. And I'm still working on a project involving Flex. Which is the bigger catastrophe?

Update 26 February 2013

  • added SELinux restorecon command and nspluginwrapper.x86_64, which I'd apparently already run when I first wrote this

These instructions seem to work with Fedora 18. Long live Flash! :S

Original post

If you need to debug Flash applications on Fedora x86_64 (probably / possibly using FlashFirebug), the following should do:

  • Follow Adobe's instructions to install the i386 repository, or use this command to do all those steps at once:

    $ sudo yum localinstall
  • Install the i386 version of the flash plugin:

    $ sudo yum install flash-plugin.i386
  • Download the content debugger from the Adobe site, then extract the relevant file:

    $ wget -q 
        -O - | tar xzf -
  • Over-write as installed by the flash-plugin RPM, and update the SELinux context:

    $ sudo mv /usr/lib/flash-plugin/
    $ sudo /sbin/restorecon -v /usr/lib/flash-plugin/
  • Install and run both the 64- and 32-bit versions of nspluginwrapper (the post-installation RPM scripts should take care of the "run" part):

    $ sudo yum install nspluginwrapper.x86_64 nspluginwrapper.i686
  • Never touch.

Hopefully, now that Adobe has discontinued both the Linux Flash plugin itself and Flex (the framework that keeps me using Flash), this'll be the last time I ever have to deal with this lobotomy of an installation process. Consider my breath held.