#首先创建一个文件夹src(源代码的意思),将下载的软件保存到其中
#下载Miniconda3.4
wget -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh
#下载完成后,安装:
vip39@VM-0-15-ubuntu:~/src$ bash Miniconda3-4.5.11-Linux-x86_64.sh
# 一直默认,直到...
installation finished.
Do you wish the installer to prepend the Miniconda3 install location
to PATH in your /home/vip39/.bashrc ? [yes|no]
[no] >>>
# 选择no:推荐是这样,防止后期变量冲突
# 启动:
vip39@VM-0-15-ubuntu:~/src$ source ~/miniconda3/bin/activate
(base) vip39@VM-0-15-ubuntu:~/src$
# 会发现前面多了个(base),表示目前处于conda环境
#
查找bwa:
(base) vip39@VM-0-15-ubuntu:~/src$ conda search bwa
Loading channels: done
PackagesNotFoundError: The following packages are not available from current channels:
- bwa
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/linux-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/linux-64
- https://repo.anaconda.com/pkgs/pro/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page