文章目录
参考资料
环境说明
miniconda安装
[root@yang mnt]# bash Miniconda3-latest-Linux-x86_64.sh
Welcome to Miniconda3 py313_25.7.0-2
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
Do you accept the license terms? [yes|no]
>>> yes
Miniconda3 will now be installed into this location:
/root/miniconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/root/miniconda3] >>>
# 注意必须输入yes
You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>> yes
Thank you for installing Miniconda3!
# 注意必须执行生效配置文件的命令
[root@yang mnt]# source /root/.bashrc
(base) [root@yang mnt]# conda --version
conda 25.7.0
#中科大
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
#设置搜索时显示通道地址
conda config --set show_channel_urls yes
nodejs安装
sudo yum install nodejs
npm get registry
npm config set registry https://registry.npmmirror.com/