1. 程式人生 > >debian下為firefox安裝flash插件

debian下為firefox安裝flash插件

gin -s -name 插件安裝 linux. 在哪裏 name fire 找到

從Adobe官網下載flash:http://get.adobe.com/cn/flashplayer/

我下載的版本是:flash_player_npapi_linux.x86_64.tar.gz
找到正確目錄

[email protected]:~$ whereis firefox
firefox: /usr/bin/firefox
[email protected]:~$ find /usr/ -name firefox
/usr/bin/firefox
find: `/usr/lost+found‘: Permission denied
[email protected]:~$ find /usr/ -name mozilla
/usr/share/mozilla
/usr/share/ca-certificates/mozilla
find: `/usr/lost+found‘: Permission denied
/usr/lib/mozilla
查看plugins 到底放在哪裏

[email protected]:~$ ls /usr/share/mozilla/
extensions
[email protected]:~$ ls /usr/lib/mozilla/
extensions plugins
Ok,找到插件目錄 /usr/lib/mozilla/plugins
解壓下載的插件安裝包
[email protected]:~/Downloads$ tar -zxvf flash_player_npapi_linux.x86_64.tar.gz
找到libflashplayer.so文件和usr/這個文件夾,復制libflashplayer.so/usr/lib/mozilla/plugins


[email protected]:~/Downloads$ sudo cp libflashplayer.so /usr/lib/mozilla/plugins/


把usr/文件夾復制到/usr

[email protected]:~/Downloads$ sudo cp -r usr/* /usr

重啟瀏覽器,插件加載成功。

debian下為firefox安裝flash插件