Difference between revisions of "Mamba"
Moskalenko (talk | contribs) |
Moskalenko (talk | contribs) |
||
Line 18: | Line 18: | ||
{{App_Description|app={{#var:app}}|url={{#var:url}}|name={{#var:app}}}}|}} | {{App_Description|app={{#var:app}}|url={{#var:url}}|name={{#var:app}}}}|}} | ||
− | The Fast Cross-Platform Package Manager Based on Conda. | + | The Fast Cross-Platform Package Manager Based on [[Conda]]. In a nutshell, mamba is a really, really fast conda - both during package resolution and for package installations as described by the upstream project |
+ | |||
+ | Mamba is a reimplementation of the conda package manager in C++. | ||
+ | |||
+ | * parallel downloading of repository data and package files using multi-threading | ||
+ | * libsolv for much faster dependency solving, a state of the art library used in the RPM package manager of Red Hat, Fedora and OpenSUSE | ||
+ | core parts of mamba are implemented in C++ for maximum efficiency | ||
+ | |||
+ | At the same time, mamba utilize the same command line parser, package installation and deinstallation code and transaction verification routines as conda to stay as compatible as possible. | ||
Line 34: | Line 42: | ||
<!--Run--> | <!--Run--> | ||
{{#if: {{#var: exe}}|==Additional Information== | {{#if: {{#var: exe}}|==Additional Information== | ||
+ | |||
+ | Loading a mamba module will automatically set up a tuned ~/.condarc if you don't have one. See [[Conda|Conda Documentation]] for more information. Most commands are the same except you have to use 'conda activate' as there is no 'mamba activate'. | ||
Here's an example conda/mamba configuration: | Here's an example conda/mamba configuration: |
Revision as of 17:05, 5 March 2021
Description
The Fast Cross-Platform Package Manager Based on Conda. In a nutshell, mamba is a really, really fast conda - both during package resolution and for package installations as described by the upstream project
Mamba is a reimplementation of the conda package manager in C++.
* parallel downloading of repository data and package files using multi-threading * libsolv for much faster dependency solving, a state of the art library used in the RPM package manager of Red Hat, Fedora and OpenSUSE core parts of mamba are implemented in C++ for maximum efficiency
At the same time, mamba utilize the same command line parser, package installation and deinstallation code and transaction verification routines as conda to stay as compatible as possible.
Environment Modules
Run module spider mamba
to find out what environment modules are available for this application.
System Variables
- HPC_MAMBA_DIR - installation directory
- HPC_MAMBA_BIN - executable directory
Additional Information
Loading a mamba module will automatically set up a tuned ~/.condarc if you don't have one. See Conda Documentation for more information. Most commands are the same except you have to use 'conda activate' as there is no 'mamba activate'.
Here's an example conda/mamba configuration:
channels: - conda-forge - bioconda - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/free pkgs_dirs: - ${HOME}/.conda/pkgs auto_activate_base: false anaconda_upload: false
Change the pkgs_dirs value to set a different location for the conda/mamba package cache and avoid filling up your home directory.