miniconda的安装及其配置

本文档提供了Miniconda的下载与安装步骤,并详细介绍了如何配置conda的镜像源来提高软件包的下载速度。此外,还列举了一系列常用的conda命令,帮助用户更高效地管理和使用Miniconda环境。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下载安装命令

wget -c https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh

按照提示往下走就可以,最后source .bashrc就可以了。

conda添加镜像命令

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda
conda config --set show_channel_urls yes
conda config --show  # 查看新增channels

其他conda常用命令

conda list  # 查看conda中已经安装的软件
conda install diamond  # conda安装软件,默认最新版
conda install hmmer2 hmmer diamond
conda install diamond=0.8.22  # conda安装指定版本的软件
conda install py-bio  # conda安装python模块
conda create -n antismash
conda create -n python3.6 python=3.6  # 创建python3.6 conda环境
conda info --envs  # 查看环境列表
conda activate env  # 激活conda环境
conda deactivate env  # 退出conda环境
conda remove -n env --all  # 删除conda环境
conda config --show  # 查看channel

大概就是一开始配置的所有步骤了。以后想到再加。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值