3行 代碼安裝Anaconda
Anaconda各個版本軟件列表: https://repo.continuum.io/archive/
1. 下載
將下載好的文件copy到特定的目錄下,我是copy到Downloads目錄下面
然後cd
到所在目錄:
查看
(base) li@li-System-Product-Name:~$ cd ~/Downloads
(base) li@li-System-Product-Name:~/Downloads$ ls
Anaconda3-2019.03-Linux-x86_64.sh NVIDIA-Linux-x86_64-418.56.run
2.安裝
bash Anaconda3-2019.03-Linux-x86_64.sh
(base) li@li-System-Product-Name:~/Downloads$ bash Anaconda3-2019.03-Linux-x86_64.sh
出現下面內容,點擊enter,之後一直按yes就好
Welcome to Anaconda3 2019.03
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
3.配置環境變量
(base) li@li-System-Product-Name:~$ echo 'export PATH="~/anaconda2/bin:$PATH"' >> ~/.bashrc
(base) li@li-System-Product-Name:~$ source ~/.bashrc
(base) li@li-System-Product-Name:~$ which conda
/home/li/anaconda3/bin/conda
(base) li@li-System-Product-Name:~$ conda --version
conda 4.6.11
conda list 可以列出安裝的庫。