﻿{"id":872,"date":"2012-06-13T18:23:29","date_gmt":"2012-06-13T10:23:29","guid":{"rendered":"http:\/\/nick.workao.org\/?p=872"},"modified":"2012-06-13T18:23:29","modified_gmt":"2012-06-13T10:23:29","slug":"redhat-rhel-6-1%e5%ae%89%e8%a3%85gcc%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/linux\/872","title":{"rendered":"RedHat RHEL 6.1\u5b89\u88c5gcc\u7684\u65b9\u6cd5"},"content":{"rendered":"<p>RHEL 6.1\u9ed8\u8ba4\u662f\u6ca1\u6709gcc\u548cgcc-c++\u73af\u5883\u7684\uff0c\u800c\u4e14\u6211\u4e5f\u6ca1\u6709$\u8d2d\u4e70\u6b63\u7248\u670d\u52a1\u3002<\/p>\n<p>\u53ea\u80fd\u60f3\u529e\u6cd5\u672c\u5730\u5b89\u88c5\u4e86\uff0c\u603b\u7ed3\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p>\u4e0a\u4f20\u5b89\u88c5\u955c\u50cfrhel-server-6.1-x86_64-dvd.iso\uff0c<\/p>\n<p>\u7136\u540e\u5c06\u955c\u50cf\u6587\u4ef6\u6302\uff0c\u5982\/mnt<\/p>\n<h1>mount -o loop rhel-server-6.1-x86_64-dvd.iso \/mnt<\/h1>\n<h1>cd \/mnt\/Packages<\/h1>\n<h1>rpm -ivh glibc-common-2.12-1.25.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh kernel-headers-2.6.32-131.0.15.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh libgcc-4.4.5-6.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh glibc-2.12-1.25.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh libgomp-4.4.5-6.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh nscd-2.12-1.25.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh glibc-headers-2.12-1.25.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh glibc-devel-2.12-1.25.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh cpp-4.4.5-6.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh gcc-4.4.5-6.el6.x86_64.rpm<\/h1>\n<p>\u6ce8\uff1a\u4ee5\u4e0a\u662f\u5b89\u88c5gcc\uff0c\u8f6f\u4ef6\u5b89\u88c5\u987a\u5e8f\u4e0d\u80fd\u9519\u3002<\/p>\n<hr \/>\n<h1>rpm -ivh libstdc++-4.4.5-6.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh libstdc++-devel-4.4.5-6.el6.x86_64.rpm<\/h1>\n<h1>rpm -ivh gcc-c++-4.4.5-6.el6.x86_64.rpm<\/h1>\n<p>\u6ce8\uff1a\u4ee5\u4e0a\u662f\u5b89\u88c5gcc-c++<\/p>","protected":false},"excerpt":{"rendered":"<p>RHEL 6.1\u9ed8\u8ba4\u662f\u6ca1\u6709gcc\u548cgcc-c++\u73af\u5883\u7684\uff0c\u800c\u4e14\u6211\u4e5f\u6ca1\u6709$\u8d2d\u4e70\u6b63\u7248\u670d\u52a1\u3002 \u53ea\u80fd\u60f3\u529e\u6cd5\u672c\u5730\u5b89\u88c5\u4e86\uff0c\u603b\u7ed3\u65b9\u6cd5\u5982\u4e0b\uff1a \u4e0a\u4f20\u5b89\u88c5\u955c\u50cfrhel-server-6.1-x86_64-dvd.iso\uff0c &#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-872","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":2,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":874,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/872\/revisions\/874"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}