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

 

 

 

Howto get Adobe Flash working in 64bit

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Howto get Adobe Flash working in 64bit

#21 Post by craigevil »

cinch wrote:for setting up a 32bit chroot on amd64 or i386:
i just wrote this guide: http://sicnarf.com/articles/secure-flas ... debian.txt

the guide is still in a early version, but it should be enough for daily browsing. enjoy :)
i'm going to update it and try to streamline it for general usage.
First get rid of all of the sudo references, it is not setup by default on Debian.

I take it you find the Debian doc too complicated?
http://alioth.debian.org/docman/view.ph ... l#id292205
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

cinch
Posts: 4
Joined: 2009-10-15 12:36

Re: Howto get Adobe Flash working in 64bit

#22 Post by cinch »

craigevil wrote:I take it you find the Debian doc too complicated?
http://alioth.debian.org/docman/view.ph ... l#id292205
that's a good guide, however i wouldn't necessarily recommend it for running flash.
the main issue i see, is mounting your home directory inside the chroot, running the browser as the same user.
thereby allowing access to your files, if there is a severe exploit in flash.

further, the commands use debian sid/unstable, whereas packages in testing are more likely to get patches quicker.
craigevil wrote: get rid of all of the sudo references, it is not setup by default on Debian.
just did a major rewrite. sudo is only used to launch or update the chroot browser, without asking for a password.

User avatar
nulltime
Posts: 2
Joined: 2010-08-03 07:45
Location: Russia, Krasnodar

Re: Howto get Adobe Flash working in 64bit

#23 Post by nulltime »

Good day!
I have some problem...
I had install Adobe Flash Player from Adobe site, unpack and make symlinks
I maid this because flashplugin-nonfree dont work on my system
All in all, flashplayer work fine in Opera, but don't work in Iceweasel, don't seen in it's about:plugins
Iceweasel send to console this errs

Code: Select all

LoadPlugin: failed to initialize shared library /emul/ia32-linux/usr/lib/adobe-flashplugin/libflashplayer.so [/emul/ia32-linux/usr/lib/adobe-flashplugin/libflashplayer.so: wrong class ELF: ELFCLASS32]
Thanks!

My system: Debian squeeze 2.6.32-5 amd64

henriavelabarbe
Posts: 4
Joined: 2010-08-11 13:12

Re: Howto get Adobe Flash working in 64bit

#24 Post by henriavelabarbe »

HI,
I followed the installation notes from Wiki on a fresh Squeeze 64bit install, but I get this message :

Download done.
ERROR: checksum mismatch install_flash_player_10_linux.tar.gz
The Flash plugin is NOT installed.
More information might be available at:
http://wiki.debian.org/FlashPlayer

Did anyone got the same issue and maybe a solution ?

Regards,
Henri

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Howto get Adobe Flash working in 64bit

#25 Post by craigevil »

apt-get install flashplayer-mozilla from debian-multimedia.org will install all of the files needed to run flash in 64bit.

That was the whole point of the howto. Downloading from Adobe or any other way just complicates things.

BTW unstable gets updates before testing then usually 7-10 days later the update moves into testing, that is when testing isn't frozen like it is now.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

henriavelabarbe
Posts: 4
Joined: 2010-08-11 13:12

Re: Howto get Adobe Flash working in 64bit

#26 Post by henriavelabarbe »

Hi,
I did try the plugin from multimedia, it works for most sites but not for metalink.oracle.com.
A non flash version of the site exists, but anyyway, it works in Fedora13.

The iceweasel from experimental and the ipc value change did not solve the issue.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Howto get Adobe Flash working in 64bit

#27 Post by craigevil »

henriavelabarbe wrote:Hi,
I did try the plugin from multimedia, it works for most sites but not for metalink.oracle.com.
A non flash version of the site exists, but anyyway, it works in Fedora13.

The iceweasel from experimental and the ipc value change did not solve the issue.
Works just fine here.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Shockwave Flash
Filename /usr/lib/flashplayer-mozilla/libflashplayer.so
Plugin Version:
Plugin Description: Shockwave Flash 10.1 r82
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

henriavelabarbe
Posts: 4
Joined: 2010-08-11 13:12

Re: Howto get Adobe Flash working in 64bit

#28 Post by henriavelabarbe »

craigevil wrote: Works just fine here.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Shockwave Flash
Filename /usr/lib/flashplayer-mozilla/libflashplayer.so
Plugin Version:
Plugin Description: Shockwave Flash 10.1 r82
Do you use a 32bit browser? I'm talking about 64bit iceweasel.

Edit: Using chroot 32bit env worked for me, so I'll keep that as "temporary" solution

User avatar
jheaton5
Posts: 1488
Joined: 2008-08-20 01:40
Location: Newnan, GA, USA

Re: Howto get Adobe Flash working in 64bit

#29 Post by jheaton5 »

I seem to recall that Adobe does not support 64 bit flash anymore.
debian sid

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Howto get Adobe Flash working in 64bit

#30 Post by craigevil »

jheaton5 wrote:I seem to recall that Adobe does not support 64 bit flash anymore.
Correct that is the point of the Howto. You either have to use nspluginwrapper or a 32bit chroot environment.

Installing flashplayer-mozilla from dmm installs all of the necessary packages for flash using nspluginwrapper.

The chroot method is a bit more detailed.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

henriavelabarbe
Posts: 4
Joined: 2010-08-11 13:12

Re: Howto get Adobe Flash working in 64bit

#31 Post by henriavelabarbe »

Here is how I did the chroot, info borrowed from various Howto on the net, credit goes to them.

Another good feature provided by the chroot + schroot is that I can have the Sun java plugin for my browser (32bit chroot),
while only having the default openjdk on the main 64bit.
(the sun java plugin is needed/better for some old ilo we use here)

With schroot configured like that, no need to premount the /proc and so,
home directory is shared (bookmarks, ..) (well possible security issue here but anyway).

Code: Select all

mkdir /mnt/chroot32
mount -a /dev/vg01/lvchroot32 /mnt/chroot32/
debootstrap --arch i386 squeeze /mnt/chroot32 http://ftp.belnet.be/debian /usr/share/debootstrap/scripts/squeeze
cd /mnt/chroot32

chroot /mnt/chroot32 /bin/bash
main # echo "8:23:respawn:/usr/sbin/chroot /mnt/chroot32 " \
                    "/sbin/getty 38400 tty8"  >> /etc/inittab
            [ define a login tty that will use this system ]
main # init q
[ reload init ]

chroot /mnt/chroot32

LANG= apt-get install locales
eval `locale 2> /dev/null`
sed -ri 's/^([^#].*)/# \1/;s/^# ('$LC_CTYPE'($| .*))/\1/' /etc/locale.gen
locale-gen
now configure schroot :
[squeeze]
description=Debian squeeze (stable) 32-bit
directory=/mnt/chroot32
priority=3
groups=hch,root
root-groups=root
aliases=default,ia32
personality=linux32
type=directory
preserve-environment=true
script-config=desktop/config

back to term with your user :
schroot
(now you're inside the 32 bit chroot)
(test with uname -a)
in chroot :
su -
(add non-free + contrib in /etc/apt/source..)

aptitude update
apt-get install msttcorefonts
aptitude install iceweasel
aptitude install flashplugin-nonfree

 if you get the message 	:
sha512sum rejected install_flash_player_

cd /tmp
wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz
tar -xzvf install_flash_player_10_linux.tar.gz
mkdir -p /usr/lib/iceweasel/plugins/
mv libflashplayer.so /usr/lib/iceweasel/plugins/

aptitude install sun-java6-plugin
(to get the java plugin)
iceweasel started with :
schroot iceweasel

User avatar
Tadeas
Posts: 1013
Joined: 2008-09-22 09:11
Location: Prague
Contact:

Re: Howto get Adobe Flash working in 64bit

#32 Post by Tadeas »

I didn't find the flashplayer-mozilla package, so the ndiswrapper howto posted in the first post doesn't work for me.

Code: Select all

debian:/home/garion# cat /etc/apt/sources.list | grep multimedia
deb http://www.debian-multimedia.org sid main contrib non-free
debian:/home/garion# aptitude search flashplayer-mozilla
debian:/home/garion#  
Craigevil, has anything changed since it was written?
Because let’s face it, the unfortunate aspect of software development is that it involves humans. Mewling, disorganized, miserably analog humans. Sometimes they smell bad.

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

Re: Howto get Adobe Flash working in 64bit

#33 Post by stevepusser »

Flashplayer-mozilla is now in the "nonfree" section of debian-multimedia, so add that section to its entry in sources.list.
MX Linux packager and developer

User avatar
Tadeas
Posts: 1013
Joined: 2008-09-22 09:11
Location: Prague
Contact:

Re: Howto get Adobe Flash working in 64bit

#34 Post by Tadeas »

stevepusser wrote:Flashplayer-mozilla is now in the "nonfree" section of debian-multimedia, so add that section to its entry in sources.list.
It's not there, according to aptitude, see my previous post.
It's weird, because it's there, according to this website:
http://debian-multimedia.org/dists/unst ... ary-amd64/

Any ideas what's wrong :?:
Because let’s face it, the unfortunate aspect of software development is that it involves humans. Mewling, disorganized, miserably analog humans. Sometimes they smell bad.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Howto get Adobe Flash working in 64bit

#35 Post by craigevil »

You want nspluginwrapper not ndiswrapper, that was typo on my part.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
Tadeas
Posts: 1013
Joined: 2008-09-22 09:11
Location: Prague
Contact:

Re: Howto get Adobe Flash working in 64bit

#36 Post by Tadeas »

craigevil wrote:You want nspluginwrapper not ndiswrapper, that was typo on my part.
Ah, I commute them often myself, it's possible that the error was on my side. However it doesn't change anything on the fact, that apt (aptitude as well as apt-cache (and apt-get)) don't see flashplayer-mozilla, though it should be in the repository.
Because let’s face it, the unfortunate aspect of software development is that it involves humans. Mewling, disorganized, miserably analog humans. Sometimes they smell bad.

User avatar
nazir
Posts: 74
Joined: 2007-09-16 15:35
Location: Prague, Czechia

Re: Howto get Adobe Flash working in 64bit

#37 Post by nazir »

Code: Select all

nazir@nomad:~$  apt-cache policy flashplayer-mozilla
flashplayer-mozilla:
  Installed: 2:10.1.82.76-0.0
  Candidate: 2:10.1.82.76-0.0
  Version table:
 *** 2:10.1.82.76-0.0 0
        990 http://www.debian-multimedia.org squeeze/non-free Packages
        200 http://www.debian-multimedia.org sid/non-free Packages
        100 /var/lib/dpkg/status
nazir@nomad:~$  grep multimedia /etc/apt/sources.list | grep --invert-match ^#
deb http://www.debian-multimedia.org squeeze main non-free
deb-src http://www.debian-multimedia.org squeeze main non-free
deb http://www.debian-multimedia.org sid main non-free
deb-src http://www.debian-multimedia.org sid main non-free
nazir@nomad:~$ 
You can try to remove the 'contrib' part (I see no other difference)...
Merry crisis and happy new fear!
▶♫

User avatar
Tadeas
Posts: 1013
Joined: 2008-09-22 09:11
Location: Prague
Contact:

Re: Howto get Adobe Flash working in 64bit

#38 Post by Tadeas »

Code: Select all

Laptop:/home/garion# cat /etc/apt/sources.list
# 
# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot amd64 NETINST Binary-1 20091213-15:46]/ squeeze main

#deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot amd64 NETINST Binary-1 20091213-15:46]/ squeeze main

deb http://ftp.cz.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.cz.debian.org/debian/ stable main contrib non-free

deb http://ftp.cz.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.cz.debian.org/debian/ testing main contrib non-free

deb http://ftp.cz.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.cz.debian.org/debian/ unstable main contrib non-free

deb http://ftp.cz.debian.org/debian/ experimental  main contrib non-free
deb-src http://ftp.cz.debian.org/debian/ experimental main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

deb http://www.debian-multimedia.org squeeze main contrib non-free

deb http://qt-kde.debian.net/debian experimental-snapshots main
deb-src http://qt-kde.debian.net/debian experimental-snapshots main

deb http://frickelplatz.de/debian/ sid main contrib non-free
Laptop:/home/garion# apt-cache policy flashplayer-mozilla
flashplayer-mozilla:
  Instalovaná verze: (žádná)
  Kandidát: (žádná)
  Tabulka verzí:
Laptop:/home/garion# 
I just don't get it.
I DID "aptitude update" after I added debian-multimedia.org, in fact I did it quite many times since I've added it to sources.list about a year ago...
Because let’s face it, the unfortunate aspect of software development is that it involves humans. Mewling, disorganized, miserably analog humans. Sometimes they smell bad.

User avatar
Hadret
Posts: 354
Joined: 2007-07-19 13:04
Location: Berlin

Re: Howto get Adobe Flash working in 64bit

#39 Post by Hadret »

Maybe try using mirror, as I do?

Code: Select all

deb http://debian-mirrors.sdinet.de/debian-multimedia unstable main non-free
deb http://debian-mirrors.sdinet.de/debian-multimedia testing main non-free

Code: Select all

~$ apt-cache policy flashplayer-mozilla
flashplayer-mozilla:
  Zainstalowana: (brak)
  Kandydująca: 2:10.1.82.76-0.0
  Tabela wersji:
     2:10.1.82.76-0.0 0
        500 http://debian-mirrors.sdinet.de unstable/non-free Packages
        500 http://debian-mirrors.sdinet.de testing/non-free Packages

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Howto get Adobe Flash working in 64bit

#40 Post by craigevil »

$ apt-cache policy flashplayer-mozilla
flashplayer-mozilla:
Installed: 1:10.1.82.76-0.0
Candidate: 1:10.1.82.76-0.0
Version table:
*** 1:10.1.82.76-0.0 0
500 http://www.debian-multimedia.org unstable/non-free Packages
100 /var/lib/dpkg/status


Try a different mirror http://debian-multimedia.org/debian-m.php

Why do you have Squeeze, sid and experimental all uncommented? which release are you running?
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Post Reply