문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
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을 예로 들어 설명하지만, | ||
+ | |||
+ | <code bash> | ||
+ | [root@localhost ~]# python -V | ||
+ | Python 2.7.5 | ||
+ | [dev@localhost ~]# update-alternatives --config python | ||
+ | [root@localhost ~]# update-alternatives --install /bin/python python / | ||
+ | [root@localhost ~]# update-alternatives --install /bin/python python / | ||
+ | |||
+ | [root@localhost ~]# update-alternatives --config python | ||
+ | |||
+ | 2 개의 프로그램이 ' | ||
+ | |||
+ | 선택 | ||
+ | ----------------------------------------------- | ||
+ | | ||
+ | *+ 2 / | ||
+ | |||
+ | 현재 선택[+]을 유지하려면 엔터키를 누르고, 아니면 선택 번호를 입력하십시오: | ||
+ | [root@localhost ~]# python -V | ||
+ | Python 3.6.8 | ||
+ | </ | ||
+ | |||
+ | * [[https:// | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
* [[https:// | * [[https:// | ||
줄 51: | 줄 76: | ||
===== Ref ===== | ===== Ref ===== | ||
- | {{tag> | + | {{tag> |