1.下載anaconda3:
地址:https://www.anaconda.com/distribution/
或者直接輸入命令:
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/anaconda3.5.2.0-Linux-x86_64.sh
2.安裝:
執行命令:
bash Anaconda3-2019.10-Linux-x86_64.sh
一路回車或yes,如圖:
/root/anaconda3是安裝的目錄
3.現在需要配置環境:
輸入命令:
vim /root/.bashrc
編輯,在最后輸入:
export PATH="/root/anaconda3/bin:$PATH"
激活配置文件:
source ~/.bashrc
現在成功!可看到: