linux下安装flash player
来源:互联网 发布:大数据平台设计方案 编辑:程序博客网 时间:2024/04/29 13:03
因为是64位的,所以下载了一个install_flash_player_11_linux.x86_64.tar.gz
然后开始了。
1.找到正确目录
#whereis firefox //这个可以不用最高权限也可以查找到firefox,主要是找到firefox在哪。
firefox: /usr/bin/firefox /usr/share/man/man1/firefox.1.gz
现在可以确定它在/usr下面了,再找下安装目录
#find /usr -name firefox
/usr/bin/firefox
哎呀,没找到,/usr/bin/firefox这个是程序,不是目录
。。。不要忘了firefox的全名是Mozilla Firefox,继续找
#find /usr -name mozilla
/usr/lib/mozilla
/usr/share/mozilla
OK,有两个目录出来了。
说说我遇到的事:屁颠屁颠从图形界面去找这两个目录,结果是找不到,没弄明白,只好用命令了。
2.查看plugins到底放在哪
# ls /usr/share/mozilla
extensions
这个没有,下一个
# ls /usr/lib/mozilla
extensions plugins plugins-wrapped
OK,找到插件目录/usr/lib/mozilla/plugins
3.解压安装包install_flash_player_11_linux.i386.tar.gz,找到libflashplayer.so
复制libflashplayer.so到firefox插件目录下
#cp flash_source_path/libflashplayer.so /usr/lib/mozilla/plugins //用$我没移动,所以用sudo su更改一下权限
flash_source_path/libflashplayer.so是插件的绝对路径,如果你在当前目录下,直接
#cp libflashplayer.so /usr/lib/mozilla/plugins
到这里插件已经复制进去了,打开firefox,郁闷,如果还是没有成功加载则继续下一步
4.又是权限问题
转入插件目录
#cd /usr/lib/mozilla/plugins
查看权限
# ls -l
总用量 17000
-rw-r--r--. 1 root root 17047372 3月 2 00:26 libflashplayer.so
-rwxr-xr-x. 1 root root 4332 11月 12 2010 librhythmbox-itms-detection-plugin.so
-rwxr-xr-x. 1 root root 94248 11月 12 2010 libtotem-cone-plugin.so
-rwxr-xr-x. 1 root root 102784 11月 12 2010 libtotem-gmp-plugin.so
-rwxr-xr-x. 1 root root 68600 11月 12 2010 libtotem-mully-plugin.so
-rwxr-xr-x. 1 root root 77188 11月 12 2010 libtotem-narrowspace-plugin.so
看吧libflashplayer.so权限和其它插件的不同,不管了,来个755
#chmod 755 libflashplayer.so
#ls -l
总用量 17000
-rwxr-xr-x. 1 root root 17047372 3月 2 00:26 libflashplayer.so
-rwxr-xr-x. 1 root root 4332 11月 12 2010 librhythmbox-itms-detection-plugin.so
-rwxr-xr-x. 1 root root 94248 11月 12 2010 libtotem-cone-plugin.so
-rwxr-xr-x. 1 root root 102784 11月 12 2010 libtotem-gmp-plugin.so
-rwxr-xr-x. 1 root root 68600 11月 12 2010 libtotem-mully-plugin.so
-rwxr-xr-x. 1 root root 77188 11月 12 2010 libtotem-narrowspace-plugin.so
注:如果发现其用户和组群和其它插件不一样的话,也改下吧,我直接root进行操作的,没有问题,不知道用其它用户怎么样,命令如下:
#chown root:root libflashplayer.so
- linux下安装flash-player
- linux下安装flash player
- Linux下安装flash player for firefox
- Linux x86_64下安装Flash Player 9
- Linux下安装Adobe Flash Player
- linux下安装adobe flash player
- linux下安装flash player插件
- Linux系统下安装flash player插件
- 在linux下安装flash player插件
- linux安装flash player
- ubuntu 下安装flash player
- ubuntu 下安装flash player
- ubuntu 下安装flash player
- ubuntu下安装flash player
- ubuntu下安装flash player
- Redhat enterprice linux 6下安装adobe flash player
- Linux下安装flash player - *.gz 版
- 山寨笔记-linux下为Firefox安装Adobe Flash Player
- 来自极客标签10款最新设计素材-系列八
- 码农感悟:不可忽略的Warning
- GEF源码分析(五) GEF 的EditPart的职能分离 __ 跨国时尚媒体集团广告部门 的故事
- centos5.4中安装nodeJs(错误fpu = 'vfpv3' if armv7 else 'vfpv2'的解决)
- linux下qwt安装
- linux下安装flash player
- 转载:Motorola S-records格式介绍 (MIPS gcc 输出的文件格式)
- 函数模板的使用
- Web服务器推送方式择优问题
- Asynchronous Pages in ASP.NET 2.0
- Sphinx 搜索性能优化 —— 多线程搜索
- VC多文档程序结构
- CSS各种字体收集
- GEF源码分析(六) GEF 的EditPart的职能分离 __ 跨国时尚媒体集团广告部门 的故事 二