Debian 7 Wheezy: Install Flash Player

by on June 9, 2013 · 29 comments· LAST UPDATED August 23, 2013

in , ,

I am a new Debian Linux version 7 user. I found out that Pandora player is not working due to Adobe flash player. How do I install and use flash player on Debian 7 with Firefox browser?

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
Requirementsnon-free repo
Estimated completion time10 minutes
Adobe Flash Player is a multimedia plugin used to play video, games, streaming, and interactivity to Web pages. This how-to describes how to install the Adobe Flash Player (also known as the Macromedia Flash Player), on Debian 7 desktop or laptop systems.

Say, hello to flashplugin-nonfree package

This package acts as a wrapper packages and will download the Flash Player from Adobe. It is a Netscape/Mozilla type plugin. Any browser based on Netscape or Mozilla can use the Flash Player such as

  1. Mozilla-Firefox
  2. Iceweasel
  3. Iceape
  4. Galeon
  5. Epiphany
  6. Konqueror if konqueror-nsplugins is installed.

Installation

Open a terminal and edit the file /etc/apt/sources.list using a text editor and make sure following line exists:
deb ftp://ftp.debian.org/debian stable main contrib non-free
Save and close the file. Type the following command:
$ sudo apt-get update
Next, type the following apt-get command to install flash player plugin:
$ sudo apt-get install flashplugin-nonfree
OR
# apt-get install flashplugin-nonfree
Sample outputs:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  konqueror-nsplugins ttf-xfree86-nonfree hal
The following NEW packages will be installed:
  flashplugin-nonfree
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.1 kB of archives.
After this operation, 181 kB of additional disk space will be used.
Get:1 http://mirrors.kernel.org/debian/ wheezy/contrib flashplugin-nonfree amd64 1:3.2 [20.1 kB]
Fetched 20.1 kB in 2s (8982 B/s)
Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_IN:en",
	LC_ALL = (unset),
	LC_CTYPE = "UTF-8",
	LANG = "en_IN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package flashplugin-nonfree.
(Reading database ... 193647 files and directories currently installed.)
Unpacking flashplugin-nonfree (from .../flashplugin-nonfree_1%3a3.2_amd64.deb) ...
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up flashplugin-nonfree (1:3.2) ...
--2013-06-05 15:55:53--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.285/install_flash_player_11_linux.x86_64.tar.gz
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)... 173.222.18.70
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|173.222.18.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7234643 (6.9M) [application/x-gzip]
Saving to: `/tmp/flashplugin-nonfree.i7GZyK1Oxl/install_flash_player_11_linux.x86_64.tar.gz'
     0K .......... .......... .......... .......... ..........  0%  529K 13s
    50K .......... .......... .......... .......... ..........  1%  527K 13s
   100K .......... .......... .......... .......... ..........  2%  544K 13s
   150K .......... .......... .......... .......... ..........  2%  517K 13s
   200K .......... .......... .......... .......... ..........  3%  523K 13s
   250K .......... .......... .......... .......... ..........  4%  547K 13s
   300K .......... .......... .......... .......... ..........  4%  521K 13s
   350K .......... .......... .......... .......... ..........  5%  131K 17s
   400K .......... .......... .......... .......... ..........  6%  857K 16s
   450K .......... .......... .......... .......... ..........  7% 7.09M 15s
   500K .......... .......... .......... .......... ..........  7% 7.93M 13s
   550K .......... .......... .......... .......... ..........  8% 1.91M 12s
   600K .......... .......... .......... .......... ..........  9%  510K 12s
   650K .......... .......... .......... .......... ..........  9%  554K 12s
   700K .......... .......... .......... .......... .......... 10%  523K 12s
   750K .......... .......... .......... .......... .......... 11%  524K 12s
   800K .......... .......... .......... .......... .......... 12%  538K 12s
   850K .......... .......... .......... .......... .......... 12%  524K 12s
   900K .......... .......... .......... .......... .......... 13%  540K 12s
   950K .......... .......... .......... .......... .......... 14%  524K 11s
  1000K .......... .......... .......... .......... .......... 14%  538K 11s
  1050K .......... .......... .......... .......... .......... 15%  524K 11s
  1100K .......... .......... .......... .......... .......... 16%  539K 11s
  1150K .......... .......... .......... .......... .......... 16%  507K 11s
  1200K .......... .......... .......... .......... .......... 17%  542K 11s
  1250K .......... .......... .......... .......... .......... 18%  538K 11s
  1300K .......... .......... .......... .......... .......... 19%  525K 11s
  1350K .......... .......... .......... .......... .......... 19%  538K 11s
  1400K .......... .......... .......... .......... .......... 20%  525K 11s
  1450K .......... .......... .......... .......... .......... 21%  538K 11s
  1500K .......... .......... .......... .......... .......... 21%  523K 10s
  1550K .......... .......... .......... .......... .......... 22%  540K 10s
  1600K .......... .......... .......... .......... .......... 23%  523K 10s
  1650K .......... .......... .......... .......... .......... 24%  512K 10s
  1700K .......... .......... .......... .......... .......... 24%  552K 10s
  1750K .......... .......... .......... .......... .......... 25%  526K 10s
  1800K .......... .......... .......... .......... .......... 26%  538K 10s
  1850K .......... .......... .......... .......... .......... 26%  525K 10s
  1900K .......... .......... .......... .......... .......... 27%  539K 10s
  1950K .......... .......... .......... .......... .......... 28%  524K 10s
  2000K .......... .......... .......... .......... .......... 29%  539K 9s
  2050K .......... .......... .......... .......... .......... 29%  522K 9s
  2100K .......... .......... .......... .......... .......... 30%  525K 9s
  2150K .......... .......... .......... .......... .......... 31%  526K 9s
  2200K .......... .......... .......... .......... .......... 31%  538K 9s
  2250K .......... .......... .......... .......... .......... 32%  509K 9s
  2300K .......... .......... .......... .......... .......... 33%  556K 9s
  2350K .......... .......... .......... .......... .......... 33%  537K 9s
  2400K .......... .......... .......... .......... .......... 34%  525K 9s
  2450K .......... .......... .......... .......... .......... 35%  539K 9s
  2500K .......... .......... .......... .......... .......... 36%  521K 9s
  2550K .......... .......... .......... .......... .......... 36%  526K 8s
  2600K .......... .......... .......... .......... .......... 37%  540K 8s
  2650K .......... .......... .......... .......... .......... 38%  522K 8s
  2700K .......... .......... .......... .......... .......... 38%  536K 8s
  2750K .......... .......... .......... .......... .......... 39%  527K 8s
  2800K .......... .......... .......... .......... .......... 40%  539K 8s
  2850K .......... .......... .......... .......... .......... 41%  524K 8s
  2900K .......... .......... .......... .......... .......... 41%  538K 8s
  2950K .......... .......... .......... .......... .......... 42%  525K 8s
  3000K .......... .......... .......... .......... .......... 43%  523K 8s
  3050K .......... .......... .......... .......... .......... 43%  539K 7s
  3100K .......... .......... .......... .......... .......... 44%  519K 7s
  3150K .......... .......... .......... .......... .......... 45%  173K 8s
  3200K .......... .......... .......... .......... .......... 46% 1.39M 7s
  3250K .......... .......... .......... .......... .......... 46% 1.08M 7s
  3300K .......... .......... .......... .......... .......... 47% 6.68M 7s
  3350K .......... .......... .......... .......... .......... 48%  541K 7s
  3400K .......... .......... .......... .......... .......... 48%  523K 7s
  3450K .......... .......... .......... .......... .......... 49%  523K 7s
  3500K .......... .......... .......... .......... .......... 50%  541K 7s
  3550K .......... .......... .......... .......... .......... 50%  524K 7s
  3600K .......... .......... .......... .......... .......... 51%  521K 6s
  3650K .......... .......... .......... .......... .......... 52%  257K 6s
  3700K .......... .......... .......... .......... .......... 53% 1.33M 6s
  3750K .......... .......... .......... .......... .......... 53% 1018K 6s
  3800K .......... .......... .......... .......... .......... 54%  539K 6s
  3850K .......... .......... .......... .......... .......... 55%  524K 6s
  3900K .......... .......... .......... .......... .......... 55%  315K 6s
  3950K .......... .......... .......... .......... .......... 56% 1.67M 6s
  4000K .......... .......... .......... .......... .......... 57%  523K 6s
  4050K .......... .......... .......... .......... .......... 58%  423K 6s
  4100K .......... .......... .......... .......... .......... 58%  532K 6s
  4150K .......... .......... .......... .......... .......... 59%  458K 5s
  4200K .......... .......... .......... .......... .......... 60%  505K 5s
  4250K .......... .......... .......... .......... .......... 60%  444K 5s
  4300K .......... .......... .......... .......... .......... 61%  472K 5s
  4350K .......... .......... .......... .......... .......... 62%  412K 5s
  4400K .......... .......... .......... .......... .......... 62%  490K 5s
  4450K .......... .......... .......... .......... .......... 63%  508K 5s
  4500K .......... .......... .......... .......... .......... 64%  539K 5s
  4550K .......... .......... .......... .......... .......... 65%  411K 5s
  4600K .......... .......... .......... .......... .......... 65%  548K 5s
  4650K .......... .......... .......... .......... .......... 66%  451K 5s
  4700K .......... .......... .......... .......... .......... 67%  512K 4s
  4750K .......... .......... .......... .......... .......... 67%  478K 4s
  4800K .......... .......... .......... .......... .......... 68%  401K 4s
  4850K .......... .......... .......... .......... .......... 69%  418K 4s
  4900K .......... .......... .......... .......... .......... 70%  470K 4s
  4950K .......... .......... .......... .......... .......... 70%  530K 4s
  5000K .......... .......... .......... .......... .......... 71%  524K 4s
  5050K .......... .......... .......... .......... .......... 72%  539K 4s
  5100K .......... .......... .......... .......... .......... 72%  493K 4s
  5150K .......... .......... .......... .......... .......... 73%  441K 4s
  5200K .......... .......... .......... .......... .......... 74%  486K 4s
  5250K .......... .......... .......... .......... .......... 75%  516K 3s
  5300K .......... .......... .......... .......... .......... 75%  440K 3s
  5350K .......... .......... .......... .......... .......... 76%  396K 3s
  5400K .......... .......... .......... .......... .......... 77%  402K 3s
  5450K .......... .......... .......... .......... .......... 77%  497K 3s
  5500K .......... .......... .......... .......... .......... 78%  541K 3s
  5550K .......... .......... .......... .......... .......... 79%  523K 3s
  5600K .......... .......... .......... .......... .......... 79%  533K 3s
  5650K .......... .......... .......... .......... .......... 80%  466K 3s
  5700K .......... .......... .......... .......... .......... 81%  435K 3s
  5750K .......... .......... .......... .......... .......... 82%  476K 2s
  5800K .......... .......... .......... .......... .......... 82%  507K 2s
  5850K .......... .......... .......... .......... .......... 83%  421K 2s
  5900K .......... .......... .......... .......... .......... 84%  484K 2s
  5950K .......... .......... .......... .......... .......... 84%  418K 2s
  6000K .......... .......... .......... .......... .......... 85%  446K 2s
  6050K .......... .......... .......... .......... .......... 86%  529K 2s
  6100K .......... .......... .......... .......... .......... 87%  523K 2s
  6150K .......... .......... .......... .......... .......... 87%  523K 2s
  6200K .......... .......... .......... .......... .......... 88%  437K 2s
  6250K .......... .......... .......... .......... .......... 89%  502K 2s
  6300K .......... .......... .......... .......... .......... 89%  454K 1s
  6350K .......... .......... .......... .......... .......... 90%  514K 1s
  6400K .......... .......... .......... .......... .......... 91%  403K 1s
  6450K .......... .......... .......... .......... .......... 92%  565K 1s
  6500K .......... .......... .......... .......... .......... 92%  400K 1s
  6550K .......... .......... .......... .......... .......... 93%  463K 1s
  6600K .......... .......... .......... .......... .......... 94%  514K 1s
  6650K .......... .......... .......... .......... .......... 94%  540K 1s
  6700K .......... .......... .......... .......... .......... 95%  402K 1s
  6750K .......... .......... .......... .......... .......... 96%  633K 1s
  6800K .......... .......... .......... .......... .......... 96%  407K 0s
  6850K .......... .......... .......... .......... .......... 97%  521K 0s
  6900K .......... .......... .......... .......... .......... 98%  514K 0s
  6950K .......... .......... .......... .......... .......... 99%  460K 0s
  7000K .......... .......... .......... .......... .......... 99%  397K 0s
  7050K .......... .....                                      100%  442K=14s
2013-06-05 15:56:12 (504 KB/s) - `/tmp/flashplugin-nonfree.i7GZyK1Oxl/install_flash_player_11_linux.x86_64.tar.gz' saved [7234643/7234643]

How do I verify installation?

Close the browser. Open Firefox/Iceweasel and click on the Tools menu > choose Add-ons

Fig.01: Firefox/Iceweasel tools menu

Fig.01: Firefox/Iceweasel tools menu


Choose Plugins tab. You should see flasy player as follows in the list:
Fig.02: Verification for Flash player on Debian 7

Fig.02: Verification for Flash player on Debian 7


Open a webrowser and visit the following youtube video for testing purpose:
http://youtu.be/jqlIQ0MXsnA

And there you have it a working flash player for Firefox/Iceweasel on Debian Linux version 7.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 29 comments… read them below or add one }

1 meow June 9, 2013 at 2:14 pm

adobe and flash sucks!

Reply

2 lo June 27, 2013 at 10:51 am

Reading package lists… Done
Building dependency tree
Reading state information… Done
Package flashplugin-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘flashplugin-nonfree’ has no installation candidate

_________________________________
Why ??????? I still can’t find out the problem…

Reply

3 Bruce Gilbert June 29, 2013 at 3:04 pm

Allo lo! I have been having MAJOR problems trying to get flash working on my system, too. However, I suspect that your problem may be that you do not have the correct source in your /etc/apt/sources.list file?
or is only available from another source
It is hard to give you specific instructions but I recommend that you google your problem including OSver. + browser ver. e.g.:for myself: “Debian 7 wheezy Iceweasel 17.0.7 esr” how to add correct repository for flashplugin-nonfree? …mind you, I did so & downloaded it & installed it ok…but it still does not work….(YET!) Your mileage may vary…(I hope so! GBU!)

Reply

4 R S Chakravarti July 2, 2013 at 2:55 am

In your file /etc/apt/sources.list you need to enable a “contrib” repository:
write a line like

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

and run apt-get update. (This package doesn’t need non-free but you might as well include it; it may be useful later.) After that, the procedure given will work.

Reply

5 kw July 4, 2013 at 4:12 pm

RS, thanks for the info, but after adding the ‘contrib’ repository as above I still get:

apt-get install flashplugin-nonfree
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package flashplugin-nonfree is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘flashplugin-nonfree’ has no installation candidate

If you have any ideas, I’d appreciate them. Off I go to learn more about apt-get sources!

Reply

6 R S Chakravarti July 4, 2013 at 5:36 pm

Correction: The word “stable” or “wheezy” should appear just before “main”.

Then run “apt-get update” as root, while connected to the Internet. After this you can install packages with “apt-get install”.

Sorry for the error. Was that the problem?

Reply

7 ok June 28, 2013 at 1:45 am

lo,

you need to add non-free to your apt sources.
edit /etc/apt/sources.list and add after main “contrib non-free”

my apt.sources list look like this

deb http://ftp.nl.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.nl.debian.org/debian/ wheezy main contrib non-free

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

# wheezy-updates, previously known as ‘volatile’
deb http://ftp.nl.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.nl.debian.org/debian/ wheezy-updates main contrib non-free

Reply

8 Bruce Gilbert June 29, 2013 at 8:10 pm

Dear lo,
Followup: Yea! I downloaded the latest “esr” – Extended Support Release – version of Iceweasel; for which I had to first enable a “backport” repository source. Then I used apt-get to download & install – (“apt-get install flashplugin-nonfree”) – [making sure I had the "nonfree" repository source was also enabled in /etc/apt/sources.list] – the Adobe FlashPlayer plugin.
F-I-N-A-L-L-Y I realised why it did not work: I restarted my new browser & Halleluyah! it works!
lo – I hope that this helps! ‘b’ye – Bruce.

Reply

9 kw July 6, 2013 at 11:58 am

RS, thanks for the prompt reply!

I added ‘wheezy’ to the contrib line as above, but I still get :
“Package flashplugin-onfree is not availabe, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package ‘flashplugin-nonfree’ has no installation candidate”

Now it occurs to me, I didn’t mention I’m using PowerPC architecture. Is that going to make a difference?
And how do I track down a good source for installation?

I also get errors after apt-get update such as
“W: Failed to fetch http://mozilla.debian.net/dists/wheezy-backports/iceweasel-release/binary-powerpc/Packages 404 Not Found” , does that mean my architecture isn’t supported for backports?

Many thanks.

Reply

10 R S Chakravarti July 6, 2013 at 12:28 pm

Yes, maybe this package is not available for Debian on powerpc. I understand that many packages are only available for i386 and amd64.

You can visit the site http://ftp.debian.org with your browser using either ftp or http. Or search for packages you want in synaptic.

I don’t understand the last problem. Maybe there are no backports for powerpc. You can try visiting the site.

Reply

11 Name August 5, 2013 at 1:58 pm

It works, thanks ! And the correct contrib line is indeed ;

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

Reply

12 R S Chakravarti August 6, 2013 at 2:31 am

You can use ftp or http. The package is available only for i386 and amd64.

Reply

13 Don August 7, 2013 at 9:12 am

Debian users with older AMD cpus will be interested to know that from Adobe Flashplayer v11, SSE2 cpus will be required or it will not work.

Reply

14 Paulus/laudaka November 17, 2013 at 4:49 am

Great post :-) This info is a very good addition to the info on the wiki of the Debian Project. https://wiki.debian.org/FlashPlayer But I recommend reading the Debian Project wiki if you run into any other problems not mentioned here. For example if you are connected to the internet via a proxy. It also mentions the problem of some old CPUs not having SSE2.

Reply

15 Elias August 23, 2013 at 4:09 pm

Here works fine after fix the address on /etc/apt/sources.list:

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

This How-To must be updated with this correction… But thanks for this howto, and thanks to “Name” to appoint the mistake…

Reply

16 luis September 6, 2013 at 12:40 am

Great tutorial, helped me get the rdio app working on my x202e. It was odd because youtube would work but when I tried to get rdio to start playing it wouldn’t work. Regardless this fixed it
Thanks!

Reply

17 gabriela September 12, 2013 at 12:31 am

Hi I have this problem the system didnt let me edit /etc/apt/sources.list
I tried with gedit and going directly to the text editos but didnt let me save it and I am already login in as a root
I dont know what to do

Reply

18 gabriela September 12, 2013 at 12:43 am

sorry i google my problem and I solve it aesily you have to put sudo bash to let you gedit thank you for make this post was really helpfull for me XD

Reply

19 umar October 13, 2013 at 4:51 pm

epiphany-browser does not automatically use flasplugin-nonfree on wheezy 32-bit

Reply

20 Allysson October 29, 2013 at 1:50 pm

Thanks brother! nice post.

Reply

21 jb November 30, 2013 at 11:10 pm

That’s it. I am giving up on Linux. Even after 2 weeks, nothing but headaches and frustrations. Between trying to install something as simple as Flash, to Linux not supporting certain wireless network adapters. Eff this, I am going back to Windblows.

Reply

22 dinosaur December 2, 2013 at 4:37 am

@jb: if the comparison is about who has better proprietary tools, linux isn’t going to win, as it’s an impossible fight.

Reply

23 Andrew December 3, 2013 at 4:23 pm
24 Denikin January 9, 2014 at 12:39 am

Thanks for this manual, I successfully install Adobe Flash Player in Debian 7 Wheezy :)

Reply

25 joão evangelista January 18, 2014 at 4:21 am

Muito boa dica perfeito.

Reply

26 dave February 21, 2014 at 5:47 pm

i don’t know why in thesam hell debian doesn’t have adobe flashplayer pre installed for you or have software sources tool seriously not one of these comments is giving a striaght answer!?!?

Reply

27 Antonio Gregorio Montes March 4, 2014 at 11:05 pm

Thank you!

Reply

28 grzegorz bajson March 5, 2014 at 8:19 am

thanks a lot!

Reply

29 Ravi Dhoriya April 9, 2014 at 12:23 pm

Thank you :D

Reply

Leave a Comment

Tagged as: ,

Previous Faq:

Next Faq: