2017-08-15 87 views
3

從​​3210下載安裝文件Miniconda2-l​​atest-Linux-x86_64.sh,從命令行安裝。有些問題需要手動處理,例如許可證,安裝路徑以及將二進制文件添加到$ PATH中。我的問題是:有沒有辦法通過一個命令自動安裝它?如如何在Ubuntu上自動安裝miniconda

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

回答

1

你可以做

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

-b是用於批處理模式,其中包括接受許可,並與-p您提供的安裝路徑/前綴

Seen here