사용자 도구

사이트 도구


wiki:os:linux:centos

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
wiki:os:linux:centos [2023/04/04 14:40]
dhan
wiki:os:linux:centos [2023/04/04 14:48] (현재)
dhan
줄 44: 줄 44:
    
 ===== Tip ===== ===== Tip =====
- +기본 프로그램 설정(alternatives)  \\ 
 +python을 예로 들어 설명하지만, java를 비롯해서 여러 버전에서 사용 가능 
 + 
 +<code bash> 
 +[root@localhost ~]# python -V 
 +Python 2.7.5 
 +[dev@localhost ~]# update-alternatives --config python 
 +[root@localhost ~]# update-alternatives --install /bin/python python /bin/python2.7 1 
 +[root@localhost ~]# update-alternatives --install /bin/python python /bin/python3.6 2 
 + 
 +[root@localhost ~]# update-alternatives --config python 
 + 
 +2 개의 프로그램이 'python'를 제공합니다. 
 + 
 +  선택    명령 
 +----------------------------------------------- 
 +             /bin/python2.7 
 +*+ 2           /bin/python3.6 
 + 
 +현재 선택[+]을 유지하려면 엔터키를 누르고, 아니면 선택 번호를 입력하십시오:
 +[root@localhost ~]# python -V 
 +Python 3.6.8 
 +</code> 
 + 
 +  * [[https://cntechsystems.tistory.com/105|[CentOS 7] Python3 설치 및 버전 변경과 Tensorflow, Keras 설치]] 
 ===== Troubleshooting ===== ===== Troubleshooting =====
   * [[https://young-cow.tistory.com/77|/lib, /lib64 의 심볼릭 링크를 삭제했을 때 해결 방법]]   * [[https://young-cow.tistory.com/77|/lib, /lib64 의 심볼릭 링크를 삭제했을 때 해결 방법]]
줄 51: 줄 76:
 ===== Ref ===== ===== Ref =====
  
-{{tag>주레피 센트오에스 centos}}+{{tag>주레피 센트오에스 centos alternatives 기본프로그램}}
/volume1/web/dokuwiki/data/attic/wiki/os/linux/centos.1680586818.txt.gz · 마지막으로 수정됨: 2023/04/04 14:40 저자 dhan