Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented about Mamba #1354

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion src/maintainer/knowledge_base.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
Knowledge base
Knowledge Base
**************

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. <https://mamba.readthedocs.io/en/latest/getting_started.html>`__

To know how to use ``mamba-build`` , refer `Maintainers FAQ. <https://conda-forge.org/docs/maintainer/maintainer_faq.html>`__

Using CMake
===========

Expand Down