Sunday, March 1, 2009

How to Install Adobe Flash in Debian Etch/Lenny

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

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 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 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 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 etch main
deb etch main
deb stable main or
deb stable main

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

deb lenny main
deb lenny main
deb testing main or
deb testing main

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

deb sid main or
deb 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 experimental main or
deb experimental main

For source

deb-src sid main or
deb-src 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/
Shockwave Flash

The above works for Iceweasel/Firefox and Opera.

Method 3

If all else fails, download install_flash_player_10_linux.tar.gz from Adobe ( , decompress, cd to resulting directory, then run as root:

For Iceseasel/Firefox, ell it to install in /usr/lib/iceweasel
For Opera, tell it to install in /usr/lib/opera (and/or where ever else you want).

Works for me.

Installation instructions for tar.gz

  1. Click the download link to begin installation. A dialog box will appear asking you where to save the file.
  2. Save the .tar.gz file to your desktop and wait for the file to download completely.
  3. Unpackage the file. A directory called install_flash_player_10_linux will be created.
  4. In terminal, navigate to this directory and type ./flashplayer-installer to run the installer. Click Enter. The installer will instruct you to shut down your browser(s).
  5. Once the installation is complete, the plug-in will be installed in your Mozilla browser. To verify, launch Mozilla and choose Help > About Plug-ins from the browser menu.


Anonymous said...

Thanks a lot! It was my first day with Debian, and you made it easier!
Good luck!

Joe Engressia said...

nice info my friend. keep on to share the great info.