可去官网查看下载版本
- wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh
- bash xxx(xxx为Anaconda的完整安装目录)
需要多次输入yes 按回车键 - 配置环境变量
sudo vi /etc/profile
在文件底部加上下面内容
#Anacondaexport PATH=$PATH:/root/anaconda3/bin
source /etc/profile
- 查询是否成功
conda

可去官网查看下载版本
#Anacondaexport PATH=$PATH:/root/anaconda3/bin
source /etc/profile