본문 바로가기

Ubuntu (Linux)

Ubuntu (우분투) gcc, g++, make 설치 방법

Nvidia cuda 설치하다가 아래와 같은 에러 메세지가 발생할 수 있다.

Failed to verify gcc version. See log at /var/log/cuda-installer.log for details.

아래 명령어로 간편하게 gcc 설치할 수 있다.

$ sudo apt update
$ sudo apt install build-essential

위 명령어로 gcc, g++ 및 make를 포함한 다양한 패키지를 설치할 수 있다.

 

 

참고
 

1. https://mryeo.tistory.com/23

'Ubuntu (Linux)' 카테고리의 다른 글

$'\r': command not found 에러 해결법 (리눅스)  (1) 2023.10.05
Ubuntu (우분투) CUDA, cuDNN 설치  (56) 2023.10.04