From 0f131a93830e377d7059b1dbff350a13f008e540 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Fri, 1 Mar 2024 11:17:39 +0100 Subject: [PATCH] added micromamba for faster conda environment building --- config.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config.org b/config.org index d60e9b4..de384a5 100644 --- a/config.org +++ b/config.org @@ -3054,9 +3054,23 @@ unset __conda_setup auto_activate_base: false #+end_src ** Install [[https://mamba.readthedocs.io][Mamba]] for faster environment solve +install micromamba #+begin_src shell :tangle pkg-list.txt micromamba #+end_src +and create a symlink so it can be called as ~mamba~ +#+begin_src shell :tangle update.sh +if [ ! -L "/bin/mamba" ]; then + sudo ln -s /bin/micromamba /bin/mamba +fi +#+end_src +and configure the ~MAMBA_ROOT_PREFIX~ to save environments to the conda's environment directory +#+begin_src shell :tangle ~/.zshrc +export MAMBA_ROOT_PREFIX="$HOME/.conda" +#+end_src +#+begin_src shell :tangle ~/.bashrc +export MAMBA_ROOT_PREFIX="$HOME/.conda" +#+end_src * Zathura ** Installation #+begin_src conf :tangle pkg-list.txt