cat /etc/os-release
2. 查看架构
uname -a
# output
# Linux localhost.localdomain 4.18.0-193.28.1.el8_2.x86_64 #1 SMP Thu Oct 22 00:20:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
官方地址: Link
wget -P [指定安装路径] url[url为复制的链接]
wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
bash Anaconda3-2023.09-0-Linux-x86_64.sh
conda init --reverse $SHELL
? [yes|no]: no(如果这里选择了 yes,可直接跳至第 4 步)echo $SHELL
# output
# /bin/bash
shell.YOUR_SHELL_NAME
改为 shell.bash
eval "$(/home/guochenhui/anaconda3/bin/conda shell.YOUR_SHELL_NAME hook)"
conda init
source ~/.bashrc
conda config --set auto_activate_base false
source ~/.bashrc
conda env list