I have searched through a variety of resources (both here and elsewhere) and cannot find anything constructive or concrete on installing flash player for elementary 5.1. I was wondering if anyone (surely someone must have done it - and it's probably trivially easy) has any advice on this.

sudo apt install software-properties-common

sudo add-apt-repository "deb http://archive.canonical.com/ bionic partner"

sudo apt update

sudo apt install adobe-flashplugin

The adobe-flashplugin includes support for both CHromium and Firefox.

  • In elementary OS, lsb_release -sc outputs hera. When using this command in conjuction with add-apt-repository, you're going to end up with bad ppa's in the sources list. For example, your command above results in E: The repository 'http://archive.canonical.com hera Release' does not have a Release file. So please edit your answer and replace $(lsb_release) with bionic, since elementary OS 5.1 is based on Ubuntu 18.04. – Vlad Feb 24 '20 at 10:29
  • That's my bad. Wasn't really thinking about that. :p – user20763 Feb 24 '20 at 10:36
  • Also, I've put the answer as community wiki. It'll need updating once eOS updates to the next LTS release which I'll probably forget/not be here for. – user20763 Feb 24 '20 at 10:46
  • No problem, thank you for fixing it! – Vlad Feb 24 '20 at 10:46
  • I've given it a shot, and the terminal returns the error that the command add-apt-repository wasn't found. Any ideas? – ejb57 Feb 24 '20 at 21:20

This has instructions for setting up add-apt-repository: https://linuxize.com/post/how-to-add-apt-repository-in-ubuntu/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.