1. connect
command
ssh [用户名]@[服务器地址]
2. download mini-conda
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-3.9.1-Linux-x86_64.sh
3. install
bash Miniconda3-3.9.1-Linux-x86_64.sh
press space to "more"
enter y
install path: /home/xxx/Learning/miniconda3
3. config environment variable
nano ~/.bashrc
add the code below at the end of the file:
export PATH="your bin path:$PATH"
then press Ctrl+X
then press enter
4. enter "conda" to check
Warning!!!:
the operators above has proved failed because the version of miniconda3 is too old.
so,
first: uninstall the old version with the command below:
rm -rf "your total miniconda3 folder"
delete configs of it in .bachrc
then: install new version with the two command below:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
change the installation path then press yes
other tips of using conda:
using command below to close "automatical conda":
conda init --reverse $SHELL
2525

被折叠的 条评论
为什么被折叠?



