How to install Flash Player in Ubuntu

Source: Internet
Author: User

 

Install Adobe Flash Player 10 on Ubuntu 9.10 x86_64

 

I have known that the installation of Flash Player on 64-bit Linux is not a good solution, including me. I think many people will be killed by this problem. It looks like it is installed, but you cannot see Flash videos in Firefox. There are a lot of Deb files downloaded on the network, either conflicting or not installing. Therefore, record the solution here.

First, remove all plug-ins related to flash:

Sudo apt-Get remove-y -- purge flashplugin-nonfree gnash-common mozilla-plugin-Gnash swfdec-Mozilla libflashsupport nspluginwrapper

For the sake of insurance, please confirm again that the Flash plugin under the following four directories are cleared (if there are Flash files, please manually delete them ).

/Usr/lib/Mozilla/plugins/

~ /. Mozilla/plugins/

/Usr/lib/Firefox/plugins/

/Usr/lib/nspluginwrapper

Install ia32-libs and nspluginwrapper

Sudo apt-Get install ia32-libs nspluginwrapper

Download the latest tar.gz file from Adobe Labs downloads, decompress the file, and copy libflashplayer. So to/usr/lib/Mozilla/plugins/

Then, use nspluginwrapper to install Flash Player and establish symbol link.

Sudo nspluginwrapper-I/usr/lib/Mozilla/plugins/libflashplayer. So

Sudo ln-SF/usr/lib/nspluginwrapper/plugins/npwrapper. libflashplayer. So/usr/lib/Mozilla/plugins/

Sudo ln-SF/usr/lib/nspluginwrapper/plugins/npwrapper. libflashplayer. So/usr/lib/Firefox-Addons/plugins/

Then restart Firefox to take effect.

 

========================================================== ==========

 

This script was for installing 32-bit flash 10 on 64-bit ubuntu. now that Adobe has released a 64-bit flash, you shoshould not be trying to install 32-bit flash on 64-bit Ubuntu any longer.

Here is a blog entry about installing the new Native 64-bit flash.

Important Note: although this script worked fine for me and other others, there is a list of concerns with it posted on the Ubuntu forums. you might want to check that out to be informed before proceeding.

I'll spare you the errors I ran into, but if you see things like:
* ** Nsplugin viewer ** error: libcurl. so.3: cannot open shared object file: no such file or directory

... Don't be discouraged.

First off, these are the two references that I used to get things working:
My science is better: install Adobe Flash Player 10 on Ubuntu 64bit

Don't run that script or anything yet, because you also need to read a bit from this Ubuntu forums thread to get all the libs that are needed under amd64!

(If you do run the script you will get the nsplugin viewer errors for the missing libs. You can just install them with getlibs and continue on .)

Step one: Get getlibs
This is a package that will grab libs, 32 and 64-bit under amd64 (and 32-bit only under ider .)

Step two: run the script
This is a very slightly modified script which combines what you need to do from both of the above posts. it is 99% what "My science is better" already had-I only added the bit about grabbing the libs and updating the Flash Player file name.

 #! /Bin/bash <br/> # script created by <br/> # Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com <br/> # super Minor updates by Jason. melton [at] Gmail [Dot] com <br/> # released under GPL <br/> echo "stopping any Firefox that might be running" <br/> sudo killall-9 Firefox <br/> echo "removing any other Flash plugin previusly installed: "<br/> sudo apt-Get remove-y -- purge flashplugin-nonfree gnash-common Mozilla-plugin-Gnash swfdec-Mozilla libflashsupport nspluginwrapper <br/> sudo Rm-F/usr/lib/Mozilla/plugins/* flash * <br/> sudo Rm-f ~ /. Mozilla/plugins/* flash * <br/> sudo Rm-F/usr/lib/Firefox/plugins/* flash * <br/> sudo Rm-F/usr/lib/ firefox-Addons/plugins/* flash * <br/> sudo Rm-RfD/usr/lib/nspluginwrapper <br/> echo "installing ia32-libs and nspluginwrapper" <br/> sudo Apt -Get install ia32-libs nspluginwrapper <br/> echo "getting Libs" <br/> sudo getlibs-P libcurl3 <br/> sudo getlibs-P libnss3-1d <br/> sudo getlibs-P libnspr4-0d <br /> Echo "installing Flash Player 10" <br/> Cd ~ <Br/> wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz <br/> tar zxvf install_flash_player_10_linux.tar.gz <br/> sudo CP install_flash_player_10_linux/libflashplayer. so/usr/lib/Mozilla/plugins/<br/> sudo chmod + Rx/usr/lib/Mozilla/plugins/libflashplayer. so <br/> RM-RF ~ /Install_flash_player_10_linux/<br/> sudo nspluginwrapper-I/usr/lib/Mozilla/plugins/libflashplayer. so <br/> echo "linking the libraries so Firefox can find it. "<br/> sudo ln-SF/usr/lib/nspluginwrapper/plugins/npwrapper. libflashplayer. so/usr/lib/Mozilla/plugins/<br/> sudo ln-SF/usr/lib/nspluginwrapper/plugins/npwrapper. libflashplayer. so/usr/lib/Firefox-Addons/plugins/<br/> echo "done :-)"

After this, you should see "Shockwave Flash" as a plugin if you type in "about: plugins" in the browser bar.

YouTube is working fine now!

 

========================================================== ====================

 

I was about to upgrade Ubuntu from 8.04 to 9.10 yesterday. I always encountered flashplugin-nonfree package broken,
Need resintall it before remove it.
I can't delete or delete it, nor can I install it. I tried all the sub-methods, but apt-Get didn't have the reinstall command. I can't install it directly.
I haven't understood it for more than half a day. When I was about to give up preparing to directly use the 9.10 image, I came to prepare for the final fight this morning.
Finally, I want to find a solution to the problem on the Internet. I would like to share with you the following:

1. Backup your/var/lib/dpkg/status file Nb you must do this first,
Because if you lose this file, your system is hosed.
In a terminal, run: sudo CP/var/lib/dpkg/status
/Var/lib/dpkg/status. Backup

2. In a terminal, type in the following command: sudo gedit
/Var/lib/dpkg/status

3. Search for "flashplugin-nonfree" in the opened file.
Package: flashplugin-nonfree

4. Delete this block.

5. Save the file

5. sudo apt-Get install flashplugin-nonfree

Then everything is normal and you are in a good mood ~~~~~~~~~
Original Link

Https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/365392/comments/10

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.