Ubuntu12.04 how to install the flash plug-in for Firefox

Source: Internet
Author: User
This article mainly introduces how to install the flash plug-in for the Firefox browser ubuntu12.04. if you need it, refer to the following tag: Ubuntu

After Ubuntu12.04 is installed, I use the Firefox browser to watch videos. Result the browser prompts that a suitable plug-in is missing and the player cannot be played. In the installation wizard, I selected the adobeflash plug-in.

However, after waiting for half an hour, the flash plug-in has not been downloaded yet, because there are other software to download, so I click to cancel the download of the flash plug-in. the result is stuck there after half an hour:

I think, since the software center cannot be downloaded, use the apt-get install command in the terminal to download it. Result:


Copy codeThe code is as follows:
E: unable to obtain the lock/var/lib/dpkg/lock-open (11: the resource is temporarily unavailable)

E: The Management Directory (/var/lib/dpkg/) cannot be locked. Is there any other process occupying it?

I closed the Ubuntu Software Center and used the following method to unlock it:


Copy codeThe code is as follows:
Sudo rm/var/cache/apt/archives/lock

Sudo rm/var/lib/dpkg/lock

After unlocking, I use the apt-get command again to download the software:

"E: dpkg is interrupted. you must manually run sudo dpkg -- configure-a to solve this problem ."

Now, check the Ubuntu Software Center again. there is no download item "canceling. Use apt-get to install the software on the terminal again.

Then, I used the method provided by yuntianhe _ reincarnation: first download install_flash_player_11_linux.i386.tar.gz on the adobeofficial network, decompress it to the desktop, and install it on the terminal:


Copy codeThe code is as follows:
CD'/home/myd/desktop'

Tar-zxv install_flash_player_11_linux.x86_64.tar.gz

Sudo cp libflashplayer. so/usr/lib/mozilla/plugins # if this command cannot work, (the flash plug-in of Firefox 12.04 may not be installed in the mozilla path:

Mozilla was invalid when I installed flash today. Please replace mozilla with firefox.
However, in any case, mozilla is firefox.

If the sudo cp libflashplayer. so/usr/lib/mozilla/plugins command cannot work on your computer, try the following command:

Copy codeThe code is as follows:
Sudo cp libflashplayer. so/usr/lib/firefox/plugins
Sudo cp-r usr/*/usr

In this way, I have successfully installed the flash plug-in. Then, I used sudo apt-get install compizconfig-settings-manager to install the compizconfig settings manager.

Related Article

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.