三.添加rpm.livna.org软件库
在上面Fedora.repo文件最后新添加如下内容
[livna]
name=livna $releasever - $basearch
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://rpm.livna.org/RPM-LIVNA-GPG-KEY
似乎单独保存为livna.repo也可以。注意gpgkey的位置,我在尝试时就是搞错了这个地址,所有包都下载完了,等着要装了还提示:
warning: rpmts_HdrFromFdn Header V3 DSA signature: NOKEY, key ID a109b1ec
baseurl直接填 也是可以的。
记得添加完要重启yum服务
[root@fedora8 yum.repos.d]# /sbin/service yum-updatesd restart
停止 yum-updatesd:[确定]
启动 yum-updatesd:[确定]
四.体验用yum安装软件包
现在Linux上用sopcast也能看网络电视的,但要有mplayer的支持,先到root下装mplayer
[root@fedora8 yum.repos.d]# yum install mplayer
livna 100% |=========================| 2.1 kB 00:00
fedora 100% |=========================| 2.1 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mplayer.i386 0:1.0-0.88.rc2.lvn8 set to be updated
--> Processing Dependency: libcucul.so.0 for package: mplayer
--> Processing Dependency: liblirc_client.so.0 for package: mplayer
--> Processing Dependency: libdvdread.so.3 for package: mplayer
--> Processing Dependency: libdvdnavmini.so.4 for package: mplayer
--> Processing Dependency: libenca.so.0 for package: mplayer
--> Processing Dependency: libcaca.so.0 for package: mplayer
--> Processing Dependency: libxvidcore.so.4 for package: mplayer
--> Processing Dependency: libdca.so.0 for package: mplayer
--> Processing Dependency: libaa.so.1 for package: mplayer
--> Running transaction check
---> Package enca.i386 0:1.9-3.fc6 set to be updated
---> Package libcaca.i386 0:0.99-0.3.beta11.fc8 set to be updated
---> Package libdvdread.i386 0:0.9.7-3.fc8 set to be updated
---> Package xvidcore.i386 0:1.1.3-1.lvn8 set to be updated
---> Package aalib.i386 0:1.4.0-0.13.rc5.fc8 set to be updated
---> Package lirc.i386 0:0.8.2-2.fc8 set to be updated
---> Package libdca.i386 0:0.0.5-2.lvn8 set to be updated
---> Package libdvdnav.i386 0:0.1.10-4.20070503.lvn8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==================================
Package Arch Version Repository Size
==================================
Installing:
mplayer i386 1.0-0.88.rc2.lvn8 livna 4.3 M
Installing for dependencies:
aalib i386 1.4.0-0.13.rc5.fc8 fedora 75 k
enca i386 1.9-3.fc6 fedora 118 k
libcaca i386 0.99-0.3.beta11.fc8 fedora 160 k
libdca i386 0.0.5-2.lvn8 livna 108 k
libdvdnav i386 0.1.10-4.20070503.lvn8 livna 123 k
libdvdread i386 0.9.7-3.fc8 fedora 66 k
lirc i386 0.8.2-2.fc8 fedora 254 k
xvidcore i386 1.1.3-1.lvn8 livna 240 k
Transaction Summary
===================================
Install 9 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 5.5 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdn Header V3 DSA signature: NOKEY, key ID a109b1ec
Importing GPG key 0xA109B1EC "Livna.org rpms <rpm-key@livna.org>" from
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libdvdnav ######################### [1/9]
Installing: libdca ######################### [2/9]
Installing: lirc ######################### [3/9]
Installing: aalib ######################### [4/9]
Installing: xvidcore ######################### [5/9]
Installing: libdvdread ######################### [6/9]
Installing: libcaca ######################### [7/9]
Installing: enca ######################### [8/9]
Installing: mplayer ######################### [9/9]
Installed: mplayer.i386 0:1.0-0.88.rc2.lvn8
Dependency Installed: aalib.i386 0:1.4.0-0.13.rc5.fc8 enca.i386 0:1.9-3.fc6 libcaca.i386 0:0.99-0.3.beta11.fc8 libdca.i386 0:0.0.5-2.lvn8 libdvdnav.i386 0:0.1.10-4.20070503.lvn8 libdvdread.i386 0:0.9.7-3.fc8 lirc.i386 0:0.8.2-2.fc8 xvidcore.i386 0:1.1.3-1.lvn8
Complete!
装完看看菜单,咦,怎么没有mplayer,再打开"添加/删除软件",和mplayer相关的包名字都有了,即便有些包是没装的,哦看见一个叫mplayer-gui的,估计就是差这个了,虽然直接在这里勾上也能下载装,但yum还没完过瘾,再来一次
[root@fedora8 yum.repos.d]# yum install mplayer-gui
Existing lock /var/run/yum.pid: another copy is running as pid 5735.
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Exiting on user cancel.
[root@fedora8 yum.repos.d]# yum install mplayer-gui
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mplayer-gui.i386 0:1.0-0.88.rc2.lvn8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
========================================
Package Arch Version Repository Size
========================================
Installing:
mplayer-gui i386 1.0-0.88.rc2.lvn8 livna 3.7 M
Transaction Summary
===================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 3.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): mplayer-gui-1.0-0. 100% |=========================| 3.7 MB 00:09
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: mplayer-gui ######################### [1/1]
Installed: mplayer-gui.i386 0:1.0-0.88.rc2.lvn8
Complete!
再看看菜单,有mplayer了,这样今后用yum装东西都方便了