<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Definitive fix for flashplayer on Debian 9.4.0 (Stretch) and others]]></title><description><![CDATA[<p dir="auto">Last year I've <a href="https://forums.opera.com/topic/21480/opera-not-loading-flashplayer">made a post</a> asking for support and I didn't have the time to look in to this, a month ago I gave Opera another try and with more time in hand I could crack this one for good.</p>
<p dir="auto">Ubuntu is Debian based but is not Debian, so packages build for Ubuntu is not always available or compatible with Debian, forcing a install can brake the OS and cause a lot of trouble that people are not looking for.</p>
<p dir="auto">This are the steps:</p>
<ul>
<li>Download the last flash player from <a href="https://get.adobe.com/br/flashplayer/" target="_blank" rel="noopener noreferrer nofollow ugc">Adobe</a> and extract somewhere</li>
<li>Create a folder at your home with <code>mkdir -p ~/.config/flashplayer</code></li>
<li>Copy the files <code>libpepflashplayer.so</code> and <code>manifest.json</code> to <code>~/.config/flashplayer</code> with <code>copy libpepflashplayer.so manifest.json ~/.config/flashplayer</code></li>
<li>Create a system default flashplayer directory with <code>sudo mkdir /usr/lib/adobe-flashplugin</code></li>
<li>Link the files we need to that directory with <code>sudo ln -s ~/.config/flashplayer/libpepflashplayer.so /usr/lib/adobe-flashplugin</code> and <code>sudo ln -s ~/.config/flashplayer/manifest.json /usr/lib/adobe-flashplugin</code></li>
</ul>
<p dir="auto">Flash player in Opera should work by now but it doesn't, Opera needs some environment information, for that we need some extra steps as follows:</p>
<ul>
<li>Edit <code>~/.bashrc</code> and add the following <strong>at the end</strong></li>
</ul>
<pre><code>export flash_library="/usr/lib/adobe-flashplugin/libpepflashplayer.so"
export flash_version=$(grep '"version":' /usr/lib/adobe-flashplugin/manifest.json | cut -d\" -f4)
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flash_library --ppapi-flash-version=$flash_version"
</code></pre>
<ul>
<li>Save, exit your session and start Opera</li>
</ul>
<p dir="auto">Goto to <a href="https://helpx.adobe.com/flash-player.html" target="_blank" rel="noopener noreferrer nofollow ugc">this site</a> and click at <strong>Check Now</strong>, if you done all right, you should see the screen bellow:<br />
<img src="https://s6.postimg.cc/ufpdncyw1/Opera_flash.png" alt="Flashplayer now working on Debian" class=" img-responsive img-markdown" /></p>
<p dir="auto">Now every time you need to update the flashplayer, all you have to do is to copy the new files over the old ones at your own home at .config/flashplayer.</p>
<p dir="auto">PS: It might not be necessary, but maybe your system may ask for this two fonts <code>sudo apt-get install ttf-dejavu ttf-xfree86-nonfree</code></p>
]]></description><link>https://forums.opera.com/topic/27510/definitive-fix-for-flashplayer-on-debian-9-4-0-stretch-and-others</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 21:49:16 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/27510.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 Jul 2018 15:18:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Definitive fix for flashplayer on Debian 9.4.0 (Stretch) and others on Sun, 08 Jul 2018 19:08:51 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I know that works too! <img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60a.png?v=o7miklbo7rs" class="not-responsive emoji emoji-emoji-one emoji--smiling_face_with_smiling_eyes" title=":smiling_face_with_smiling_eyes:" alt="😊" /><br />
I had a very bad experience with <a href="http://deb-multimedia.org" target="_blank" rel="noopener noreferrer nofollow ugc">deb-multimedia.org</a>, the apt decided to upgrade things using that repo and broke a lot of things on my system, so I pass. It took me a lot of time to discover that Opera requires that environment and not just the so in the right place.</p>
<p dir="auto">Now the news is out there, there is no more need to use <a href="http://deb-multimedia.org" target="_blank" rel="noopener noreferrer nofollow ugc">deb-multimedia.org</a> and any Linux system can make use of it. I don't use flash anymore, my config is set to block it, but for those that need it.</p>
<p dir="auto">It's possible to run scripts or commands apt after an upgrade or update comand:<br />
<a href="https://unix.stackexchange.com/questions/70686/how-to-run-a-command-after-apt-get-upgrade" target="_blank" rel="noopener noreferrer nofollow ugc">https://unix.stackexchange.com/questions/70686/how-to-run-a-command-after-apt-get-upgrade</a></p>
<p dir="auto">If people are so in need of flash, it's possible to create a script to update not only flash but libffmpeg also among with the trivial <code>apt-get update &amp;&amp; apt-get upgrade</code>.</p>
]]></description><link>https://forums.opera.com/post/150072</link><guid isPermaLink="true">https://forums.opera.com/post/150072</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sun, 08 Jul 2018 19:08:51 GMT</pubDate></item><item><title><![CDATA[Reply to Definitive fix for flashplayer on Debian 9.4.0 (Stretch) and others on Sun, 08 Jul 2018 10:16:16 GMT]]></title><description><![CDATA[<p dir="auto">Or...<br />
You can just install the flashplugin-chromium package from <a href="http://deb-multimedia.org" target="_blank" rel="noopener noreferrer nofollow ugc">deb-multimedia.org</a> (dmo for short) and let apt do all that work for you, including the update.<br />
What you suggest for bashrc is located in /etc/chromium.d/flashplayer-chromium.conf and the .so and .json files are placed in a directory suggested by adobe itself</p>
<pre><code>$ cat /etc/chromium.d/flashplayer-chromium.conf
# Make sure that Chromium finds the plugin:
flash_library="/usr/lib/adobe-flashplugin/libpepflashplayer.so"
flash_version=$(grep '"version":' /usr/lib/adobe-flashplugin/manifest.json | cut -d\" -f4)

if [ -f $flash_library ]; then
  CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flash_library --ppapi-flash-version=$flash_version"
fi
</code></pre>
<p dir="auto">The dmo repo is a well known repo for debian, with dozens of mirrors worldwide and it is run by a very responsible maintainer who updates its packages regularly.<br />
It was my suggestion to include it in his repo a couple of years ago and I asked him to do so because the package in the main debian repo (pepperflashplugin-nonfree) is just poorly maintained rubbish.</p>
<p dir="auto">And the relevant screenshot for proof</p>
<p dir="auto"><img src="/assets/uploads/files/1531044949662-2018-07-08-130111_1280x1024_scrot.png" alt="0_1531044948561_2018-07-08-130111_1280x1024_scrot.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">Opera is set to allow all sites to run flash.</p>
]]></description><link>https://forums.opera.com/post/150037</link><guid isPermaLink="true">https://forums.opera.com/post/150037</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Sun, 08 Jul 2018 10:16:16 GMT</pubDate></item></channel></rss>