I was under the impression that Ubuntu 11.04 installed a flash player during initial setup.
Well, I was wrong. After installing Ubuntu on my system and heading to Pandora, I discovered that flash was not installed. I installed the version from Adobe’s site, but that one still didn’t work.
Here’s a quick way to install it from the command line:
$ sudo apt-get install flashplugin-nonfree
Restart your browser, and give it a try. YouTube and Pandora should work now.