#Ubuntu 18.04 gcc설치

 

1. gcc basic 설치

>sudo apt update
>sudo apt install build-essential
>gcc --version

gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

2. gcc 4.8설치(낮은버젼으로 설치해야 기존의 프로그램이 compile & link 해야하는경우)


>apt-get install gcc-4.8
>apt-get install g++-4.8

 

 

 

 

'리눅스 > Ubuntu 18.04.5 LTS' 카테고리의 다른 글

Default .bashrc for ubuntu  (0) 2021.04.08
CentOS 7(2024.?.? 까지 지원) - iso 파일  (0) 2021.04.07
Ubuntu 18.04 root계정 사용하기  (0) 2021.04.06
Ubuntu 18.04 FTP 구축하기  (0) 2021.04.06
Ubuntu 18.04.5 iptables 설정  (0) 2021.04.06

+ Recent posts