Linux系統(tǒng)下yum.conf文件是用來存儲(chǔ)yum配置信息的文件,雖然yum.conf文件通常都比較簡(jiǎn)潔,卻是yum軟件管理器的重要組成部分,下面就來介紹一下Linux系統(tǒng)下配置yum.conf的方法。
引用
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=1
?。踒ase]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.atrpms.net/mirrors/fedoracore/$releasever/$basearch/os
http://rpmfind.net/linux/fedora/cor.。.er/$basearch/os
http://mirror.clarkson.edu/pub/dist.。.er/$basearch/os
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.atrpms.net/mirrors/fedoracore/updates/$releasever/$basearch
http://redhat.linux.ee/pub/fedora/l.。.sever/$basearch
http://fr2.rpmfind.net/linux/fedora.。.sever/$basearch
?。跢edora.us]
name=Fedora.us - $basearch - Extras
baseurl=http://fedora.linux.duke.edu/fedorax86_64/fedora.us/$releasever/$basearch/RPMS.stable
?。跠ag Wieers]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
?。跮ivna]
Name=Livna RPM, Fedora Core $releasever - $basearch
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable
?。踗reshrpms]
name=FreshRPMs
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
http://ftp.us2.freshrpms.net/linux/。。.arch/freshrpms/