Day3-软件下载.png
实际操作
- 查询服务器多少位
bio04@VM-0-10-ubuntu:~$ uname -a
Linux VM-0-10-ubuntu 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
- 粘贴下载网址
bio04@VM-0-10-ubuntu:~/biosoft$ wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda-latest-Linux-x86_64.sh
--2020-03-15 15:01:26-- https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda-latest-Linux-x86_64.sh
Resolving mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)... 101.6.8.193, 2402:f000:1:408:8100::1
Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.8.193|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27208383 (26M) [application/octet-stream]
Saving to: ‘Miniconda-latest-Linux-x86_64.sh’
Miniconda-latest-Linux-x86_64.sh 100%[=========================================================================>] 25.95M 3.45MB/s in 6.4s
- 安装conda
bio04@VM-0-10-ubuntu:~/biosoft$ bash Miniconda-latest-Linux-x86_64.sh
Welcome to Miniconda2 4.0.5 (by Continuum Analytics, Inc.)
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> enter
Thank you for installing Miniconda2!
- 激活-打开conda
bio04@VM-0-10-ubuntu:~/biosoft$ source ~/.bashrc
bio04@VM-0-10-ubuntu:~/biosoft$ conda
usage: conda [-h] [-V] [--debug] command ...
conda is a tool for managing and deploying applications, environments and packages.
- 添加清华镜像
bio04@VM-0-10-ubuntu:~/biosoft$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bio04@VM-0-10-ubuntu:~/biosoft$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
bio04@VM-0-10-ubuntu:~/biosoft$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda
bio04@VM-0-10-ubuntu:~/biosoft$ conda config --set show_channel_urls yes
- 查看当前所有软件列表
bio04@VM-0-10-ubuntu:~/biosoft$ conda list
# packages in environment at /home/bio04/biosoft/enter:
#
conda 4.0.5 py27_0 defaults
conda-env 2.4.5 py27_0 defaults
openssl 1.0.2g 0 defaults
pip 8.1.1 py27_1 defaults
pycosat 0.6.1 py27_0 defaults
pycrypto 2.6.1 py27_0 defaults
python 2.7.11 0 defaults
pyyaml 3.11 py27_1 defaults
readline 6.2 2 defaults
requests 2.9.1 py27_0 defaults
setuptools 20.3 py27_0 defaults
sqlite 3.9.2 0 defaults
tk 8.5.18 0 defaults
wheel 0.29.0 py27_0 defaults
yaml 0.1.6 0 defaults
zlib 1.2.8 0 defaults
bio04@VM-0-10-ubuntu:~/biosoft$ conda search fastqc
- 搜索软件fastqc(数据质控软件)
bio04@VM-0-10-ubuntu:~/biosoft$ conda search fastqc
Fetching package metadata: ..........
bioconductor-fastqcleaner 1.0.0 r351hf484d3e_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
1.2.0 r36he1b5a44_1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
1.4.0 r36he1b5a44_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
biopet-extractadaptersfastqc 0.1 py27_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
0.1 py35_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
0.1 py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
0.1 1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
0.2 py27_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
0.2 py35_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
0.2 py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
0.2 1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
0.2 2 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/noarch/
fastqc 0.10.1 0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/linux-64/
- 自动安装软件
bio04@VM-0-10-ubuntu:~/biosoft$ conda install fastqc=0.11.7 -y
Fetching package metadata: ..........
Solving package specifications: ..........
Warning: >10 possible package resolutions (only showing differing packages):
- lz4-c-1.8.3-he1b5a44_1001.tar.bz2, xorg-libxfixes-5.0.3-h14c3975_1004.tar.bz2, xorg-libxrender-0.9.10-h516909a_1002.tar.bz2, xorg-recordproto-1.14.2-h516909a_1002.tar.bz2
网友评论