2

I have downloaded flashplayer from a site and tried to install it from the terminal but I get an error.

enter image description here

I tried this command which I have found in another posting and when tried to install the package got same error.

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
7
  • 1
    Install it by sudo apt-get install flashplugin-installer.
    – Pilot6
    Sep 10, 2016 at 11:53
  • well , it says that the newest version is already installed but im opening a site needs flashplayer plugin and says Flash detection failed Sep 10, 2016 at 12:00
  • What browser do you use? And which Ubuntu version?
    – Pilot6
    Sep 10, 2016 at 12:02
  • chromium , ubuntu 16.0.4 Sep 10, 2016 at 12:04
  • 1
    If you use Chromium, you need pepperflash. It can be installed by sudo apt install adobe-flashplugin. Restart the browser after you do it.
    – Pilot6
    Sep 10, 2016 at 12:05

1 Answer 1

5

Whenever you run root operations, such as apt-get, you absolutely must use sudo. Otherwise, you will get the "Permission Denied" error. The message even hints at what you should be trying: "Are you root?"

Use sudo apt-get install flashplayer to install that package.

As Pilot6 has pointed out in the comments, you need pepperflash for Chromium. However, the package name he gave you was not correct. You want:

sudo apt-get install pepperflashplugin-nonfree

That will install Flash Player for Chromium (and I believe Firefox). It will start working either after you restart Chromium or reboot the computer.

If it doesn't, run

sudo update-pepperflashplugin-nonfree --install

to manually install it to Chromium.

4
  • There is no package pepperflashplugin-nonfree.
    – Pilot6
    Sep 10, 2016 at 12:14
  • @Pilot6 it's installing right now on my 16.04 machine. Sep 10, 2016 at 12:17
  • 1
    You are correct. It is in multiverse now.
    – Pilot6
    Sep 10, 2016 at 12:18
  • well , now after i did what @Pilot6 gave me it updated somthing but got same error then i used this command it started downloading and finally setting up the plugin thank u both guys Sep 10, 2016 at 12:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .