学习小组Day3笔记--任重道远
2018-08-29 本文已影响34人
trc14283
bzip2#
yum install -y bzip2
Miniconda#
Miniconda下载##
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
Miniconda安装##
bash Miniconda3-latest-Linux-x86_64.sh
激活环境变量##
source ~/.bashrc
添加国内镜像##
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
conda config --set show_channel_urls yes
查看软件列表##
conda list
搜索软件##
conda search 软件名
安装软件##
conda install 软件名=版本号 -y
卸载软件##
conda remove 软件名 -y
查看conda环境##
conda info --envs
建立conda环境##
conda create -n 环境名 python=3 软件名1 软件名2 -y
激活conda环境##
source activate 环境名
卸载环境中软件##
conda remove -n 环境名 软件名 -y
卸载环境##
conda remove -n 环境名 --all
问题卸载环境的时候好像要先去另一个环境才能卸载