Skip to content

Instantly share code, notes, and snippets.

@arvati
Last active June 28, 2023 01:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arvati/4290d357df6abb69664b93f5dd6e5654 to your computer and use it in GitHub Desktop.
Save arvati/4290d357df6abb69664b93f5dd6e5654 to your computer and use it in GitHub Desktop.
awesome xfce4 mods
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@arvati
Copy link
Author

arvati commented Jun 27, 2023

curl -L "https://micromamba.snakepit.net/api/micromamba/linux-64/latest" | sudo tar -xj -C "/usr/" "bin/micromamba"        

mkdir -p "/opt/conda/conda-meta"
chmod -R a+rwx /opt/conda
micromamba shell init --shell=bash --prefix=/opt/conda/ 

echo "conda activate base 2>/dev/null || mamba activate base 2>/dev/null  || micromamba activate base" | sudo tee  /etc/profile.d/mamba-base.sh
sudo chmod +x /etc/profile.d/mamba-base.sh

echo -e "export MAMBA_ROOT_PREFIX=/opt/conda\n
export PATH=\$MAMBA_ROOT_PREFIX/bin:\$PATH" | sudo tee /etc/profile.d/mamba.sh
sudo chmod +x /etc/profile.d/mamba.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment