The Adobe Flash Player plugin is use for viewing multimedia, and streaming video and audio, on a Firefox web browser. The same plugin is used by Google chrome and other browsers. Keeping your third-party plugins such as flash player up to date helps Firefox run safely and smoothly.

As explained earlier you need to install the flashplugin-nonfree package under Debian and Ubuntu Linux to get flash support for Firefox and other browsers. You can check plugins status by visiting the following url:

Firefox Update Flash Plugin

Fig.01: Check Your Plugins

How Do I Update the Adobe Flash Player Under Debian or Ubuntu Linux?

Open a terminal window (select Applications > Accessories > Terminal). Switch to the root user by typing su – and entering the root password, when prompted:
$ su -
# update-flashplugin-nonfree --install

$ sudo /sbin/update-flashplugin-nonfree --install
The update-flashplugin-nonfree command takes care of downloading, removing the installed Adobe Flash Plugin if it has been reported as insecure, or, if a newer suitable version is available, downloading a newer Adobe Flash Player and its installer from the Adobe download site. From the man page:

              To install, update or remove the Adobe Flash Player depending on
              downloaded  last  minute  information from Debian about suitable

              To remove the Adobe Flash Player.

(Fig.02: update-flashplugin-nonfree command line options)

Next, restart the Firefox and all other browsers. Again, check plugins status by visiting the following url:
Debian / Ubuntu Linux Update Flash Player For Firefox / Chrome Browser

Fig.02: Up To Date Flash Plugin Reported By Mozilla

๐Ÿง Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

๐Ÿง 23 comments so far... add one
CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
23 comments… add one
  • tueken Nov 24, 2011 @ 12:57

    Finally i can watch youtube from ubuntu.

  • alan Nov 25, 2011 @ 18:36

    I have found the firefox plugin “flash-aid” to be the best solution for firefox. It allows one to choose which library to use, which was important with Pandora didn’t work for me.

  • setevoy Nov 30, 2011 @ 11:59

    Well, Firefox website says that I need to update Flash.
    I try make:
    setevoy@lizard:~$ sudo /sbin/update-flashplugin-nonfree –install
    but get answer:
    sudo: /sbin/update-flashplugin-nonfree: command not found

    รยงรยฏรยรโ€รยข? (What I make wrong?) ๐Ÿ™‚

    Linux lizard.dcv 2.6.32-31-generic #61-Ubuntu

    • DBB Apr 11, 2013 @ 23:03

      I know this is old, but it is because you didn’t do the first (kinda hidden) step where you install update-flashplugin-nonfree to /sbin/

      • setevoy Aug 20, 2014 @ 5:58

        Hi, man. Thanks for replay, but look at post date:

        setevoy November 30, 2011

        anyway – thanks ๐Ÿ™‚

  • Conner Sep 26, 2012 @ 10:02

    you missed the second ‘-‘?
    Your install should be –install

  • Thomas Oct 13, 2012 @ 16:02

    when i do
    $ sudo /sbin/update-flashplugin-nonfree –install
    it says $: command not found
    what do i do?

    • mueller Mar 19, 2013 @ 14:46

      type – twice before typing install
      2x — install

    • DBB Apr 11, 2013 @ 23:02

      `sudo /sbin/update-flashplugin-nonfree –install` is the command. $ implies the start of the shell line, not part of the command.

  • Johnny Allen Jun 28, 2013 @ 21:51

    None of the commands here work on Bodhi.

  • Zach Stewart Aug 24, 2013 @ 6:07

    This doesn’t work.

    • Ricardo Nov 29, 2013 @ 4:59

      This one works guaranteed

      sudo apt-get install flashplugin-nonfree

  • John Mar 20, 2014 @ 16:15

    Ummm..nope, it doesn’t. No candidates found. Have updated my sources.list even and still nothing. None of the sudo commands are working.

  • markus Apr 9, 2014 @ 12:16

    Go back to Windows where you don’t have to bother over such issues. Always the same story in Linux, hours and hours of executing scripts and commands to just get the very basic things done that we take granted in Windows…

    • Mark A Jul 5, 2014 @ 3:08

      that’s heresy in these here parts markus! LOL

      But you are right, I installed the latest Ubuntu in a virtual mode to try and the Flash player (11) is obsolete and wont and can’t update to the latest because Adobe won’t support Linux any longer. I’m a punter (horse racing) and our TAB website is written in and for Flash if you don’t have the latest version of flash you don’t get in.
      Apart for geeks I don’t see any point in having a Linux install, even for price, for G sake I paid $89 for a full copy of Win8 Professional, if you can’t afford that give up computing.

      • jcd Dec 12, 2014 @ 9:01

        yea, go back to good old MS….
        with its slow speeds and its crippled and dumbed down OS and its viruses and bad security.
        to think that people still pay for Windows OS today….

        anyway, for up to date flash in linux there are too many alternatives: chrome, chromium + pepper flash, wine, the open source flash alternatives, pipelight…
        It only takes an hour tops to implement a working solution if you wish to read a little about it.

      • Braden Jan 29, 2015 @ 16:25

        Why you would ever program an entire site in flash is beyond me. That’s like serving a mound of salt as an entree.

        You see, flash is a third-party plugin meant to display multimedia content through a proprietary protocol. It’s meant for doing things that aren’t possible with HTML, such as browser games, video players, etc. Flash is NOT suited for web design, and I am appalled every time I see a website coded in flash. From my analogy earlier, flash is like salt. It’s meant to be added sparingly, peppered throughout the site where needed.

        In other words, if your site won’t work becuase you coded it in flash, that is your fault for making a terrible design choice; not the user’s fault nor the fault of Linux for not supporting flash. Are you going to bash iOS and Android, now, for not supporting flash? Do you realize how large of a market share smartphones enjoy? Do you realize just how many potential users you are losing just because you couldn’t come to your senses and program your site in PHP/Python and HTML5/JavaScript/CSS?

        Not to mention, “it doesn’t support flash” is a terrible reason to shun a technology.

        Welcome to the future, where HTML5’s new specifications, Google, and even Adobe themselves, are actively working towards the obsolescence of flash, and the rise of HTML5 and Unity; get with the program, or fade into obscurity like those who couldn’t keep up in the past.

  • anonymous Apr 14, 2014 @ 10:38

    try… apt-get update

    • anonymous(cje) Nov 9, 2014 @ 11:37

      ๐Ÿ˜ฎ Woah!! That does work

  • anonymous(cje) Nov 9, 2014 @ 11:38


    spoke too soon….

  • Mark Dec 29, 2014 @ 5:48

    your missing one thing choose which flash your updating try: first you need to switch over to administrator,
    First type ( su – ) your cursor should turn red in the Terminal
    Now type ( sudo apt-get install adobe-flashplugin ) and then add your password
    click y to start the down load. it will remove the old version of Adobe Flash Player and install a new version

    Good luck.

    • Braden Jan 29, 2015 @ 16:12

      su or sudo. Choose one.

      With su, you type in the password of the target account. With no arg provided, that means you’re logging in as root.

      With sudo, you type _your_ password, and have to be in the sudoers file.

      If your shell looks like this:

      $ su
      # sudo apt-get […]

      …then you aren’t understanding the purpose of sudo, or the necessity of avoiding logging in as root when using networked commands.

  • sup2069 Oct 31, 2015 @ 20:55

    Thanks for this, command works after installing “that” package first.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum