- GUI 지원 안되는 서버 컴퓨터에 원격 접속해서 개발 진행 예정
- root 하위 계정(복수개)에 설치
- conda 4.6.8
- python 3.6.5
1. anaconda 설치 파일 다운로드
$ cd /tmp
$ curl -O https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh
2. verify the file integrity the sha256sum command
$ sha256sum Anaconda3-5.2.0-Linux-x86_64.sh
3. 설치 스크립트를 실행하고 ENTER 입력으로 설치 계속
$ sudo bash Anaconda3-5.2.0-Linux-x86_64.sh
4. 라이센스 동의 질문에 'yes' 입력, 설치 경로 확인후 'ENTER'
Do you accept the license terms? [yes|no]
[no] >>>
Please answer 'yes' or 'no':'
>>> yes
[/home/경로/anaconda3] >>> (ENTER)
5. .bashrc 파일에 PATH 추가 하려면 질문에 'yes' 입력
6. 터미널 재시작 후 bashrc 실행
$ source ~/.bashrc
- PATH 확인
$ cat ~/.bashrc
7. 아나콘다 버전 확인 후 업데이트
$ conda -V
$ conda update conda
8. 업데이트 과정에서 permission denied 에러 발생시 아래 커맨드로 업데이트 수행
$ sudo env "PATH=$PATH" conda update conda
<참고 페이지>
How To Install the Anaconda Python Distribution on Ubuntu 16.04
conda update conda permission error-stack overflow
'AI' 카테고리의 다른 글
[PYTHON] tensorflow 사용을 위한 anaconda, python 설치 (0) | 2019.03.25 |
---|