centos7 中如何安装anaconda

 

001、查看系统

[root@PC1 software]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)

 

002、下载anaconda安装包:

wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2021.11-Linux-x86_64.sh --no-check-certificate

 

003、使用bash解释器运行安装包

bash Anaconda3-2021.11-Linux-x86_64.sh

 

004、配置环境变量

echo "export PATH=\$PATH:/root/anaconda3/bin/" >> /etc/profile
source /etc/profile

 

005、测试

[root@PC1 software]# conda --version         ## 输出版本号
conda 4.10.3

 

参考:https://blog.csdn.net/sang_12345/article/details/125798317

 

posted @ 2022-09-19 21:47  小鲨鱼2018  阅读(604)  评论(0编辑  收藏  举报