红旗linux6.0 如何安装yum
的有关信息介绍如下:按装yum不是很难的1、首先将你的光驱重新挂载到其他的目录中去如:mount /dev/sr0(光驱的路径) /cdrom(光驱的挂载点)2、修改cd /etc/yum.repos.d/建立一个文件夹如:bak然后将/etc/yum.repos.d中的文件全都移到bak当中去进入bak文件复制fedora.repo文件到 /etc/yum.repos.d中去修改fedora.repo文件如下[fedora]name=Fedora $releasever - $basearchfailovermethod=priority#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearchenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY[fedora-debuginfo]name=Fedora $releasever - $basearch - Debugfailovermethod=priority#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearchenabled=0gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY[fedora-source]name=Fedora $releasever - Sourcefailovermethod=priority#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearchenabled=0gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY将[fedora-debuginfo]name=Fedora $releasever - $basearch 。。。。到最后全删了然后将failovermethod=priority和mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch这一行删了再将#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/这一行该成baseurl=file:///cdrom就行了然后用#yum list 测试