sho*_*key 6 debian firefox adobe-flash
环境:debian8+firefox esr 45.8
我想为我的firefox安装flash插件。
Firefox 不知道如何打开此地址,因为以下协议之一 (apt) 未与任何程序关联或在此上下文中是不允许的。
有一个关于 apturl 问题 apturl for firefox 的资料 按照网页上说的去做。
sudo apt-get install apturl
E: Package 'apturl' has no installation candidate
sudo aptitude search apturl
get nothing
Run Code Online (Sandbox Code Playgroud)
并且在字符链中以 /usr/bin/apturl 为值设置 network.protocol-handler.app.apt 是没有用的。
如何安装 flash 插件是另一个可以通过这种方式解决的问题。
1.add proper source into sources.list
echo "deb http://http.debian.net/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
2.sudo aptitude search flash
p browser-plugin-freshplayer-pepperflash - PPAPI-host NPAPI-plugin adapter for pepperflash
p flashbake - automated snapshots with git
p flashbench - identify flash storage properties
v flashblock -
p flashcache-dkms - write-back block device cache for Linux (DKMS version)
p flashcache-utils - write-back block device cache for Linux (user space utilities)
v flashgot -
p flashplayer-chromium - Flash Player for Chromium (Pepper)
p flashplayer-mozilla - Adobe Flash Player
i flashplugin-nonfree - Adobe Flash Player - browser plugin
p flashplugin-nonfree-extrasound - Adobe Flash Player platform support library for Esound and OSS
3. apt-get update
4. apt-get install flashplayer-mozilla
Run Code Online (Sandbox Code Playgroud)
为什么这个问题?贴切:土坯flashplugin通道= $发行伴侣无法通过Firefox的开放仍然存在。
您正在尝试遵循 Ubuntu 而非 Debian 的说明。虽然 Ubuntu确实有一个名为 的软件包apturl,但显然调用了 Debian等效软件包,aptlinex但由于该页面上的链接均无效,因此看起来它不再打包在 Debian 中。
所以,只需正常安装它,忘记花哨的apt://链接:
sudo apt-get install flash-plugin-nonfree
Run Code Online (Sandbox Code Playgroud)
您可能需要添加 contrib 存储库才能使其工作;检查您的/etc/apt/sources.list文件,查找表格行
deb http://httpredir.debian.org/debian jessie main
Run Code Online (Sandbox Code Playgroud)
(您系统上的 URL 可能不同)并添加contrib到末尾:
deb http://httpredir.debian.org/debian jessie main contrib
Run Code Online (Sandbox Code Playgroud)
小智 5
flashplugin-nonfree 目前在 debian 9 stable stretch 中不可用。您可以在不稳定的存储库中找到它,但该包仍然(!)有以下错误(我认为 bartm 老兄死了或什么):
Setting up flashplugin-nonfree (1:3.7) ...
ERROR: wget failed to download http_://people.debian.org/~bartm/flashplugin-nonfree/D5C0FC14/fp.26.0.0.151.sha512.amd64.pgp.asc
Run Code Online (Sandbox Code Playgroud)
您需要为 Firefox 手动执行此操作,也许胡椒适用于 chrome 用户。
从Adobe下载 tar.gz 格式的插件的最新版本。
注意:如果您需要在 Firefox 上使用它,请务必单击“在另一台计算机上需要它”并选择 npapi 版本。
以 rootlibflashplayer.so身份,解压 tar.gz 包并复制到/usr/lib/flashplugin-nonfree
为该文件提供以下权限/所有权值:
chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so
chown root:root /usr/lib/flashplugin-nonfree/libflashplayer.so
Run Code Online (Sandbox Code Playgroud)
检查相关/etc/alternatives条目是否正确(如果插件在升级前正常工作,则不需要这样做)
update-alternatives --list flash-mozilla.so
Run Code Online (Sandbox Code Playgroud)
应该返回/usr/lib flashplugin-nonfree/libflashplayer.so
如果不是这种情况,您可以使用以下方法修复它:
update-alternatives --quiet --install /usr/lib/mozilla/plugins/flash-mozilla.so flash-mozilla.so /usr/lib/flashplugin-nonfree/libflashplayer.so 50
Run Code Online (Sandbox Code Playgroud)
有关更多信息,请参阅Debian wiki。
| 归档时间: |
|
| 查看次数: |
20316 次 |
| 最近记录: |