Hi,
Is it possible to run miniconda-zos-<X.Y>-<yyyy-mm-dd>.run in "silent mode" (with a responsefile or something similar)?
/Njål
------------------------------
Njaal Sletten
DNB
Bergen NO
------------------------------
Hi,
Is it possible to run miniconda-zos-<X.Y>-<yyyy-mm-dd>.run in "silent mode" (with a responsefile or something similar)?
/Njål
Hi,
Is it possible to run miniconda-zos-<X.Y>-<yyyy-mm-dd>.run in "silent mode" (with a responsefile or something similar)?
/Njål
Hello Njaal,
Miniconda installer doesn't have such option, however it's possible to install miniconda in non-interactive way, by passing all the necessary replies to the installer via pipe. Another issue with non-interactive miniconda installation is the output of license using the command "more", that is not possible to quit by sending reply via pipe. But anyway we can suggest some solution.
Prerequisites:
export _BPXK_AUTOCVT=ON
chtag -tc 1047 miniconda-*.run
Now we can run non-interactive miniconda installation:
(more() { :; }; export -f more; printf '%s\\n' y '' y '' n n | bash ./miniconda-*.run -p "installation_path")
Some details:
The command declares empty shell function "more()" to override the command "more" inside the miniconda installer. It allows to skip license output, but the license is saved in the file "installation_path/IBM_LICENSE.txt" and can be reviewed later.
The command "printf '%s\\n' y '' y '' n n" sends to the installer the set of predefined replies for the next installation questions:
------------------------------
Vladimir Kudriakov
Software Engineer
Rocket Software
------------------------------
Hello Njaal,
Miniconda installer doesn't have such option, however it's possible to install miniconda in non-interactive way, by passing all the necessary replies to the installer via pipe. Another issue with non-interactive miniconda installation is the output of license using the command "more", that is not possible to quit by sending reply via pipe. But anyway we can suggest some solution.
Prerequisites:
export _BPXK_AUTOCVT=ON
chtag -tc 1047 miniconda-*.run
Now we can run non-interactive miniconda installation:
(more() { :; }; export -f more; printf '%s\\n' y '' y '' n n | bash ./miniconda-*.run -p "installation_path")
Some details:
The command declares empty shell function "more()" to override the command "more" inside the miniconda installer. It allows to skip license output, but the license is saved in the file "installation_path/IBM_LICENSE.txt" and can be reviewed later.
The command "printf '%s\\n' y '' y '' n n" sends to the installer the set of predefined replies for the next installation questions:
------------------------------
Vladimir Kudriakov
Software Engineer
Rocket Software
------------------------------
Wow, perfect!
Thanks a lot Vladimir.
/Njaal
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.