ubuntu小技巧7--ubuntu如何安装flashplayer

ubuntu小技巧7--ubuntu如何安装flashplayer

安装Ubuntu的时候经常会用大视频播放,可是默认情况下Ubuntu并未安装flashplayer插件,导致浏览器无法播放视频,因此安装flashplayer将是一个必备技能了,一下根据个人经验总结一下FireFox和Chromium浏览器如何安装flashplayer:

在此先上一下效果图:

图一FireFox浏览器

图二Chromium浏览器

 

Ubuntu下FireFox和Chromium浏览器的flashplayer不是一样的,因此一下分开说

FireFox安装flashplayer方法:

法一:使用Ubuntu Software Center 安装

在Software Center中输入flashplayer就会出现AdobeFlash plugin,点击install即可完成安装(如下图),但是该方法对有些版本的系统不适用,如最新的Ubuntu和非Ubuntu系统,而且安装的速度很慢,一般不推荐

法二:使用 install_flash_player_11_linux.i386.tar.gz来安装

当没安装flash插件的时候,每当点击视频的时候会出现下载安装包的提示,我们选择下载tar.gz安装包即可,下载后可以根据包中的readme说明书来进行安装,一下直接站体说明书的核心内容,如下:

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>
/usr/lib/mozilla/plugins
o Copy the Flash Player Local Settings configurations files to the /usr directory.  At the prompt type:
+ sudo cp -r usr/* /usr

即:将libflashplayer.so拷贝至/usr/lib/mozilla/plugins中,讲压缩包中的/usr拷贝至/usr即可,重启浏览器就看以看视频了

 

Chromium的flashplayer安装方法:

Ubuntu 16.04/14.04.5 安装 Chromium浏览器,Flash播放器
--software&updates->Other software->Canonical Partners(必须选中)->close使其更新数据源

即:在设置中的软件更新中选择其它软件,然后选择 两个Canonical Partners,之后点击close即可,使其更新源; 

待软件源更新完毕(此过程耗时长短依赖于网络状况、与软件源服务器的连接等因素),按下 Ctrl + Alt + t 键盘组合键,输入以下命令:
        sudo apt install adobe-flashplugin
根据接下来的提示输入管理员密码,将会出现 adobe-flashplugin 的安装提示,这时在提示后面输入“Y”,adobe-flashplugin 的安装即会开始。

 

当然,以前也可以用如下命令安装,但是现在经常发现不行了,推荐用上面方法使用

sudo apt-get update

sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree --install

 

 

 

 

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

昕光xg

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值