CentOS默认的yum源,与RedHat通用,以下为5.X版
#vim /etc/yum.repos.d/CentOS-Base.repo
[base]
name=CentOS-5 - Base
#mirrorlist=
repo=os
#baseurl=
baseurl=
gpgcheck=0
gpgkey=
#released updates
[update]
name=CentOS-5 - Updates
#mirrorlist=
baseurl=
gpgcheck=0
gpgkey=
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
#mirrorlist=
baseurl=
gpgcheck=0
gpgkey=
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
#mirrorlist=
baseurl=
gpgcheck=0
gpgkey=
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
#mirrorlist=
baseurl=
gpgcheck=0
enabled=0
gpgkey=
#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib
#mirrorlist=
baseurl=
gpgcheck=0
enabled=0
gpgkey=
# vi dag.repo
[dag]
name=Dag RPM Repository for RHEL5
baseurl=
enabled=1
gpgcheck=0
gpgkey=
========================================
3. 运行,测试
#yum install smplayer
阅读(2965) | 评论(0) | 转发(0) |