tutorial:rootinstall

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:rootinstall [2018/12/11 19:08] qwertytutorial:rootinstall [2023/03/06 13:44] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ==== Installing ROOT ==== ==== Installing ROOT ====
 ROOT6을 설치하는 방법에 대해 알아본다. 우선 ROOT 공식 [[https://root.cern.ch/downloading-root|홈페이지]]에 접속하여 다운받고자하는 버전의 페이지로 이동한다. ROOT6을 설치하는 방법에 대해 알아본다. 우선 ROOT 공식 [[https://root.cern.ch/downloading-root|홈페이지]]에 접속하여 다운받고자하는 버전의 페이지로 이동한다.
-Binary file을 이용해 설치하는것을 권장한다.+특별한 이유가 없다면 Binary file을 이용해 설치하는것을 권장한다. 
 + 
 +=== Binary distributions ===
  
 == MacOS == == MacOS ==
Line 10: Line 12:
 </code> </code>
  
-=== Binary distributions ===+== Binary 배포판 설치 ==
 설치하고자하는 컴퓨터의 컴파일러와 OS 버전에 맞는 배포판을 다운로드 받아 압축을 풀고, ~/.bashrc에 다음을 추가한다. (경로는 적절히 바꿔야 함) 설치하고자하는 컴퓨터의 컴파일러와 OS 버전에 맞는 배포판을 다운로드 받아 압축을 풀고, ~/.bashrc에 다음을 추가한다. (경로는 적절히 바꿔야 함)
 <code> <code>
 source /ROOT_설치_폴더까지의_주소/bin/thisroot.sh source /ROOT_설치_폴더까지의_주소/bin/thisroot.sh
 +#.bashrc를 나가서
 +source ~/.bashrc
 </code> </code>
  
 === Source compile === === Source compile ===
-<code> 
-brew install cmake # Mac OS 
-</code> 
  
 == Fedora OS == == Fedora OS ==
Line 28: Line 29:
 </code> </code>
 를 이용해 루트를 설치할 수 있다. 를 이용해 루트를 설치할 수 있다.
 +
 +* Fedora 29에서 설치됨을 확인했다.
  
 0. [[https://root.cern.ch/downloading-root|root 홈페이지]]에서 Source file을 다운로드 받는다. 0. [[https://root.cern.ch/downloading-root|root 홈페이지]]에서 Source file을 다운로드 받는다.
Line 58: Line 61:
 <code> <code>
 #~/설치하고_싶은_경로/root 안에서 실행 #~/설치하고_싶은_경로/root 안에서 실행
-cmake --build . --target install+sudo cmake --build . --target install
 </code> </code>
  
Line 66: Line 69:
 #.bashrc에 적어준다. #.bashrc에 적어준다.
 source /ROOT_설치_경로/bin/thisroot.sh source /ROOT_설치_경로/bin/thisroot.sh
 +#.bashrc를 나가서
 +source ~/.bashrc
 </code> </code>
  
 Ubuntu의 경우 yum 대신 apt-get을 이용하는 것만 다르고 나머지는 같다. Ubuntu의 경우 yum 대신 apt-get을 이용하는 것만 다르고 나머지는 같다.
 +
 +== Mac OS ==
 +<code>
 +brew install cmake # Mac OS
 +</code>
 +
  • tutorial/rootinstall.1544522887.txt.gz
  • Last modified: 2023/03/06 13:44
  • (external edit)