728x90
Ubuntu 18.04 에서 Continuum’s Anaconda 5.2.0 설치하기
Install Anaconda and Jupyter Notebook
다음과 같이 터미널에서 Downloads 디렉토리를 생성한 후 해당 디렉토리로 이동하여 Anaconda 5.2.0 을 다운로드한다.
~$ cd downloads ~/downloads$ wget https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh --2020-03-27 06:27:42-- https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh Resolving repo.anaconda.com (repo.anaconda.com)... 104.16.131.3, 104.16.130.3, 2606:4700::6810:8303, ... Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.131.3|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 541906131 (517M) [application/x-sh] Saving to: ‘Anaconda3-2019.07-Linux-x86_64.sh’ Anaconda3-2019.07-Linux-x86_64.sh 100%[============================================================================>] 516.80M 96.8MB/s in 5.2s 2020-03-27 06:27:48 (98.7 MB/s) - ‘Anaconda3-2019.07-Linux-x86_64.sh’ saved [541906131/541906131]
앞서 다운로드받은 Anaconda 를 설치한다. 설치를 계속하기 위해서는 사용 동의를 해야한다. ENTER 를 누른다. 이용약관 동의를 위해 yes 를 입력한다. 마지막으로 해당 위치에 설치를 할려면 Enter 를 누른다.
~/downloads$ bash ./Anaconda3-2019.07-Linux-x86_64.sh Welcome to Anaconda3 2019.07 In order to continue the installation process, please review the license agreement. Please, press ENTER to continue >>> =================================== Anaconda End User License Agreement =================================== Do you accept the license terms? [yes|no] [no] >>> yes Anaconda3 will now be installed into this location: /home/founder/anaconda3 - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below [/home/founder/anaconda3] >>>
Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no] [no] >>> yes ==> For changes to take effect, close and re-open your current shell. <==
마지막으로 시스템 구동시 자동으로 conda 기본 환경이 활성화되지 않게 하려면 다음과 같이 한다.
conda config --set auto_activate_base false
Anaconda 업데이트는 다음과 같이 할 수 있다.
~$ conda update --all --yes Collecting package metadata: done Solving environment: done # All requested packages already installed.
Start Jupyter Notebook
다음과 같이 Jupyter Notebook 을 구동한다.
~$ jupyter notebook
728x90
댓글을 사용할 수 없습니다.