Ubuntu – How to install Adobe Flash to Chromium browser

aptflashsoftware installation

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

Best Answer

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.

Related Question