广告
本站里的文章大部分经过自行整理与测试
2016年7月1日星期五
Linux - Pepper Flash 安装
Ubuntu 16.04
$ su
$ apt-get install pepperflashplugin-nonfree
$ apt-get install browser-plugin-freshplayer-pepperflash
# 可以撤了 Adobe Flash 11.2
$ apt-get remove adobe-flashplugin
Linux Mint 18
$ su
$ apt-get install pepperflashplugin-nonfree
# 只能安装到 Shockwave Flash 13.1
$ apt-get install browser-plugin-freshplayer-pepperflash
或
# 可以安装到 Shockwave Flash 22 ( 取代 browser-plugin-freshplayer-pepperflash )
$ apt-get install cmake gcc g++ pkg-config ragel libasound2-dev libssl-dev libglib2.0-dev libpango1.0-dev libgl1-mesa-dev libevent-dev libgtk2.0-dev libxrandr-dev libxrender-dev libxcursor-dev libv4l-dev libgles2-mesa-dev libavcodec-dev libva-dev libvdpau-dev libdrm-dev libpulse-dev libconfig-dev libicu-dev git
# 编译 libfreshwrapper-flashplayer.so
$ git clone https://github.com/i-rinat/freshplayerplugin.git
$ cd freshplayerplugin
$ mkdir build
$ cd build
$ cmake ..
$ make
# 将编译好的 libfreshwrapper-flashplayer.so 放去 firefox
$ cp libfreshwrapper-flashplayer.so /usr/lib/mozilla/plugins/
# 可以撤了 Adobe Flash 11.2
$ apt-get remove adobe-flashplugin
Debian 8.5
$ su
# 从以下安装 pepperflashplugin-nonfree
# https://packages.debian.org/jessie/amd64/pepperflashplugin-nonfree/download
$ gedit /etc/apt/sources.list
deb http://ftp.cn.debian.org/debian jessie main contrib
$ apt-get update
$ apt-get install pepperflashplugin-nonfree
# 可以安装到 Shockwave Flash 22 ( 取代 browser-plugin-freshplayer-pepperflash )
$ apt-get install cmake gcc g++ pkg-config ragel libasound2-dev libssl-dev libglib2.0-dev libpango1.0-dev libgl1-mesa-dev libevent-dev libgtk2.0-dev libxrandr-dev libxrender-dev libxcursor-dev libv4l-dev libgles2-mesa-dev libavcodec-dev libva-dev libvdpau-dev libdrm-dev libpulse-dev libconfig-dev libicu-dev git
# 编译 libfreshwrapper-flashplayer.so
$ git clone https://github.com/i-rinat/freshplayerplugin.git
$ cd freshplayerplugin
$ mkdir build
$ cd build
$ cmake ..
$ make
# 将编译好的 libfreshwrapper-flashplayer.so 放去 firefox
$ cp libfreshwrapper-flashplayer.so /usr/lib/mozilla/plugins/
Fedora 25
$ su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
$ su
$ dnf install http://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/fedora/russianfedora-free-release-stable.noarch.rpm
$ dnf install http://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/russianfedora-nonfree-release-stable.noarch.rpm
$ dnf install chromium-pepper-flash
$ dnf install freshplayerplugin
# 可以撤了 Adobe Flash 11.2
$ dnf remove flash-plugin
OpenSUSE 42.2
$ su
$ zypper addrepo http://packman.inode.at/suse/openSUSE_Leap_42.2/ packman
$ zypper install chromium-pepper-flash
$ zypper install freshplayerplugin
# 可以撤了 Adobe Flash 11.2
$ zypper remove flash-player
Manjaro 16.06
$ yaourt -S chromium-pepper-flash
$ yaourt -S freshplayerplugin
# 可以撤了 Adobe Flash 11.2
$ sudo pacman -R flashplugin
Firefox - Add-ons - Plugins - 会多一个 Shockwave Flash 22.0 (Always Activate)
将旧版的 Shockwave Flash 11.2 改去 Never Activate (如果撤了就不会出现)
订阅:
博文评论 (Atom)
没有评论:
发表评论