Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an EC2 instance running Ubuntu 12.10 and I'd like to install Flash Player on it. However, when I try to install it as follows, I'm unable to. Some hint on how I could proceed? Thanks.

$ sudo apt-get install flashplugin-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package flashplugin-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'flashplugin-installer' has no installation candidate

I haven't set up VNC yet, so I'd very much prefer a CLI solution for the same.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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:

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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