#下载最新版miniconda2
wget -c https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86 64.sh
#运行安装程序
bash Miniconda2-latest-Linux-x86 64.sh
# 删除安装程序,下次你会下载新版
rm Miniconda2-latest-Linux-x86 64.sh
# 添加常用下载频道
conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda
#添加清华镜像加速下载
site=https://mirrors.tuna.tsinghua.edu. cn/anaconda
conda config --add channels ${site]/pkgs/free/
conda config --add channels $(site]/pkgs/main/
conda config --add channels ${site}/cloud/conda-forge/
conda config --add channels ${site]/pkgs/r/
conda config --add channels ${site]/cloud/bioconda/
conda config --add channels ${site}/cloud/msys2/
conda config --add channels ${site]/cloud/menpo/
conda config --add channels ${site}/cloud/pytorch/
#升级conda及相关程序
conda update conda
# 安装下载工具
conda install -y wget
# 下载QIIME2安装包
Wget https://data.qiime2.org/distro/core/qiime2-2023.2-py38-linux-conda.yml--user-agent="Mozilla/5.0 (X11;U;Linux i686;en-US;rv:1.9.0.3) Geco/2008092416 Firefox/3.0.3"--no-check-certificate
# 安装QIIME2
conda env create -n qiime2-2023.2 --file qiime2-2023.2-py38-linux-conda.yml
# 激活小环境
conda activate qiime2-2023.2
# 测试安装是否成
qiime --help
网友评论