RHEL5.5 not installing GCC causes some software to not compile and install
because GCC dependencies are too complex to use rpm the way to install GCC The words are too troublesome, so the following are used Yum the way to let him automatically resolve the installation dependencies
Note/etc/yum.repos.d/ There is a file ) give him a backup, then create a new one with " .repo ! !!
Let's do the following.
1 ) Mount RHEL5 the system installation CD
[[Email protected]~]# mount/dev/cdrom/mnt
2 ) Backup Rhel-debuginfo.repo , and create a new one to " . Repo "End of file
[[Email protected]~]# cd/etc/yum.repos.d/
[Email protected]]# ls
Rhel-debuginfo.repo
[[Email protected]]# mv Rhel-debuginfo.repo Rhel-debuginfo.repo.bak
[Email protected]]# vim Gcc-yum.repo
[Local]
name=rhel5.5
Baseurl=file:///mnt/server
Enabled=1
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6F/0D/wKioL1WQ9GjzexSLAAGgPjlCP2s650.jpg "title=" Qq20150629152344.png "alt=" Wkiol1wq9gjzexslaaggpjlcp2s650.jpg "/>
Related explanations:
650) this.width=650; "Width=" 554 "height=" 162 "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>
This article is from the "Rslinux" blog, make sure to keep this source http://routeslinux.blog.51cto.com/9322509/1669050
RHEL5.5 not installing GCC causes some software to not compile and install