added micromamba for faster conda environment building
This commit is contained in:
+14
@@ -3054,9 +3054,23 @@ unset __conda_setup
|
|||||||
auto_activate_base: false
|
auto_activate_base: false
|
||||||
#+end_src
|
#+end_src
|
||||||
** Install [[https://mamba.readthedocs.io][Mamba]] for faster environment solve
|
** Install [[https://mamba.readthedocs.io][Mamba]] for faster environment solve
|
||||||
|
install micromamba
|
||||||
#+begin_src shell :tangle pkg-list.txt
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
micromamba
|
micromamba
|
||||||
#+end_src
|
#+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
|
* Zathura
|
||||||
** Installation
|
** Installation
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user