0.下载安装文件
wget -c "https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh" -O 'Miniconda3-latest-Linux-x86_64.sh'
1.转到安装文件所在目录下
cd /home/scf/下载/
2.运行安装程序
sh Miniconda3-py39_4.10.3-Linux-x86_64.sh
这里输入yes
3.默认安装在/home/scf/目录下,配置
在zsh的shell模式下
nano ~/.bashrc
# >>> conda init >>>
if [ -f "$HOME/.miniconda/etc/profile.d/conda.sh" ]; then
source "$HOME/.miniconda/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=true conda activate base
else
export PATH="$HOME/.miniconda/bin:$PATH"
fi
# <<< conda init <