Installing flash on Ubuntu

Solution 1:

Have you enabled sufficent sources of software? Since you want to install Flash via the CLI, you will have to edit your sources.list found here: /etc/apt/sources.list. To do so, you'll have to use sudo and a suitable editor such as nano after backing up the original file:

sudo nano /etc/apt/sources.list

Read https://help.ubuntu.com/community/Repositories/Ubuntu to ensure that the sources you need are included. For example:

deb http://archive.ubuntu.com/ubuntu quantal main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu quantal-updates main restricted multiverse universe
deb http://archive.canonical.com/ubuntu quantal partner
deb http://extras.ubuntu.com/ubuntu quantal main

You can read more here: https://help.ubuntu.com/community/Repositories/CommandLine

Once you've edited sources.list to your satisfaction, you will need to refresh things and make apt aware of the changes by running

sudo apt-get update

You should then be able to install Flash Player with

sudo apt-get install flashplugin-installer