Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

flash player for Debian 9

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: flash player for Debian 9

#21 Post by Bulkley »

1624 wrote:I download Flash player (if i need it) from Adobe and copy libflashplayer.so to .mozilla/plugins directory.
+1.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: flash player for Debian 9

#22 Post by Lysander »

stevepusser wrote:Since Flash is closed and proprietary, there's no way it could be included in a Chromium package from Debian main. Even if it just downloaded Flash instead, it would then be in the contrib section.
OK, I will try to imagine a different scenario. Let's say that I downloaded pepperflash manually and then forgot. Which is, of course, possible. I then installed Chromium and it worked off the back of that. What confuses me is why such an installation would not work with Opera or FF but would with Chromium.

Now, I need to run a command to see which packages were installed manually [and ideally when]. There are quite a few options here that I can see. Fortunately none of these need sudo and there is some good info here

https://wiki.debian.org/ListInstalledPackages

I am also interested in some of these options

Code: Select all

grep install /var/log/dpkg.log


from here

or

Code: Select all

( zcat $( ls -tr /var/log/apt/history.log*.gz ) ; cat /var/log/apt/history.log ) | egrep '^(Start-Date:|Commandline:)' | grep -v aptdaemon | egrep '^Commandline:' | egrep 'install' 1>>installed_packages.txt
from here

or

Code: Select all

comm -23 <(aptitude search '~i !~M' -F '%p' | sed "s/ *$//" | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)
from here

or possibly this

https://superuser.com/questions/48374/f ... d-packages

If it turns out that I did install Pepperflash manually, I will, of course, humbly apologise and remind all and sundry on this forum that being "100% sure" of something is never a guarantee for accuracy.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: flash player for Debian 9

#23 Post by Lysander »

Well, not quite time for me to eat humble pie yet.

I checked the logs and I did indeed manually install Pepperflash, though several hours after installing Chromium. This makes me think that I probably installed Chromium, checked Flash was working and then went on to do other things [since Flash is the only reason I installed Chromium].

So just now as an experiment I uninstalled Pepperflash and uninstalled the .deb Flash package again - Flash still works in Chromium, though nothing else. I can only assume that it's bundled in, as I read.

The only other mention of Chrome in the logs is chrome-gnome-shell:amd64 , but that's something different, from what I can gather.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: flash player for Debian 9

#24 Post by pylkko »

So, how are you testing if "flash works"? Are you using Adobe's test or something else? I have chromium installed and no flash on this machine that I am using now... If I go to a flash video I get a message "update flash. download and install the latest version of Adobe Flash player so that you can watch this content". IS it possible that you had several flash versions on your machine and when you deleted one, there was still another or sometihng like that?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: flash player for Debian 9

#25 Post by GarryRicketson »

I have not really read the entire thread, and do not really care to,
but I noticed this:
by Lysander »This makes me think that I probably installed Chromium
Please do not think I am trying to be snarky or something , I am not.
If you are not sure if you installed a package, or not sure it installed.
There is a simple command available to check.

Code: Select all

dpkg-query -l  
More details:
https://wiki.debian.org/ListInstalledPackages

Any way, that might be use full to others as well, and in future situations
when one is not sure if a package has been installed.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: flash player for Debian 9

#26 Post by stevepusser »

The apt system can only know about files that were installed by a package in its system. If you go and just manually install a .so file someplace, such as that pepperflash .so file, apt won't know a thing about it and naturally won't remove it automatically. I bet that's what going on in your case.

The newer Chromium-based Opera has a list of locations where it looks for Pepperflash. I know the adobeflashplugin package we have in MX gets it working on Opera, so it must put the .so file or a symlink someplace where Opera is looking.
MX Linux packager and developer

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: flash player for Debian 9

#27 Post by Lysander »

pylkko wrote:So, how are you testing if "flash works"? Are you using Adobe's test or something else? I have chromium installed and no flash on this machine that I am using now... If I go to a flash video I get a message "update flash. download and install the latest version of Adobe Flash player so that you can watch this content". IS it possible that you had several flash versions on your machine and when you deleted one, there was still another or sometihng like that?
I suppose it's possible, I have no idea now. The whole thing is confusing. I am checking by looking at Adobe TV.
stevepusser wrote:The apt system can only know about files that were installed by a package in its system. If you go and just manually install a .so file someplace, such as that pepperflash .so file, apt won't know a thing about it and naturally won't remove it automatically. I bet that's what going on in your case.

The newer Chromium-based Opera has a list of locations where it looks for Pepperflash. I know the adobeflashplugin package we have in MX gets it working on Opera, so it must put the .so file or a symlink someplace where Opera is looking.
What is strange is that Chromium and FF both have very good Flash, whereas in Opera and Vivaldi it still works, but not as well. From what I can tell, Chromium/FF are pointed at a different version of the plugin.

My apologies to the forum that I am dragging this on. I think I will leave it for now, I am not contributing much of use to this topic at the moment.

SilvioTO
Posts: 22
Joined: 2015-11-26 08:35

Re: flash player for Debian 9

#28 Post by SilvioTO »

The package flashplugin-nonfree is not present in official stretch repositories:
https://packages.debian.org/search?keyw ... ection=all

Grell
Posts: 35
Joined: 2006-08-17 20:41
Location: New Jersey, US

Re: flash player for Debian 9

#29 Post by Grell »

Anyone else getting this annoying bar at the top of chromium for sites that require flash? Here is a screenshot:

Image

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: flash player for Debian 9

#30 Post by stevepusser »

You can go to Adobe's Flash test site and it will tell you what version you have installed, as well as the current release.
MX Linux packager and developer

User avatar
kalle123
Posts: 346
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 4 times
Been thanked: 11 times

Re: flash player for Debian 9

#31 Post by kalle123 »

SilvioTO wrote:The package flashplugin-nonfree is not present in official stretch repositories:
https://packages.debian.org/search?keyw ... ection=all
Not in stretch, but hopefully it will show up in future ....

https://packages.debian.org/search?keyw ... in-nonfree

tsekman
Posts: 2
Joined: 2017-07-05 15:55

Re: flash player for Debian 9

#32 Post by tsekman »

hi, this is how i t worked with me..

chromium Version 59.0.3071.86 (Developer Build) built on Debian 9.0, running on Debian 9.0 (64-bit)
adobe flash player Version 26.0.0.131 flash_player_ppapi_linux.x86_64.tar.gz

after following the instructions on the README file, i created the folder usr/lib/adobe-flashplugin and copy all downloaded files there.
however nothing happened.

so... i make some changes

cat /etc/chromium.d/pepperflashplugin-nonfree
#flashso="/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so"
flashso="/usr/lib/adobe-flashplugin/libpepflashplayer.so"
flashversion=`strings $flashso 2> /dev/null | grep LNX | cut -d ' ' -f 2 | sed -e "s/,/./g"`
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flashso --ppapi-flash-version=$flashversion"

and worked. i dont know if there are security issues by making that change to the path. hope not.

Eck
Posts: 740
Joined: 2007-06-27 16:13

Re: flash player for Debian 9

#33 Post by Eck »

What about freshplayer? aptitude install browser-plugin-freshplayer-pepperflash? Flash works for me, and there's a wiki.debian.org entry for it, but it describes compiling it. Unnecessary now since it in the repos.
Lenovo z560 Laptop Nvidia GeForce 310m Hitachi 500GB HD Intel HD Audio 4GB RAM

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: flash player for Debian 9

#34 Post by stevepusser »

Freshplayer is a wrapper for some browsers to use pepperflash. The Debian installer, pepperflashplugin-nonfree, is not in Stretch and only has an amd64 version upstream. When I looked at it, the problem for 32-bit was trivial to fix, so I guess Debian doesn't care that much about it. The fixed version in in the MX repos: http://iso.mxrepo.com/mx/repo/pool/non- ... n-nonfree/

Though we haven't tested it since we switched over to the package that actually contains the binary files from Adobe. Adobe could break the downloader anytime they feel like it.

Bunsen-pepperflash from Bunsen Labs also works to download pepperflash.
MX Linux packager and developer

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: flash player for Debian 9

#35 Post by dasein »

Lysander wrote:What is strange is that Chromium and FF both have very good Flash, whereas in Opera and Vivaldi it still works, but not as well. From what I can tell, Chromium/FF are pointed at a different version of the plugin.
Not as strange as it seems, and not necessarily a sign that two different plugins are in use, as anyone who remembers startling historical differences in Flash performance between Chome and Firefox can attest.

Adobe's Flash player operates by creating a javascript "virtual machine" in which the content plays. Particularly with streamed content, the performance of this VM (including and in particular the JS interpreter) serves as the primary limiting factor on overall performance.

tl;dr: Flash performance is profoundly client-specific.

tsekman
Posts: 2
Joined: 2017-07-05 15:55

Re: flash player for Debian 9

#36 Post by tsekman »

stevepusser wrote:Freshplayer is a wrapper for some browsers to use pepperflash. The Debian installer, pepperflashplugin-nonfree, is not in Stretch and only has an amd64 version upstream. When I looked at it, the problem for 32-bit was trivial to fix, so I guess Debian doesn't care that much about it. The fixed version in in the MX repos: http://iso.mxrepo.com/mx/repo/pool/non- ... n-nonfree/

Though we haven't tested it since we switched over to the package that actually contains the binary files from Adobe. Adobe could break the downloader anytime they feel like it.

Bunsen-pepperflash from Bunsen Labs also works to download pepperflash.
Thanks, i download pepperflash from mx repos and works fine!

tommyp
Posts: 3
Joined: 2016-05-22 13:25

Re: flash player for Debian 9

#37 Post by tommyp »

I'm not sure if this helps, or if someone wants to create something for a repo... here's a little set of commands to update the flash. I suppose this can be used in the /usr/sbin/update-flashplugin-nonfree file. Anyway, the code below parses the adobe site, downloads the npapi.tar.gz, untars it and chmods it. I'm a noob but hopefully someone can make something decent out of it. Cheers

Code: Select all

NPAPIUpstream=$(wget -qO- https://www.adobe.com/software/flash/about/ | grep Linux -A10 | grep NPAPI -A2 | grep -Eo [0-9.]+)
Arch=$(dpkg --print-architecture | sed 's/amd64/x86_64/')
wget https://fpdownload.adobe.com/get/flashplayer/pdc/$NPAPIUpstream/flash_player_npapi_linux.$Arch.tar.gz
tar zxfO flash_player_npapi_linux.x86_64.tar.gz libflashplayer.so > /usr/lib/flashplugin-nonfree/libflashplayer.so
chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so
update-alternatives --quiet --install /usr/lib/mozilla/plugins/flash-mozilla.so flash-mozilla.so /usr/lib/flashplugin-nonfree/libflashplayer.so 50

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: flash player for Debian 9

#38 Post by stevepusser »

We included a script in our modified MX version of flashplugin-nonfree that does the same thing; it's called "update-flashplugin-nonfree-direct", which was our workaround for the broken Debian version. I believe it's still working, but we don't plan to fix it again if Adobe changes the download address again.
MX Linux packager and developer

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: flash player for Debian 9

#39 Post by milomak »

Lysander wrote:Well, not quite time for me to eat humble pie yet.

I checked the logs and I did indeed manually install Pepperflash, though several hours after installing Chromium. This makes me think that I probably installed Chromium, checked Flash was working and then went on to do other things [since Flash is the only reason I installed Chromium].

So just now as an experiment I uninstalled Pepperflash and uninstalled the .deb Flash package again - Flash still works in Chromium, though nothing else. I can only assume that it's bundled in, as I read.

The only other mention of Chrome in the logs is chrome-gnome-shell:amd64 , but that's something different, from what I can gather.
when you say manually, do you mean you installed the packages via apt/aptitude

see for instance what is available

Code: Select all

# dpkg -l | grep chromium
ii  chromium                                    59.0.3071.104-1                      amd64        web browser
ii  flashplayer-chromium                        26.0.0.137-dmo1                      amd64        Flash Player for Chromium (Pepper)
# aptitude search pepper | grep flash
p  browser-plugin-freshplayer-pepperflash - PPAPI-host NPAPI-plugin adapter for pepperflash
p  browser-plugin-freshplayer-pepperflash:i386 - PPAPI-host NPAPI-plugin adapter for pepperflash
p  pepperflashplugin-nonfree - Pepper Flash Player - browser plugin
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: flash player for Debian 9

#40 Post by stevepusser »

Well, yes, flashplayer-chromium is a deb-multimedia package which contains the actual binaries, not a Debian package.
MX Linux packager and developer

Post Reply