2020-12-16 Day 3 九亿分之一

Day 3 linux环境下软件安装与卸载

下载miniconda

  1. 百度搜索“miniconda 清华”,即可看到


    image.png
  2. 在登录Xshell,在服务器界面输入命令 uname -a,即可查看服务器位数,选择Miniconda3-latest-Linux-x86_64.sh (若为Windows或Mac系统,则根据需求选用即可),用右键复制下载链接
  3. 在Xshell上进入biosoft目录,输入:
    wget空格https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh

安装 Miniconda

  1. bash 命令的意思为 进入子程序
    在界面输入
    bash Miniconda3-py38_4.9.2-Linux-x86_64.sh
    回车
    之后enter或yes,遵照教程输入进行安装


    image.png
  2. 激活
    输入命令 source ~/.bashrc


    image.png
  3. 添加镜像
    输入命令
    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

  1. 命令 conda list,意为查看服务器当前软件列表
  2. 命令 conda search空格软件名,意为搜索某个软件,如conda search fastqc,即为搜索 fastqc
  3. 命令 conda install空格软件名,意为安装某个软件,如conda search fastqc -y,即为安装fastqc,-y此处表示后续yes/no的选择中均选择yes。如果不嫌麻烦,也可以不加-y.


    image.png
  4. 命令 conda remove空格软件名,意为卸载某个软件,如conda remove fastqc -y,即为卸载fastqc。


    image.png

linux博大精深,目前只是摸了一下毛而已。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容