ubuntu系统自带的火狐(firefox)如何安装Adobe Flash

当你刚装完系统,发现打开某些网站时,提示你“需要安装flash”,然后你点击确定,过了一会,提示你安装失败。

我也是遇到这种情况。我第一个反应是,我先不用firefox,我安装chrome。

可是当你用firefox打开网站时,他还是会提醒你。

怎么办呢,可以按照下面几个步骤。

1,先更新一下软件源

sudo apt-get -f update

 2,去adobe官网下载flash插件

http://get.adobe.com/cn/flashplayer/

比如我:下载下来后是这样的:install_flash_player_11_linux.x86_64.tar.gz

sudo tar xvf install_flash_player_11_linux.x86_64.tar.gz

解压后:libflashplayer.so

3,将解压后的libflashplayer.so  其放入/usr/lib/adobe-flashplugin下。但注意Firefox使用的插件目录是/usr/lib/firefox-addons/plugins。

4,检查一下/usr/lib/firefox-addons/plugins有没有旧版的libflashplayer.so,是文件还是链接:
ls -l /usr/lib/firefox-addons/plugins
如果有一个libflashplayer.so文件,则将其删除:
sudo rm -f /usr/lib/firefox-addons/plugins/libflashplayer.so
在/usr/lib/firefox-addons/plugins  增加一个软链接
sudo ln -s /usr/lib/adobe-flashplugin/libflashplayer.so /usr/lib/firefox-addons/plugins/libflashplayer

如下面的:

lrwxrwxrwx 1 root root   44  1月 12 14:17 libflashplayer -> /usr/lib/adobe-flashplugin/libflashplayer.so
--------------------------------------------------

 

 

posted @ 2014-01-12 17:31  KoMiles  阅读(10270)  评论(0编辑  收藏  举报