CentOS5下用yum安装MPlayer播放器,网上看到的资料,自己也修改了一下。提供给大家用用。编译安装MPlayer好麻烦.其实centos也可以用yum安装MPlayer. (rhel也可用)看一下centos 5的部分:CentOS 5首先确定你安装了ProtectBase .Protectbaseyum-protectbase在CentOS 5包仓库里面有提供:#yum install yum-protectbase在CentOS 5里面这个插件默认启动 .编辑/etc/yum.repos.d/CentOS-Base.repo ,在 [base] 、[update] 、[centosplus] 段末加上一行:protect=1让 [centosplus] 段失效如下:enabled=0编辑/etc/yum.repos.d/CentOS-Base.repo ,在其它段的最后加上如下一行:protect=0rpmforge下载rpmforge-release包.选择下面两个的其中一个, 依赖于你的机器.如果不能确定用哪一个用以下命令确定 uname -i* i386 http://apt.sw.be/RedHat/el5/en/i ... 6-1.el5.rf.i386.rpm* x86_64 http://apt.sw.be/redhat/el5/en/x ... 1.el5.rf.x86_64.rpm(你可以在 http://dag.wieers.com/packages/rpmforge-release/ 找到rpmforge-release包的完全列表,但是推荐使用上面列出两个中的一个).安装DAG"s GPG key#rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt校验你下载的包#rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm安全警告: rpmforge-release包把GPG keys注射到你的RPM数据库中. 只要你验证包和相信Dag,它应该是安全的.安装包#rpm -ivh rpmforge-release-0.3.6-1.el5.rf.*.rpm这一步会加入yum仓库配置文件,注射合适的GPG keys.用以下命令测试:#yum check-update应该会有以下两行输出:Loading "protectbase" plugin117 packages excluded due to repository protections上面的数字可能不同, 但应该有几种包显示会排除在外.
Centos 5下安装Compiz 实现3D桌面Rhel 5 升级为centos 5 并配置 yum源相关资讯 Mplayer CentOS yum centos5
- yum安装与卸载软件常见命令 (05月24日)
- MPlayer 1.3 发布下载,现已支持 (02月18日)
- 从CentOS安装R中看yum、rpm、repo (12/18/2015 14:48:10)
| - CentOS 6.5下YUM仓库的部署 (03月11日)
- 升级Python导致yum报错 (12/21/2015 15:14:23)
- RHEL7.0配置CD-ROM为本地YUM (12/10/2015 09:24:47)
|
本文评论 查看全部评论 (0)