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 had significant problems with watching flash video in 64-bit Ubuntu. Does anyone know of a good way to get flash running on the platform?

share|improve this question

16 Answers 16

up vote 52 down vote accepted
+400

For 11.04 and earlier:

Are you installing it from the Ubuntu Software Center?

  1. Go to Applications->Ubuntu Software Center.
  2. Click on Canonical Partners
  3. Click the Adobe Flash Plugin 11 and click install.

Note: this is the method I use on my 64-bit Ubuntu install and it has yet to fail me.

enter image description here

share|improve this answer
    
Same here: installed the default (but proprietary) 64bit plugin and I have no issue. –  Little Jawa Jul 29 '10 at 9:41

For 11.10 and later

Start Software Center from the Launcher and search for flash

Two entries will be found. The first is the wrapper around the 32bit flash version from Adobe. The second is the 64bit flash version.

Select the second flash entry - if the following picture is seen then you have not already enabled the Canonical Partner Repository previously.

enter image description here

Click More Info

enter image description here

... and click Use this source to enable the Canonical Partner Repository

enter image description here

see the end of this answer for the bug-report

Click Install

enter image description here

Click the Install button and enter your password when prompted. Note - you must have permission to install software.

enter image description here

The installation will proceed:

enter image description here

Once complete - launch Firefox and browse to your Flash Video. Right click and confirm that the latest version of Flash has been installed correctly.

enter image description here

Note - pictures subject to change - the 64bit version has only been recently packaged in the last week before Oneiric release - One issue currently exists:

  1. https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/870835

In the interim - either use the first "Multiverse" 32bit plugin in the pictures above or use adobe-flashplugin

sudo apt-get install adobe-flashplugin
share|improve this answer
    
Two things: Firstly, the number in the brackets is the number of reviews, not the rating (as you can see, the one you've selected is lower-rated than the other one). Secondly, I'd use the other one, which is the 64bit build rather than the 32bit compatibility wrapper. –  RAOF Oct 9 '11 at 23:07
    
Since I always try to be as lazy as possible, I always install the package ubuntu-restricted-extras which is a meta-package includes adobe's flash player among other useful things. This possibility existed with earlier ubuntu versions and is still working smoothly with 11.10. –  Ewald Oct 9 '11 at 23:37
    
Is the bug 870835 still valid or is it all fixed now i.e. I keep my ubuntu 12.04 x64 updated = I have the latest 64 bit Flash player and not 32 bit one? –  Bucic Jul 12 '12 at 20:00
    
How do I check if I have 64-bit Ubuntu? –  sammyg Jul 13 '13 at 14:43
    
The current 13.04 alpha version does not have an adobe-flashplugin package in the Canonical repository. Possibly related to this? There is still an flashplugin-installer package though. –  Lekensteyn Jan 28 at 15:11

This is how to install Adobe Flash Plugin for Firefox:

  1. Go to this page and select the option .tar.gz for other Linux. Download the file.
  2. Unpack the plugin tar.gz and copy the files to the appropriate location.
  3. Save the plugin tar.gz locally and note the location the file was saved to.
  4. Launch terminal and change directories to the location the file was saved to.
  5. Unpack the tar.gz file. Once unpacked you will see the following:

    • libflashplayer.so
    • /usr
  6. Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version.(Usually it is /usr/lib/mozilla/plugins/)
    For ubuntu 14.04 path is : /usr/lib/firefox/browser/plugins

  7. Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:

    sudo cp libflashplayer.so <BrowserPluginsLocation>
    
  8. Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:

    sudo cp -r usr/* /usr
    
  9. Now restart your browser.

share|improve this answer
1  
software manager was showing installed but your method finally made it work, thank you –  dhaval Jun 29 '13 at 13:45

Since you have stated that this is the first time you have ever used ubuntu. i would suggest that you install the package ubuntu-restricted-extras, this includes lots of useful stuff like adobe flash and codecs and MS fonts etc.

you can do this in many ways.

software centre: Click on this link:

Install via the software center

or in a terminal: type sudo apt-get install ubuntu-restricted-extras

synaptic: search for the package ubuntu-restricted-extras right click the package and select install, and then select mark. after click the apply button and it will all install.

share|improve this answer
    
will it install the best possible Flash Player for my system or are there better versions? Will it install 64 bit version? –  Bucic Jul 12 '12 at 19:55

There is a simple solution for this problem.

Open your Firefox and go to Youtube. Click on any video. Definitely it won't play because you don't have any flash player installed. But Firefox will promote you to install missing plug-in at the top. Simply click on it and follow the procedure. After that your video will start to play. Make sure you have latest Firefox browser installed.

Or try this in your terminal

sudo apt-get install flashplugin-installer
share|improve this answer
    
this sudo apt-get install flashplugin-installer works perfectly for me –  leticia Sep 5 '12 at 18:16

Get my Flash-Aid extension for Firefox. It will take care of downloading and installing the appropriate version for your system architecture and will also remove conflicting plugins. If you are on 64bit, it also allows to install the 64bit preview version, which renders better results than the 32bit with nspluginwrapper.

BTW, if you can't copy anything to ~/.mozilla/plugins folder, then you should check the ownership of the ~/.mozilla folder. It should allow to copy anything there. Unless of course you are referring to a system folder outside your home directory, which requires root privilege.

share|improve this answer
    
Thank you!!! These answer needs to be on the top for 12.10 –  Pramod Jan 5 '13 at 13:21
    
flash-aid was removed by it's author –  BЈовић Sep 12 '13 at 6:17

It depends on what browser you are using. Google Chrome (not Chromium) has Flash player by default.

Go to www.google.com/chrome and click download Chrome Choose 64-bit .deb (anybody reading this using 32-bit machines should select the 32-bit .deb)

When you click on the .deb file when it has downloaded it will open in the Software Centre. Now click install and when it has finished you can find the browser in Applications -> Internet.

share|improve this answer

Use the Ubuntu Software Center (in the Applications menu). In the text entry field (of the search box), you can search for "flash", and the results will populate one Adobe Flash plugin (note the Adobe logo). Choose that, and follow the directions to use the source.

share|improve this answer

Double check which "plugin" directory is being used. Had to spend a good hour one time just plowing through all the plugin directories till I found which ones my firefox was actually reading, and then ln -sed them all to point to a common one.

End of the day you might be dropping it in the wrong place.

Also start firefox from the command line, you might see errors. Example is running a x86 flash player in an x64 browser(not os) and vice versa. From the command line (%> firefox) you should see the plugin initialization log lines. (maybe try this one first :P)

Also anything in /usr/lib/... is owned by root so you would have to sudo cp libflashplayer.so /usr/lib/firefox/plugin where .../firefox/plugin points to the location of the firefox plugin directory.

share|improve this answer
    
Finding out which plugin your processes are actually using is easy: sudo lsof | grep libflashplayer –  arielf Jul 11 '12 at 21:55

Definite fix for 64 bit Flash on 11.10

I fixed 64 bit Flash on my 11.10 systems without any wrappers. If you follow the solutions mentioned above you will still end up with the 32 bit version and wrappers.

Note: most of this can be done in a terminal as well, in that case you don't need to install Synaptic. Furthermore, it could be that just executing steps 5, 6 and 8 is enough, but I have not tested this yet.

  1. Install Synaptic (Software Center doesn't show the package you need, not in the main items and not within the technical items and not even after it's been installed)
  2. Start Synaptic and search for 'flash'
  3. Sort by installed state
  4. Remove all flash-related packages (such as flashplugin-downloader:i386, flashplugin-installer, ndiswrapper-common etc.). If there's nothing listed you probably don't have Flash installed at all. In that case, just move on to the next step.
  5. Enable the Canonical partner repository (see above posts on how to do that)
  6. Update the package list (don't count on Software Center doing this for you, it sometimes doesn't) by clicking 'Reload' in
  7. Search for 'flash' again
  8. Install the package 'adobe-flashplugin'. If it's not in the list, something went wrong with updating the package lists. Try quiting and restarting Synapic, then click on 'Reload'.

One extra package, 'adobe-flash-properties-gtk' will be installed automatically. Nothing more.

Now you will have full 64 bit Flash without any wrappers and other garbage in both Firefox and Chromium. A restart of your browser(s) is required though. If it's still not working, try a reboot (there might be some bogus reference to the old plugins somewhere).

share|improve this answer
sudo apt-get remove --purge adobe-flashplugin flashplugin* nspluginwrapper
sudo apt-get install --reinstall adobe-flashplugin

Ref: http://ubuntuguide.net/install-adobe-flash-pluginfix-not-working-problem-in-ubuntu-11-10-oneiric

share|improve this answer

Here's what you need to do: by default, Ubuntu comes with only open source software enabled (I think that's the case, anyway).

The way you enable other stuff (like Flash, Java, and support for recording or playing MP3s, which is NOT open source) is to go in your Software Center, go in the menus (unfortunately I'm not currently on Ubuntu and can't tell you which menu) and search for Software Sources.

Click it, and you'll be brought to a window which tells Ubuntu what it's allowed to install for you. In front of you should be a list of five different "universes". What you need to do is enable the two that aren't currently enabled.

After that, it should ask you whether you want to reload your repositories, but if it doesn't, get in a command line and type

sudo apt-get update

and let it finish. Then you should be able to find flash in either the Software Center or in the command line. You could alternatively install the ubuntu-restricted-extras package, which will give you all of the three things I mentioned above.

Good luck!

share|improve this answer

I went through as many possible suggestions as I could find in an effort to get flash to work in Chrome on my 13.10 64bit installation. Nothing worked. I finally stumbled on the Pepper Flash answer.

There are complete and well-written instructions at (link is direct)

ubuntuhandbook.org

They detail adding the repository, updating apt, installing Pepper, and modifying the chrome config. The thing that I did differently from their instructions was to change to the /etc/chromium-browser directory and issue the command

sudo gedit default

which allowed me to add a comment to the file in addition to the necessary .sh info so the last couple lines of my modded default file were:

# enable Pepper Flash Player Plugin
. /usr/lib/pepflashplugin-installer/pepflashplayer.sh

Hopefully this solution will work for some time.

share|improve this answer

In case the

sudo apt-get install flashplugin-nonfree

does not work (like in my case and I do not know why...), you may want to give Opera as your browser a try. It is the only one that works for me.

PS: I do not want to advertise Opera a browser, it's just that this was the only solution that somehow worked for me.

share|improve this answer

I've just found a solution for those who has flash working on Firefox but not on Chromium. It's based on the fact that every browser has it's own plugins directory:

  • /usr/lib/firefox-addons/plugins (for Firefox)
  • /usr/lib/chromium-browser/plugins (for Chromium)

So, the only thing you've to do is to unificate them, aka, making one the link to the other. Probably, all plugins are on Firefox plugins directory, but it isn't worth to ensure that:

ls -l /usr/lib/{mozilla,chromium-browser}/plugins

If Firefox is the one where all plugins are, do the next. If not, do the opposite:

sudo rmdir /usr/lib/chromium-browser/plugins
sudo ln -s /usr/lib/mozilla/plugins /usr/lib/chromium-browser/

Finally, restart Chromium so changes take effect.

Probably, it wouldn't be a bad idea to create a bug report on Chromium/Firefox package maintainers to alert about the bug and the simple solution.

share|improve this answer

Well I post this here, in hopes of helping someone. I'll state what was happening and how I solved it.

SETUP:
Running 12.04 from a WUBI installation.

PROBLEM:
When I searched in the Ubuntu Software Center the keyword flash, none of the options posted here appeared except ONE for a flash plugin for Mozilla. When attempting to install it, I got a dependency error.

Tried installing it through the Ubuntu Restricted Extras from Ubuntu Software Center, however the flash plugin portion of this installation did not work because of the dependency error.

Kept searching and found this command to install the plugin

sudo apt-get install flashplugin-nonfree

and ran it from the terminal.

Same dependency error with this output:

Reading package lists... Done Building dependency tree        
Reading state information... Done Note, selecting 'flashplugin-installer' instead of 'flashplugin-nonfree' 
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. 
The following information may help to resolve the situation:
The following packages have unmet dependencies:  
 flashplugin-installer : 
 Depends: libnspr4-0d but it is not going to be installed E: Unable to correct problems, you have held broken packages.

SOLUTION:

I ran

sudo apt-get install -f 

and then

sudo apt-get update 

which I found from some other post that was trying to solve dependencies.

Then I ran

sudo apt-get install flashplugin-nonfree

and flash plugin now works on Chromium and Firefox.

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.