In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to install flash player for Firefox under Ubuntu". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to install flash player for Firefox under Ubuntu.
Common Flash player plug-in installations are as follows:
1. Download the install_flash_player_10_linux.deb installation package from flash's website.
The website is http://get.adobe.com/flashplayer/
My choice is: .deb for Ubuntu
two。 Terminal:
The code is as follows:
Sudo dpkg-I install_flash_player_10_linux.deb
3. After installation, there will be the file libflashplayer.so needed for firefox in the / usr/lib/adode-flashplugin directory. You can check it in this directory. The file has been generated!
4. Create a soft link to the firefox plug-in directory
The code is as follows:
Sudo ln-fs / usr/lib/adode-flashplugin/libflashplayer.so / usr/lib/mozilla/plugins/libflashplayer.so
5. Restart firefox, and you can.
BUT....
Sometimes there are errors like this:
The code is as follows:
E: unable to acquire lock / var/lib/dpkg/lock- open (11: resource temporarily unavailable)
E: unable to lock the management directory (/ var/lib/dpkg/)
Is it being occupied by another process?
If you lock it, you have to unlock it. My usual thinking is to grasp the principal contradiction and kill those who stand in the way. So the way to unlock it here is to kill the file:
The code is as follows:
Sudo rm-rf / var/cache/apt/archives/lock
Sudo rm-rf / var/lib/dpkg/lock
When you run apt-get again, you get in the way as promised:
The code is as follows:
E: dpkg is interrupted, you must manually run sudo dpkg-- configure-a to resolve this problem.
Since the system gives such a hint, let's do what the uncle says, so run it honestly:
The code is as follows:
Sudo dpkg-configure-a
The result is:
Setting up
The code is as follows:
Update-notifier-common (0.119ubuntu8.1)... Flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.233.orig.tar.gz
As a result, dpkg is monopolized by flashplugin-installer, and my Ubuntu is caught in a dead cycle of not being able to install and uninstall the software. Moreover, it also leads to:
Can I swear? Well, can't you? All right, keep trying to solve the problem! Stop-gap measures, here I had two ideas. The first is to end the dpkg process, and then run sudo dpkg-- configure-an again, which, of course, ends in failure. So you still have to uninstall the previously installed flashplugin. It's worth noting that instead of running the sudo dpkg-configure-a that the system prompts us to run, it's sudo dpkg-r flashplugin-installer, so run:
The code is as follows:
Sudo dpkg-r flashplugin-installer
But then it says:
The code is as follows:
Dpkg: error: dpkg status database is locked by another process
What a horse! Are you locked again? So, do it the old-fashioned way! After it is done, you need to execute the unsuccessful uninstall command again.
The code is as follows:
Sudo rm-rf / var/lib/dpkg/lock
Sudo dpkg-r flashplugin-installer
Well, at this time, we finally succeeded in unloading this god of plague. But it's easier to ask God than to send God-"A download item is being canceled" will still be displayed in the software center. I get angry when I see this. The ineffective way to end the process comes in handy here, so execute:
The code is as follows:
Ps-af | grep dpkg
At this point, you can see the specific process information of dpkg:
The code is as follows:
Root 4439 4427 0 01:42 pts/3 00:00:00 / bin/sh / var/lib/dpkg/info/update-notifier-common.postinst configure 0.119ubuntu8.1 ray 4659 3635 0 01:42 pts/4 00:00:00 grep-- color=auto dpkg
If you catch it, don't let it go! To catch or kill:
The code is as follows:
Sudo kill-9 4439
At this point, the uninstall work is successful, and let's get on the right track of installing flashplugin. First of all, go to Adobe's official website to download.
The code is as follows:
Install_flash_player_11_linux.x86_64.tar.gz
Download speed is not fast, has been maintained around 40kB, put up with it!
Officially, there are more detailed instructions on the installation of plug-ins:
"Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type: cp libflashlayer.so Copy the Flash Player Local Settings configurations files to the / usr directory. At the prompt type: sudo cp-r usr/* / usr"
As you can see, the official documentation is very clear. In fact, all we need is libflashplayer.so. There's nothing wrong with listening to brother Adobe, so we started to unpack the installation according to its documentation. Assuming that my user name is aa and the download folder is Downloads, the location is / home/aa/Downloads/. So, the step is to enter the directory first, and then extract it. You can get libflashplayer.so.
The code is as follows:
Cd / home/aa/Downloads
Tar xf install_flash_player_11_linux.x86_64.tar.gz
The next step is to copy the file into the plug-in directory of firefox
The code is as follows:
Sudo cp-r usr/* / usr
Sudo cp libflashplayer.so / usr/lib/firefox/plugins/
Now that you have finished copying, you can use sudo vim / usr/lib/firefox/plugins/libflashplayer.so to verify that the action has been completed. If you see a pile of garbled code, the steps have been completed successfully. Enter: Q to exit vim.
Thank you for reading, the above is the content of "how to install flash player for Firefox under Ubuntu". After the study of this article, I believe you have a deeper understanding of how to install flash player for Firefox under Ubuntu, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.