From 350e3f8af5f9a1964cd7c5917907134b74fda948 Mon Sep 17 00:00:00 2001 From: Prerna Singh <51945896+PrernaSingh587@users.noreply.github.com> Date: Wed, 14 Apr 2021 23:09:26 +0530 Subject: [PATCH 1/2] Updated Mamba doc --- src/maintainer/adding_pkgs.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/maintainer/adding_pkgs.rst b/src/maintainer/adding_pkgs.rst index 5d2a81fa5c..81a000e653 100644 --- a/src/maintainer/adding_pkgs.rst +++ b/src/maintainer/adding_pkgs.rst @@ -694,6 +694,25 @@ for the specification on expressions. Miscellaneous ============= +Using Mamba as a Package Manager +--------------------------------- + +**Mamba** is a cross platform package manager. + +Conda sometimes proves to be really slow while installing multiple packages at the same time. The conda solver tries to solve the environment and looks out for the best set of versions to download. This can decelerate the process of installation if the packages are in bulk. +That's where mamba pulls off. Mamba is a drop-in replacement for conda. + +Being a reimplementation of conda package manager in C++, mamba uses the same command line parser, package installation and deinstallation code and transaction verification routine as conda to stay as compatible as possible with conda packages. + +The edge of mamba over conda, as already hinted, comes in the dependency resolution part. It offers high speed and reliable environment solution. +**Libsolv** is the solver used by mamba to provide efficient and quick solutions. It uses satisfiability algorithm for resolving package dependencies. It also uses a dictionary approach to store and retrieve package and dependency information in a fast and space efficient manner. +Mamba uses multi-threading technique to parallely download the repo data and package files. + +For the procedure of installation of mamba, you can look into `Mamba Documentation. `__ + +To know how to use ``mamba-build`` , refer `Maintainers FAQ. `__ + + Activate scripts ---------------- From 7df32a9ae1feddaf21a7c9f8fe1ceb7a8bfc6431 Mon Sep 17 00:00:00 2001 From: Prerna Singh <51945896+PrernaSingh587@users.noreply.github.com> Date: Wed, 14 Apr 2021 23:58:24 +0530 Subject: [PATCH 2/2] Changed as suggested --- src/maintainer/adding_pkgs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maintainer/adding_pkgs.rst b/src/maintainer/adding_pkgs.rst index 81a000e653..d44e2f44ef 100644 --- a/src/maintainer/adding_pkgs.rst +++ b/src/maintainer/adding_pkgs.rst @@ -710,7 +710,7 @@ Mamba uses multi-threading technique to parallely download the repo data and pac For the procedure of installation of mamba, you can look into `Mamba Documentation. `__ -To know how to use ``mamba-build`` , refer `Maintainers FAQ. `__ +If you are interested to quicken up your testing using ``mamba-build``, refer `Maintainers FAQ. `__ Activate scripts