您的位置:首页 > 其它

Debian Wheezy 64 - 为Chrome/Chromium和Firefox/Iceweasel添加flash支持

2013-06-16 00:11 483 查看
版本:
root@tp:/home/liao/down# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.1 (wheezy)
Release: 7.1
Codename: wheezy
root@tp:/home/liao/down# cat /proc/version
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1
root@tp:/home/liao/down#

下载:
到如下网址下载flashplayer的介质,operating system选Linux (64-bit),version选Flash Player 11.2 for other Linux (.tar.gz) 64-bit
http://get.adobe.com/flashplayer/otherversions/
解压:
root@tp:/home/liao/down# tar zxvf install_flash_player_11_linux.x86_64.tar.gz
libflashplayer.so
readme.txt
usr/
usr/bin/
usr/bin/flash-player-properties
usr/share/
usr/share/pixmaps/
usr/share/pixmaps/flash-player-properties.png
usr/share/kde4/
usr/share/kde4/services/
usr/share/kde4/services/kcm_adobe_flash_player.desktop
usr/share/applications/
usr/share/applications/flash-player-properties.desktop
usr/share/icons/
usr/share/icons/hicolor/
usr/share/icons/hicolor/32x32/
usr/share/icons/hicolor/32x32/apps/
usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
usr/share/icons/hicolor/22x22/
usr/share/icons/hicolor/22x22/apps/
usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
usr/share/icons/hicolor/24x24/
usr/share/icons/hicolor/24x24/apps/
usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
usr/share/icons/hicolor/16x16/
usr/share/icons/hicolor/16x16/apps/
usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
usr/share/icons/hicolor/48x48/
usr/share/icons/hicolor/48x48/apps/
usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
usr/lib/
usr/lib/kde4/
usr/lib/kde4/kcm_adobe_flash_player.so
usr/lib64/
usr/lib64/kde4/
usr/lib64/kde4/kcm_adobe_flash_player.so
配置:
root@tp:/home/liao/down# ls /usr/lib/mozilla/plugins/
flash-mozilla.so libgnome-shell-browser-plugin.so librhythmbox-itms-detection-plugin.so
root@tp:/home/liao/down# cp libflashplayer.so /usr/lib/mozilla/plugins/
root@tp:/home/liao/down# cp -r usr/* /usr/
其实安装步骤都在readme里:
root@tp:/home/liao/down# cat readme.txt
...
Installing using the plugin tar.gz:
o Unpack the plugin tar.gz and copy the files to the appropriate location.
o Save the plugin tar.gz locally and note the location the file was saved to.
o Launch terminal and change directories to the location the file was saved to.
o Unpack the tar.gz file. Once unpacked you will see the following:
+ libflashplayer.so
+ /usr
o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:
+ cp libflashlayer.so <BrowserPluginsLocation>
o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
+ sudo cp -r usr/* /usr
...
到这里,我的Chromium和Iceweasel不用重启就已经都支持flash播放了。

REF:
1. Mozilla Firefox/Google Chrome and Flash on Debian Squeeze 64-bit
http://www.vultaire.net/blog/2011/05/26/google-chrome-and-flash-on-debian-squeeze-64-bit/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: