centos

    [Linux] gcc, g++ 설치하기 (CentOS)

    [Linux] gcc, g++ 설치하기 (CentOS)

    개요안녕하세요 피터입니다. Linux에 개발환경을 구축하기 위해서는 컴파일러(Compiler) 설치가 필수입니다. C언어 컴파일러는 gcc, C++언어 컴파일러는 g++ 인데 OS 설치 시 최소설치(Minimum)으로 설치한 경우 설치가 안되어 있는 경우가 있습니다. 이런 경우 리눅스에서 제공하는 yum이라는 패키지 관리 도구를 이용해서 쉽게 설치할 수 있습니다. gcc 설치 yum을 이용해 아래 명령어로 설치해줍니다. yum install gcc [root@peterdev test]# yum install gcc Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.iij.ad.jp * epel: mirr..