开发者

yum in rhel5.1 through internet

开发者 https://www.devze.com 2023-01-14 04:38 出处:网络
i am using redhat 5.1 versions .i n开发者_StackOverfloweed the rpm that automatically download from internet

i am using redhat 5.1 versions .i n开发者_StackOverfloweed the rpm that automatically download from internet similar to centos and ubuntu. see i have an old gcc. compiler i want to download the latest version compatible to my rhel 5.1 with this yum utility.please suggest sunil


If you upgrade the version of yum you are using (the version in RHEL-5.2 might be enough, but 5.4+ would be better) you can run:

yum --showduplicates list gcc

...and then install/upgrade/downgrade to a specific version. If the version you want isn't available in RHEL, then I'd seriously caution against using it ... however even then you should be able to download the rpm manually and use "yum downgrade gcc-blah.rpm" (or install/etc) to move to it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号