2008年6月2日 星期一

yum

設定search path

/etc/yum.conf:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
bsoletes=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
#[base]
#name=Red Hat Linux $releasever - $basearch - Base
#baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/

#[updates]
#name=Red Hat Linux $releasever - Updates
#baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el4/en/i386/dag/
gpgcheck=1
enabled=1

[freshrpms]
name=FreshRPMs
baseurl=http://dag.freshrpms.net/redhat/el4/en/i386/dag/
gpgcheck=1
enabled=1

[rpmfind]
name=RPMFind.net
baseurl=http://rpmfind.net/linux/dag/redhat/el4/en/i386/dag/
gpgcheck=1
enabled=1

[pdx.edu]
name=PDX.edu
baseurl=http://mirrors.cat.pdx.edu/dag/redhat/el4/en/i386/dag/
gpgcheck=1
enabled=1

沒有留言: