centos 安装anaconda
1.把要下载的anaconda版本 使用wget -P 下载到指定的文件夹下
wget -P /tmp https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
2. 使用bash 运行脚本,当然在此之前要进入/tmp 路径下
bash Anaconda3-2020.02-Linux-x86_64.sh
3.一路 enter yes。。。。。。。
安装成功
4.更改配置文件
(1)打开配置文件 vi /etc/profile
(2)输入 i 进入编辑文本
(3)在文件末尾添加
#Anaconda
export PATH=$PATH:/root/anaconda3/bin
(4)退出编辑模式 (Esc)保存(:wq)
(5)重新执行文件
source /etc/profile
5.测试anaconda 是否安装成功
成功!