yum Áú¹®µå¸³´Ï´Ù.

   Á¶È¸ 4789   Ãßõ 0    

 안녕하세요

리눅스 초보인데요

CentOS7 을 사용하고 있는데

현재 gcc 버전이 4.4.7-17.el6.x86_64 입니다. 


더 높은 버전이 필요해서 yum으로 설치해보려고 하니, 더 높은 버전이 없다고 안되네요.

4.7 이상이 필요한데, yum으로는 방법이 없나요?

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
DoubleSH 2016-11
±×·± Á¤µµ´Â ±¸±Û¿¡¼­ ã´Â°Ô , ¿©±â Áú¹®Çϴ°ź¸´Ù ºü¸¨´Ï´Ù. ¤¾¤¾

https://www.google.com/search?q=gcc+4.7+yum+centos

----------------------- ¿¹Á¦

* Add the repo :
# wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoo...evtoolset.repo

Download the dependencies for the devtoolset-1.1-gcc (-4.7)
compat-libgmp-4.3.1-1.sl7.x86_64.rpm
https://drive.google.com/file/d/0B7S...ew?usp=sharing
compat-libmpfr-2.4.1-1.sl7.x86_64.rpm
https://drive.google.com/file/d/0B7S...ew?usp=sharing
# yum localinstall --nogpgcheck \
compat-libgmp-4.3.1-1.sl7.x86_64.rpm compat-libmpfr-2.4.1-1.sl7.x86_64.rpm

Then you can install gcc and g++ version 4.7.2 :
# yum install devtoolset-1.1-gcc-c++ --nogpgcheck
http://linuxsoft.cern.ch/cern/devtoo...X/x86_64/RPMS/
Á÷Á¢ ÆÄÀϹ޾Ƽ­ ¼³Ä¡ÇϽøéµÇ¿ä
Á¤Èñ¼· 2016-11
centos 7 À̸é Á÷Á¢ ºôµåÇؼ­ ½áµµ ¹®Á¦´Â ¾øÀ»°Å °°½À´Ï´Ù¸¸...


QnA
Á¦¸ñPage 2130/5657
2014-05   4859819   Á¤ÀºÁØ1
2015-12   1405055   ¹é¸Þ°¡
2009-04   5018   ¹Ú³ë¼º
2016-09   4147   ´ÃÆĶõ
2014-05   5126   EYESSHOT
2017-10   3574   Ä«¸£ÇÏŸ
2012-07   9332   µ¥À̺ñµå
2016-09   4307   FreeBSD
2016-10   4296   comduck
2020-03   2612   ¸¸»ç¿ÀÄÉÀÌ
2015-10   4609   °Ü¿ï³ª¹«
2020-03   2955   CPU4
2012-08   6790   Â÷Æò¼®
2020-03   4948   °­¹ÎÁØ1
2023-03   2095   ûÃá
2009-06   9804   Á¤ÀçÈÆ
2012-09   5030   ³ÃöÇÑÇϴüÒ
2020-04   2660   Æú¸®76
2015-10   10048   Ææµà¾ó
2016-10   4484   ºü³ª³ª¿ìÀ¯
2021-08   6484   ¾îÄg
2014-06   17669   Å×µ¹¾ÆÀÌ