Ubuntu下手动安装flashplayer(自动安装失败)

来源:互联网 发布:mac see sheer试色 编辑:程序博客网 时间:2024/05/02 02:40
执行sudo apt-get install flashplugin-nonfree或者sudo apt-get install flashplugin-installer来安装flash插件,结果安装卡住了,按CTRL+C取消,又要求执行sudo dpkg --configure -a进行修复,因为之前的安装被打断了,接着修复的时候系统又自动帮你去下载那个插件,又陷入了失败的死循环。
正确的方法应该是这样,在要求你修复的时候,不要执行sudo dpkg --configure -a,而应该执行sudo dpkg -r flashplugin-installer。
修复成功之后,应该去adobe官方网站(http://get.adobe.com/flashplayer/?no_redirect)下载flash安装包来手动安装,记得要选择.tar.gz for other Linux。
下载好压缩包后,解压,复制 libflashplayer.so到你的浏览器安装目录下的plugin目录下,如果你使用的是firefox浏览器,那就是 /usr/lib/mozilla/plugins;如果你使用的是chromium,那就是/usr/lib/chromium-browser/plugins。再将加压出来的usr文件夹内的所有文件复制到/usr目录下。

这样就完成了安装。


Adobe官方对于tar.gz包安装方法的解释

引用:

Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:
cp libflashlayer.so <BrowserPluginsLocation>
Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
sudo cp -r usr/* /usr



本文参考了http://hi.baidu.com/luckybarsolu/blog/item/c5dbcb80e2aa79f79023d93c.html

原创粉丝点击