Rocky에서 CMake 컴파일 설치 과정
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
나는 파일질라를 이용해서 옮겼음
더 편한 설치방법도 있지만 외부 통신이 불가능 하다는 가정
경로는 /usr/local/compile_util로 지정을 했음
# tar -zxvf cmake.tar.gz
cmake 디렉터리에 가서
# ./bootstrap --prefix=/usr/local/compile_util/cmake && make && make install
경로를 cmake 디렉터리에 잡아주면서 동시에 설치 실행까지 한번에
기본적으로 configure / make / make install 과정의 기본 경로는
/usr/local로 지정되어 있기 때문에 경로 변경을 원한다면
configure 과정에서 --prefix='경로' 옵션을 추가해주면 됨
configure 설치 중 없는 프로그램 및 라이브러리는 오류 메시지를 보고 해결 가능
configure 옵션을 잘못 주었을 경우
#make distclean
컴파일까지 완료한 설치파일을 제거할 때 쓰는 명령어
# make uninstall
'Linux > Rocky 8.10' 카테고리의 다른 글
[Rocky 8.10] PHPMYADMIN 설치 (0) | 2024.08.13 |
---|---|
[Rocky 8.10] DNS 서버 구축 (0) | 2024.08.08 |
[Rocky 8.10] NPM Source 설치 (0) | 2024.08.07 |
Linux 리눅스 mv 명령어, 파일 이동, 파일명 변경 (0) | 2024.08.02 |
[sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old (0) | 2024.08.02 |