conda 转载自 生信技能树

查看频道 

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值