Getting Flash to Work With Iceweasel in Debian

Install Debian Jessie

If you followed our guide showing how to dual boot Debian with Windows 8.1 you are probably wondering what the next steps are.

Debian only ships with free software, so playing MP3 audio and playing Flash games requires extra work.

Two Ways to Get Flash to Work on Your System

This guide shows two ways to get Flash to work on your system. The first method uses Lightspark which is free and open source. The other method uses the Flash-nonfree package.

Option 1 — Install Lightspark

This is the easiest way to install a Flash player for Debian but it isn't 100% perfect and is still described on the Debian WIKI page as experimental.

  • To install Lightspark open a terminal window. If you are using GNOME you can open a terminal by pressing the super key on your keyboard (Windows key) and then type term into the search box.
  • Select the Terminal icon when it appears.
  • Switch to the root user by typing su - root and enter your password.
  • Now type apt-get update to update your repositories and then apt-get install lightspark.
  • Open Iceweasel and visit a site that has Flash videos or games to try it out.

Option 2 — Install Flash Plugin

  • To install the Adobe Flash plugin open up a terminal and type su - root and enter your password.
  • Now open up your sources.list file in nano by typing nano /etc/apt/sources.list.
  • At the end of each line add the words contrib non-free as follows:
deb jessie main contrib non-free
deb-src jessie main contrib non-free
deb jessie/updates main contrib non-free
deb-src jessie/updates main contrib non-free
# jessie-updates, previously known as 'volatile'
deb jessie-updates main contrib non-free
deb-src jessie-updates main contrib non-free

  • Save the file by pressing CTRL + O and then exit by pressing CTRL + X.
  • Update your repositories by typing apt-get update and then install the Flash plugin by typing apt-get install flashplugin-nonfree.
  • Open Iceweasel and navigate to a site with Flash games or videos and try it out.

To make sure that Flash has indeed installed correctly visit

A little grey box will appear with the version number of the Flash player that you have installed.


Flash isn't the big deal it used to be. Even Youtube has moved away from using it and as HTML5 becomes more established the requirement to install any Flash players on your computer will become less and less.

At the moment though if you have the odd Flash game that you really like or you use websites that require the use of a Flash plugin then hopefully this article has helped you.