Works in every shell and is as simple as
Code:
sudo apt-get install flashplugin-nonfree
The best and simplest way to install on a Linux distro with package management, like Ubuntu, is to first look at the repositories if you can install the program from there. This way all dependencies are installed automatically and you will get updates also automatically.