
Debian 10에 Anaconda를 설치하는 방법
Anaconda는 가장 유행하는 Python/R 데이터 과학과 기계 학습 플랫폼이다.그것은 대규모 데이터 처리, 예측 분석, 과학 계산에 쓰인다.Anaconda distribution에는 1500개 이상의 소스 패킷이 포함되어 있습니다.또한 conda 명령줄 도구와 Anaconda Navigator라는 데스크톱 그래픽 사용자 인터페이스도 포함됩니다.이 자습서에서는 Debian 10에서 Anaconda Python 릴리스를 다운로드하고 설치하도록 안내합니다.
Python 3의 새 버전인 Anaconda를 다운로드할 수 있는지 확인합니다.
또는
Anaconda 설치 스크립트를 다운로드하려면:
설치 중인 Anaconda 버전의 경우
스크립트를 실행하여 Anaconda 설치 프로세스를 시작합니다.
:
Anaconda를 설치하고
사용자 홈 디렉터리에서 숨겨진 파일과 폴더 삭제 명령:
가이드만약 문제가 있거나 피드백이 있다면 아래에 메시지를 남겨 주십시오.
구렁이를 설치하다
이 본문을 작성할 때 아나콘다의 최신 안정적인 버전은 2019.10 버전이었다.Anaconda 설치 프로그램 스크립트를 다운로드하기 전에 Anaconda Downloads page을 방문하십시오.Python 3의 새 버전인 Anaconda를 다운로드할 수 있는지 확인합니다.

wget
사용또는
curl
Anaconda 설치 스크립트를 다운로드하려면:
wget -P /tmp https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
을 다운로드하려면 접속 속도에 따라 시간이 좀 걸릴 수 있습니다.완료 후 sha256sum
명령을 사용하여 스크립트의 데이터 무결성을 확인합니다. sha256sum /tmp/Anaconda3-2019.10-Linux-x86_64.sh
아래 출력을 보실 수 있습니다. 46d762284d252e51cd58a8ca6c8adc9da2eadc82c342927b2f66ed011d1d8b53 /tmp/Anaconda3-2019.10-Linux-x86_64.sh
위 명령에서 인쇄한 해시가 Anaconda with Python 3 on 64-bit Linux page에서 사용할 수 있는 해시와 일치하는지 확인하십시오.설치 중인 Anaconda 버전의 경우
https://docs.anaconda.com/anaconda/install/hashes/Anaconda3-2019.10-Linux-x86_64.sh-hash/

sh /tmp/Anaconda3-2019.10-Linux-x86_64.sh
Welcome to Anaconda3 2019.10
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
ENTER
을 눌러 계속하고 SPACE
을 눌러 라이센스를 스크롤합니다.라이센스를 확인한 후 라이센스 약관에 동의하라는 메시지가 나타납니다. Do you accept the license terms? [yes|no]
[no] >>> yes
라이센스에 동의하려면 yes
을 입력하고 스크립트에서 설치 위치를 선택하십시오.Anaconda3 will now be installed into this location:
/home//anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
은 대부분의 사용자에게 기본 위치가 적합합니다.ENTER
을 눌러 위치를 확인하면 설치가 시작됩니다.설치하는 데 시간이 좀 걸릴 수 있습니다.완료하면 Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
yes
을 입력하고 ENTER
을 누르면 스크립트가 conda
에 PATH
을 추가합니다.:
==> For changes to take effect, close and re-open your current shell. <==
If you'd prefer that conda's base environment not be activated on startup,
set the auto_activate_base parameter to false:
conda config --set auto_activate_base false
Thank you for installing Anaconda3!
===========================================================================
Anaconda and JetBrains are working together to bring you Anaconda-powered
environments tightly integrated in the PyCharm IDE.
PyCharm for Anaconda is available at:
https://www.anaconda.com/pycharm
Anaconda 설치를 활성화하려면 Anaconda 설치 프로그램에서 다음 명령을 사용하여 Anaconda 설치 환경 변수를 로드하십시오. source ~/.bashrc
Anaconda가 성공적으로 설치되었는지 확인하려면 PATH
명령을 사용하십시오. conda info
구렁이를 갱신하다
Anaconda를 업데이트하는 것은 매우 간단한 절차입니다.먼저conda
도구를 업데이트합니다. active environment : base
active env location : /home//anaconda3
shell level : 1
user config file : /home//.condarc
populated config files :
conda version : 4.7.12
conda-build version : 3.18.9
python version : 3.7.4.final.0
virtual packages :
base environment : /home//anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home//anaconda3/pkgs
/home//.conda/pkgs
envs directories : /home//anaconda3/envs
/home//.conda/envs
platform : linux-64
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Linux/4.19.0-5-amd64 debian/10 glibc/2.28
UID:GID : 1000:1000
netrc file : None
offline mode : False
업데이트를 확인하는 메시지가 나타나면 conda
을 입력하여 계속하십시오.y
을 업데이트한 후 Anaconda 업데이트를 계속합니다: (adsbyGoogle=window.adsbyGoogle || | []).추진({});conda update conda
은 이전과 마찬가지로 프롬프트가 표시되면 conda
을 입력하여 계속합니다.Anaconda 설치를 정기적으로 업데이트해야 합니다.구렁이를 부리다
Debian 시스템에서 Anaconda를 제거하려면 먼저 remove the directoryAnaconda를 설치하고
y
파일을 편집하고 PATH 환경 변수에서 Anaconda 디렉토리를 제거합니다. ~/bashrc conda update anaconda
실행 이하 ~/.bashrc
사용자 홈 디렉터리에서 숨겨진 파일과 폴더 삭제 명령:
rm -rf ~/anaconda3
결론
현재 Debian 시스템에서 Anaconda를 다운로드하고 설치했습니다. 공식 Getting started with conda을 보실 수 있습니다.가이드만약 문제가 있거나 피드백이 있다면 아래에 메시지를 남겨 주십시오.