1 软件准备
1.1 软件下载
https://repo.anaconda.com/archive/index.html
根据官网选择自己需要的版本。
这里下载的是 Anaconda3-2023.03-1-Linux-x86_64.sh
或者直接在linux中输入
wget -c https://repo.anaconda.com/archive/Anaconda3-2023.03-1-Linux-x86_64.sh
1.2 安装conda
在conda文件的目录下输入命令安装,一路回车,直到他要求输入yes
bash Anaconda3-2023.03-1-Linux-x86_64.sh
这里输入no然后就好了
1.3. 设置环境变量
配置环境变量,这里的export PATH填的是conda的bin文件地址,我是安装在home目录的所以是这样,前面一个命令是添加环境变量,后者是刷新bashrc
也有可能是你的路径下的~/.profile