delusionxb
delusionxb

Reputation: 359

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. There are some questions need to be taken care of manually, like License, install path and adding binary into $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

Upvotes: 7

Views: 6658

Answers (1)

Michael P
Michael P

Reputation: 338

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

Seen here

Upvotes: 11

Related Questions