Debian Admin

Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips

  • Sponsor

  • Categories

  • Sponsor

  • Meta

  • Archives

How to Install Adobe Flash in Debian Etch/Lenny/Sid

Posted by Admin on December 19th, 2008

Flash Player is a cross-platform browser plug-in that delivers breakthrough Web experiences to over 98% of Internet users.

Method 1

If you run Etch you will want to use backport.org

First you need to edit the /etc/apt/sources.list file using the following command

#nano /etc/apt/sources.list

add the following line

deb http://www.backports.org/debian etch-backports main contrib non-free

save and exit the file.

Update the source list using the following command

#apt-get update

All backports are deactivated by default. If you want to install something from backports run:

#apt-get -t etch-backports install “packagename”

If you are using etch and you want apt to verify the downloaded backports you can import backports.org archive’s key into apt:

#apt-get install debian-backports-keyring

If you want to get your packages from backports upgraded automatically the following entry in /etc/apt/preferences should be sufficient:

Package: *
Pin: release a=etch-backports
Pin-Priority: 200

Once you have backports all set up do one of the following commands

#apt-get update

#apt-get install flashplugin-nonfree

Method 2

Using debian-multimedia.org repo

First you need to download the debian-multimedia-keyring package from here

Install using the following command

#dpkg -i debian-multimedia-keyring_2008.10.16_all.deb

you need to edit the /etc/apt/sources.list file using the following command

#nano /etc/apt/sources.list

add the following lines which is suitable for you

For etch (stable) alpha, amd64, hppa, i386, ia64, powerpc and sparc packages

deb http://www.debian-multimedia.org etch main
or
deb ftp://ftp.debian-multimedia.org etch main
or
deb http://www.debian-multimedia.org stable main or
deb ftp://ftp.debian-multimedia.org stable main

For lenny (testing) alpha, amd64, armel, hppa, i386, ia64, mipsel, powerpc and sparc packages

deb http://www.debian-multimedia.org lenny main
or
deb ftp://ftp.debian-multimedia.org lenny main
or
deb http://www.debian-multimedia.org testing main or
deb ftp://ftp.debian-multimedia.org testing main

For sid (unstable) alpha, amd64, armel, hppa, i386, ia64, mipsel, powerpc and sparc packages.

deb http://www.debian-multimedia.org sid main or
deb ftp://ftp.debian-multimedia.org sid main

For experimental amd64, i386 and powerpc packages. transcode, k9copy and kplayer (Qt4 version) and mjpegtools packages.

The official Debian experimental repository isn’t needed.
deb http://www.debian-multimedia.org experimental main or
deb ftp://ftp.debian-multimedia.org experimental main

For source

deb-src http://www.debian-multimedia.org sid main or
deb-src ftp://ftp.debian-multimedia.org sid main

Install flash player using the following command

#apt-get install flashplayer-mozilla

Once you have flash installed you can check in Iceweasel by entering about:plugins in the address bar. It should show something like:

Shockwave Flash
File name: /usr/lib/flashplayer-mozilla/libflashplayer.so
Shockwave Flash 10.0.12.36

The above works for Iceweasel, Opera, Epiphany, and Midori

  • Share/Bookmark

Random Posts

    23 Responses to “How to Install Adobe Flash in Debian Etch/Lenny/Sid”

    1. lelutin Says:

      > Flash Player is a cross-platform browser plug-in that delivers breakthrough Web experiences to over 98% of Internet users.

      It is since rrrrrrencently but it has been a Windows only platform for quite a long time.

      Currently, I have only one official mirror in my sources.list file, using sid, and I have the package installed. It’s probably in the non-free section :

      deb ftp://gulus.usherbrooke.ca/debian unstable main contrib non-free

    2. MJ Ray Says:

      What, no mention of the free software alternatives and how Adobe Flash surrenders freedom?

    3. Jamin Davis Says:

      I last used http://www.gnash.org/ at version 0.8.3, it’s a free opensource SWF/FLV
      viewer and there’s a plugin for Firefox/Konq {mozilla|konqueror}-\
      plugin-gnash]. The non-GL version with a standard video xserver
      works fine for SWF-enabled websites, although youtube vids are quite
      slow and the sound support is iffy. The GL version [of gnash] with a GLX
      video driver works somewhat better but IMHO it still needs some
      serious work, wish I was a better coder :-| . There’s a http://packages.debian.org/gnash
      of 0.8.2-2 for Etch available. BTW gnash is opensource :) .

    4. leorleor Says:

      thanks, the apt install with the backports keyring worked instantly, i cut and pasted ~6 of your command lines and closed and reopened iceweasel, and bam.

    5. Chris Bryant Says:

      This is one of those things that bugs me- I’m using Kubuntu 8.04 64 bit on my main box (Lenny and Etch 32 bit on my others). There is a beta 64 bit flash plugin that adobe has released (the first 64 bit native plugin for *any* platform- yeah Adobe!).
      The installations was- download, put it in the plugin directory. No need to add repositories, et. al.- just copy a single file to the right place.
      Solaris and Linux 64 bit Flash plugin.

    6. Wido Says:

      i have worked with lenny + multimedia for a while. I installed flash update when it was launched, but after the first run, iceweacel and minefield (firefox 3.1) stop showing flash contents and only show a gray area. I tryed a couple times, but it always happens the same thing, so i’m “stuck” in 9

    7. Ken Says:

      One could simply enable the contrib and nonfree sources in debian sid . Then simply run an apt-get install flashplugin-nonfree . Then simply comment out the sid repo when your done.

    8. brianL Says:

      If all else fails, download install_flash_player_10_linux.tar.gz from Adobe, decompress, cd to resulting directory, then run as root:
      ./flashplayer-installer
      Tell it to install in /usr/lib/iceweasel (and/or where ever else you want).
      Works for me.

    9. Arthur Marsh Says:

      It may be cross-platform, but from what I’ve seen in this article, only i386 and amd64 cpu architectures are currently supported by Adobe. (I’ve used some Adobe plug-ins for Solaris on sun4m SPAC CPUs in the past but doubt that new versions have been written in recent years).

    10. JimBroad Says:

      As a note on lenny:

      After adding the debian-multimedia repos, I had to apt-get remove swfdec-mozilla and restart mozilla to see Flash player 10 in Iceweasel

    11. Malte Says:

      I had version 9 working and wanted to install version 10, but this results in:
      .mozilla/plugins/libflashplayer.so: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4′ not found (required by .mozilla/plugins/libflashplayer.so)

      So I followed method one described here in the hope the HOWTO works around the problem. It ends with a download of version 9. Its not even installed :-( So for Debian stable it looks like Flash 10 is neraly inpossible to use.

    12. Yuce Says:

      I’ve just installed flash 10 on Lenny AMD64 by getting the 64bit tar.gz from Adobe, uncompressing it and copying to /usr/lib/iceweasel/plugins (I had to create the plugins dir). Works like a champ so far…

    13. Jaime Andres Says:

      Thx, I was using nspluginwrapper but I had some issues, the flash animation overlap everything near to it. Monday I update my debian+kde4 and boom!!!, flash stop working, your solution is neat and works perfectly, Thx again :)

    14. Nathan Newborn Says:

      I did the same as Jaime Andres, (http://labs.adobe.com/downloads/flashplayer10.html), and it works! :)

    15. Frenchn00b Says:

      I have this trouble now, I even rebooted the pc:
      http://img140.imageshack.us/i/flashlenny.jpg/
      with installing as :

      Get:1 http://debian-multimedia.org lenny/main flashplayer-mozilla 1:10.0.22.87-0.1 [3963kB]
      Fetched 3963kB in 11s (357kB/s)
      (Reading database … 185383 files and directories currently installed.)
      Removing flashplugin-nonfree …
      Processing triggers for man-db …
      Selecting previously deselected package flashplayer-mozilla.
      (Reading database … 185373 files and directories currently installed.)
      Unpacking flashplayer-mozilla (from …/flashplayer-mozilla_1%3a10.0.22.87-0.1_i386.deb) …
      Setting up flashplayer-mozilla (1:10.0.22.87-0.1) …

      any ideas?

    16. DanC Says:

      Frenchn00b:

      You should double check what and where it was installed by using command :

      dpkg -L flashplayer-mozilla

      and copy over *so file you’ll see from previous output to :

      ~/.mozilla/plugins/

      Somehow flashplayer-mozilla package is using wrong directory for *so file.

    17. tonybaldwin Says:

      I have been having a problem where sound with flash skips, or doesn’t play at all, or gets into some kind of loop.
      This is on lenny, no gnome or kde (ion3 for wm), and it happens with both iceweasel and chrome. (haven’t tried epiphany or any other browser).
      I had been using the nonfree plugin from the repos, then downloaded flash10 from adobe and copied it to
      /opt/google/chrome/plugins/libflashplayer.so and /usr/lib/iceweasel/plugins/libflashplayer.so
      and still see the issue. (I cp-ed b/c there was no installer in the tarball I dloaded, just the libflashplayer.so file).
      Briefly, it seemed restarting the sound system (alsa) would temporarily resolve the issue, but it would come back.
      Now, it comes back almost immediately.
      As such, I am unable to view and hear flash videos from youtube, etc., etc.
      I brought the matter up on the mail list, and the only suggestion I’ve received was to restart alsa, which, as mentioned,
      only temporarily resolved the issue, and too temporarily to be useful.
      It’s not an iceweasel problem, since it also occurs in chrome (which I am now using as default browser).
      Restarting X my ion3 session also seems to temporarily resolve the issue (probably because alsa restarts, I imagine), but again, only temporarily.

      Anyone?

      Thanks in advance.
      /tony

    18. justin Says:

      it worked for me.Thanks

    19. Devian Says:

      for the 64 arch heres what I do, download http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
      gunzip-untar in lets say your home (close iceweasel)

      # mkdir /usr/lib/flash
      # cp libflashplayer.so /usr/lib/flash
      # cd /usr/lib/mozilla/plugins
      # ln -s /usr/lib/flash/libflashplayer.so

      start iceweasel there flash working (i create the “flash” directory in case theres another release of flash i just copy the new one there)
      I hope it works

    20. worldmind Says:

      In method 2 you must add
      deb http://www.debian-multimedia.org lenny main non-free
      into /etc/apt/sources.list
      flashplayer-mozilla in non-free section now

    21. Jose Says:

      Thanks Devian your adive worked for me

      Before following your advice I removed swfdev-mozilla and then I did your following advice…
      ————————
      for the 64 arch heres what I do, download http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz
      gunzip-untar in lets say your home (close iceweasel)

      # mkdir /usr/lib/flash
      # cp libflashplayer.so /usr/lib/flash
      # cd /usr/lib/mozilla/plugins
      # ln -s /usr/lib/flash/libflashplayer.so

      start iceweasel there flash working (i create the “flash” directory in case theres another release of flash i just copy the new one there)
      I hope it works
      —————-

      And It Just Worked … Thanks

    22. sagei Says:

      @Devian

      Thank You… It Works great…

    23. louzbeck Says:

      @Devian.. thanks for the link! :)

    Leave a Reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>