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

版本:

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/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用中提供了一种修改源的方式,其中包括了设置了两个deb源,一个是主要的deb源,另一个是安全更新的deb源。而引用中的方式与引用中的方式基本相同,只是将注释掉的源删掉了。而引用中提供了一种通过cat命令追加的方式添加源的方法。 根据提供的链接地址http://security.debian.org/debian-security buster/updates/main,它是一个安全更新的deb源。在Debian系统中,安全更新是由Debian安全团队维护的,用于修复已知漏洞和安全问题的软件包。 要将此源添加到系统中,可以按照以下步骤操作: 1. 打开终端或命令行界面。 2. 使用root权限登录或使用sudo命令以管理员身份运行命令。 3. 打开/etc/apt/sources.list文件进行编辑。 4. 将提供的链接地址添加到文件的末尾,保存并关闭文件。 5. 更新apt软件包列表,以使新的源生效。 请注意,修改源可能会对系统的稳定性和安全性产生影响。在进行任何更改之前,请确保了解所做更改的影响,并备份重要的系统文件。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [解决Debian环境无法update更新源问题](https://blog.csdn.net/m0_37680131/article/details/106884204)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值