什么是conda?如何使用conda进行包管理?
iso:centos7.9
下载anaconda的安装包
[root@master01 ~]# wget https://repo.anaconda.com/archive/Anaconda3-5.3.0-Linux-x86_64.sh
给执行权限
[root@master01 ~]# chmod +x Anaconda3-5.3.0-Linux-x86_64.sh
执行
[root@master01 ~]# ./Anaconda3-5.3.0-Linux-x86_64.sh
点击Enter(回车键)此时显示Anaconda的信息,并且会出现More,继续按Enter,直到如下图所示:
输入 yes
继续点击 Enter
输入 yes,添加环境变量
[root@master01 ~]# source /root/anaconda3/etc/profile.d/conda.sh
[root@master01 ~]# conda -V
conda 4.5.11
阿里源
conda config –add channels anaconda-cloud-Paddle安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-auto安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-biobakery安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-bioconda安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-c4aarch64安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-caffe2安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-conda-forge安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-deepmodeling安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-dglteam安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-fastai安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-fermi安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-idaholab安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-intel安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-matsci安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-menpo安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-mordred-descriptor安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-msys2安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-numba安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-ohmeta安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-omnia安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-plotly安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-psi4安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-pytorch安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-pytorch-test安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-pytorch3d安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-pyviz安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-qiime2安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-rapidsai安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-rdkit安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-simpleitk安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-stackless安装包下载_开源镜像站-阿里云
conda config –add channels anaconda-cloud-ursky安装包下载_开源镜像站-阿里云
conda config –set show_channel_urls yes
测试安装seqtk
[root@master01 ~]# conda create -n seqtk-env01 -y
[root@master01 ~]# conda activate seqtk-env01
(seqtk-env01) [root@master01 ~]# conda install -c bioconda seqtk
[root@master01 ~]# source deactivate