简体   繁体   English

如何自动在Ubuntu上安装miniconda

[英]How to install miniconda on Ubuntu automatically

Download install file Miniconda2-latest-Linux-x86_64.sh from https://conda.io/miniconda.html , install it from command line. https://conda.io/miniconda.html下载安装文件Miniconda2-l​​atest-Linux-x86_64.sh,从命令行安装。 There are some questions need to be taken care of manually, like License, install path and adding binary into $PATH. 有一些问题需要手动处理,如许可证,安装路径和在$ PATH中添加二进制文件。 My question is: is there any way to automatically install it by one command? 我的问题是:有没有办法通过一个命令自动安装它? Such as

bash Miniconda2-latest-Linux-x86_64.sh \
    -license yes -install_path ~/miniconda \
    -to-bash-profile yes

You can do 你可以做

bash ~/miniconda.sh -b -p $HOME/miniconda

-b is for for batch-mode, which includes accepting the license, and with -p you provide the installation path/prefix -b用于批处理模式,包括接受许可证,使用-p提供安装路径/前缀

Seen here 看到这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM