update2016
firefox flash可以直接
-
update-flashplugin-nonfree --install
因为现在已经迁移到debian平台下,这里给出一些源代码信息作为权威参考。
当然前提是计算机系统被墙,没有办法的情况下,自己到镜像下载一个deb64bit文件,然后本地操作也可以流畅用flash
自己也可以解压看update-pepperflashplugin-nonfree脚本文件关于install执行的代码段
-
if [ -f $cachedir/$debfile ]
-
then
-
cp -p $cachedir/$debfile .
-
fi
-
-
if [ ! -f $debfile ]
-
then
-
wgetoptions="$wgetalways $wgetprogress"
-
[ "$quiet" != "yes" ] || wgetoptions="$wgetquiet $wgetalways"
-
[ "$fast" != "yes" ] || wgetoptions="$wgetoptions $wgetfast"
-
wgetoptions="$wgetoptions -O $UNPACKDIR/$debfile" # to change wget message : Saving to ...
-
-
HOME=/root wget $wgetoptions $deburl || die_hard_with_a_cleanup "wget failed to download $deburl"
-
-
[ `stat --format=%s $debfile` = "$debsize" ] || die_hard_with_a_cleanup "rejecting $debfile : wrong size"
-
[ `sha1sum $debfile|sed -e "s, .*,,"` = "$debsha1" ] || die_hard_with_a_cleanup "rejecting $debfile : wrong sha1sum"
-
[ `md5sum $debfile|sed -e "s, .*,,"` = "$debmd5" ] || die_hard_with_a_cleanup "rejecting $debfile : wrong md5sum"
-
fi
-
-
dpkg-deb -x $debfile unpackchrome
-
-
sofile=unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so
-
[ -e $sofile ] || sofile=unpackchrome/opt/google/chrome-unstable/PepperFlash/libpepflashplayer.so
-
[ -e $sofile ] || sofile=unpackchrome/opt/google/chrome-beta/PepperFlash/libpepflashplayer.so
-
[ -e $sofile ] || sofile=unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so
-
-
mv -f $sofile /usr/lib/pepperflashplugin-nonfree
-
chown root:root /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so
-
chmod 644 /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so
-
-
jsonfile=unpackchrome/opt/google/chrome/PepperFlash/manifest.json
-
[ -e $jsonfile ] || jsonfile=unpackchrome/opt/google/chrome-unstable/PepperFlash/manifest.json
-
[ -e $jsonfile ] || jsonfile=unpackchrome/opt/google/chrome-beta/PepperFlash/manifest.json
-
[ -e $jsonfile ] || jsonfile=unpackchrome/opt/google/chrome/PepperFlash/manifest.json
-
-
if [ -e $jsonfile ]
-
then
-
mv -f $jsonfile /usr/lib/pepperflashplugin-nonfree
-
chown root:root /usr/lib/pepperflashplugin-nonfree/manifest.json
-
chmod 644 /usr/lib/pepperflashplugin-nonfree/manifest.json
-
fi
-
-
mv $debfile $cachedir
-
fi
=========
直接安装官方的chrome是最简单的办法,能够省事
不过使用linux系统自带的浏览器会干净一些,至少没有官方的广告跟踪程序。
这个时候就需要安装flash插件了,参考pepflash ppa;
-
add-apt-repository ppa:skunk/pepper-flash
-
apt-get update;
-
apt-get install pepflashplugin-installer
如果被墙,会出现网络错误提示
-
IOError: [Errno socket error] [Errno 101] Network is unreachable
-
Setting up pepflashplugin-installer (16.0.0.235~cr39.0.2171.95-1-0skunk0) ...
不过你可以手动下载chrome amd64 linux安装包,可以参考技术点
-
shell@ubuntu:~$ ls /usr/lib/pepflashplugin-installer/
-
install_plugin libpepflashplayer.so manifest.json pepflashplayer.sh
-
shell@ubuntu:~$
-
shell@ubuntu:~$ cat /etc/chromium-browser/
-
customizations/ default policies/
-
shell@ubuntu:~$ cat /etc/chromium-browser/default
-
# Default settings for chromium-browser. This file is sourced by /bin/sh from
-
# /usr/bin/chromium-browser
-
-
-
# Options to pass to chromium-browser
-
CHROMIUM_FLAGS=""
-
. /usr/lib/pepflashplugin-installer/pepflashplayer.sh
-
shell@ubuntu:~$
-
shell@ubuntu:~$
-
shell@ubuntu:~$
-
shell@ubuntu:~$ dpkg-deb -x google-chrome-stable_38.0.2125.111-1_amd64.deb /tmp/
-
tar: .: Cannot utime: Operation not permitted
-
tar: .: Cannot change mode to rwx------: Operation not permitted
-
tar: Exiting with failure status due to previous errors
-
dpkg-deb: error: subprocess tar returned error exit status 2
-
shell@ubuntu:~$
-
shell@ubuntu:~$ ls /tmp/opt/google/chrome/PepperFlash/
-
libpepflashplayer.so manifest.json
-
shell@ubuntu:~$
-
shell@ubuntu:~$
debian adobe flash 手动更新
-
update-flashplugin-nonfree --install
感谢开发者维护者提供的技术信息
===
goagent ca problem
$ sudo cp local/CA.crt /usr/share/ca-certificates/goagent.crt
$ sudo dpkg-reconfigure ca-certificates
阅读(1951) | 评论(0) | 转发(0) |