sudo add-apt-repository ppa:fkrull/deadsnakes
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
sudo update-alternatives --display python3
이건 에러뜨면 정상
sudo rm /usr/bin/python3
ls -alh /usr/bin/python*
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2
sudo update-alternatives --display python3
sudo update-alternatives --config python3
0
끝!
'개발 > Linux' 카테고리의 다른 글
서버용으로 인기가 높은 Centos OS 다운로드 (0) | 2019.07.16 |
---|---|
' error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ' ? (0) | 2019.07.02 |
window Ubuntu Bash에서 root Directory는? (0) | 2019.07.02 |
Window에서 linux bash사용하기 (0) | 2019.06.29 |
VirtualBox 우분투 설치시 클립보드 복사 안되는 문제 (0) | 2019.04.06 |