added micromamba for faster conda environment building

This commit is contained in:
paul-loedige
2024-03-01 11:17:39 +01:00
parent 789556ffba
commit 0f131a9383
+14
View File
@@ -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