본문 바로가기

딥러닝

[Yolo_mark] ubuntu환경에 cmake 설치하기

 

YOLO모델 학습을 위해서는 라벨링 작업이 필수적이다.

저는 라벨링 작업은 Yolo_mark를 이용합니다.

이때, cmake가 설치 되어야 합니다.

 

cmake설치하는 방법은 아래와 같습니다.

 

 

1. cmake 공식사이트에서 파일은 다운로드 합니다.

https://cmake.org/download/

 

Download CMake

You can either download binaries or source code archives for the latest stable or previous release or access the current development (aka nightly) distribution through Git. This software may not be exported in violation of any U.S. export laws or regulatio

cmake.org

 

 

저는 리눅스 환경이기 때문에 위 파일을 다운로드 합니다.

 

 

2. 아래와 같이 코드를 실행합니다.

저는 이전에 3.23.3버전을 다운받은게 있어서 이것으로 진행합니다.

tar -xvzf cmake-3.23.3.tar.gz
#압축 해제

cd cmake-3.23.3
#폴더로 이동


#아래 코드 차례대로 실행
./bootstrap
make
sudo make install

 

 

3. 설치가 잘됬는지 아래 명령어로 확인

cmake --version

 

 

 

버전 확인 명령어

위 그림과 같이 버전이 확인 된다면 성공입니다.