查看频道
cat ~/.condarc conda config --show channels
编辑频道
vim ~/.condarc
创建某环境
conda create -n gen
创建某一环境 并将Python3 加进去
conda create -n py3 python=3
删除某环境
conda remove -n py3 --all
打开某一环境
source ~/miniconda3/bin/activate gen
退出某环境
conda deactivate
将环境列出来
conda env list
conda寻找某软件
conda search fastqc
conda 安装软件,(特别注意要安装的环境是bash 还是其他)
conda install fastqc
conda安装指定软件版本
conda install fastqc=0.11.7
同时还能添加参数 跳过确认步骤
conda install -y fastqc=0.11.7
(安装软件时找不到这个包怎么办 The following packages are not availble from current channels)
1.确认conda是否能安装你所需要的软件
2.确认名字是否出错
3.确认你要的包在conda中的位置
查看当前环境所安装的软件
conda list
查看符合正则表达式的软件
conda list fast*
查看指定环境的软件
conda list -n bash conda list -n gen
删除指定环境下的某个软件
conda remove -n bash fastqc conda remove -n gen fastqc
有时候提醒你 conda 需要升级,要升级吗?
建议只要不影响使用,就不需要管他
能升级软件 ,也能降级软件 只要指定该软件的旧版本就可以了
conda install python=2.7
用conda升级软件 ,以及升级conda
conda update fastqc conda update conda