OS/Linux
miniconda 설치
구닥다리 엔지니어
2019. 10. 31. 22:27
miniconda 설치
환경
- OS : CentOS 6,7
설치
Miniconda2 설치
yum install -y bzip2
wget https://repo.anaconda.com/miniconda/Miniconda2-latest-Linux-x86_64.sh
bash Miniconda2-latest-Linux-x86_64.sh << EOF
yes # 약관동의
/path/to # base 경로
yes
EOF
Miniconda3 설치
yum install -y bzip2
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh << EOF
yes
/path/to # base 경로
yes
EOF
설치가 완료되면, ~/.bashrc에 conda를 초기화하는 코드가 추가됩니다.
.bashrc 파일을 다시 로드하거나, 다시 로그인을 하면 conda 명령을 사용할 수 있게됩니다.
conda update conda
conda -V