歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux下為火狐浏覽器安裝Adobe Flash Player插件

Linux下為火狐浏覽器安裝Adobe Flash Player插件

日期:2017/2/28 14:45:36   编辑:Linux教程

今天想要在linux下上網看個電影,結果打開浏覽器,提示沒有安裝flash player插件,點擊自動安裝,卻提示系統不支持最新版本的插件,我的系統是用的RHEL 5.5。沒辦法,google一番,下載到一個軟件包

install_flash_player_11_linux.i386.tar.gz。安裝方法如下,做個總結:

將軟件包解壓:

[root@test /]# tar zxvf install_flash_player_11_linux.i386.tar.gz /tmp/flashplayer

[root@test /]# ls /tmp/flashplayerlinux

usr libflashplayer.so

我們看到解壓出來的東西有個usr文件夾,一個庫文件。庫文件需要放在火狐浏覽器安裝插件的路徑下。但當時我不知道這個路徑。搜索一下:

[root@test /]# find /usr/ -name firefox

/usr/lib/firefox-3.0.18/firefox

切換到這個路徑看到firefox是個文件,不是目錄,並沒有找到plugin的路徑。繼續搜索,換一個關鍵詞mozilla:

[root@test /]# find /usr -name mozilla

/usr/lib/mozilla

/usr/share/mozilla

看這次搜索結果,切換到/usr/lib/mozilla/下,果然在這裡

[root@test /]# cd /usr/lib/mozilla/

[root@test /]# ls

extensions plugins plugins-wrapped

[root@test /]#

好了,這下就可以執行下面的操作了:

[root@test /]# cp /tmp/flashplayer/libflashplayer.so /usr/lib/mozilla/plugins/ -rf

[root@test /]# chmod 755 /usr/lib/mozilla/plugins/libflashplayer.so

[root@test /]# cp /tmp/flashplayer/usr/* /usr/ -rf

偷了個懶,直接給libflashplayer.so賦755的權限。

這樣就已經安裝完畢,然後重啟Mozilla firefox就可以啦!!

Copyright © Linux教程網 All Rights Reserved