ec2_post_init
Populate STScI EC2 instances with ease
|
Miniconda control functions. More...
Go to the source code of this file.
Functions | |
_get_rc () | |
Get the default bash rc script for the user account. More... | |
mc_get (version, version) | |
Download Miniconda3. More... | |
mc_configure_defaults () | |
Sets global defaults for conda and pip. More... | |
mc_initialize (dest) | |
Configures user account to load conda at login. More... | |
mc_install (version, dest) | |
Installs Miniconda3. More... | |
mc_clean () | |
Remove unused tarballs, caches, indexes, etc. More... | |
Miniconda control functions.
Definition in file miniconda.inc.sh.
_get_rc | ( | ) |
Get the default bash rc script for the user account.
1 | if home does not exist |
Definition at line 31 of file miniconda.inc.sh.
mc_clean | ( | ) |
Remove unused tarballs, caches, indexes, etc.
1 | if miniconda is not initialized |
Definition at line 171 of file miniconda.inc.sh.
mc_configure_defaults | ( | ) |
Sets global defaults for conda and pip.
Definition at line 80 of file miniconda.inc.sh.
mc_get | ( | version | , |
version | |||
) |
Download Miniconda3.
Installation script destination is set by global $mc_installer
version | Miniconda3 release version... (i.e., py39_4.11.0) |
version | "latest" if empty |
Definition at line 54 of file miniconda.inc.sh.
mc_initialize | ( | dest | ) |
Configures user account to load conda at login.
dest | path to miniconda installation root |
Definition at line 106 of file miniconda.inc.sh.
mc_install | ( | version | , |
dest | |||
) |
Installs Miniconda3.
version | of the Miniconda3 installer (i.e., py39_4.11.0) |
dest | path to install Miniconda3 (~/miniconda3) |
1 | if any argument is invalid |
1 | if destination exists |
1 | if download fails |
1 | if installation fails (implicit) |
Definition at line 140 of file miniconda.inc.sh.