今天在我的新本本ThinkPad上安装了fedora 14 64bit。添加了rpmfusion源后,用yum install mplayer。安装好后,命令行方式下运行mplayer后出现了缺乏libglut.so.3的提示。迅速上网百度,得知该库在glut这个RPM包里,立即执行如下操作,搞定!
[root@fedora14 ~]# yum install glut
已加载插件:fastestmirror, langpacks, presto, refresh-packagekit
Adding zh_CN to language list
Loading mirror speeds from cached hostfile
* fedora: mirrors.163.com
* rpmfusion-free: mirrors.163.com
* rpmfusion-free-updates: mirrors.163.com
* rpmfusion-nonfree: mirrors.163.com
* rpmfusion-nonfree-updates: mirrors.163.com
* updates: mirrors.163.com
设置安装进程
解决依赖关系
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> 执行事务检查
---> 软件包 freeglut.x86_64 0:2.6.0-5.fc14 将被 安装
--> 完成依赖关系计算
依赖关系解决
================================================================================
软件包 架构 版本 仓库 大小
================================================================================
正在安装:
freeglut x86_64 2.6.0-5.fc14 fedora 172 k
事务概要
================================================================================
Install 1 Package(s)
总下载量:172 k
Installed size: 612 k
确定吗?[y/N]:y
下载软件包:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 172 k
freeglut-2.6.0-5.fc14.x86_64.rpm | 172 kB 00:00
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在安装 : freeglut-2.6.0-5.fc14.x86_64 1/1
已安装:
freeglut.x86_64 0:2.6.0-5.fc14
完毕!