Skip to content

Instantly share code, notes, and snippets.

@dukn
Last active May 14, 2019 03:39
Show Gist options
  • Save dukn/46d1c886c727926c8076e20599f935fd to your computer and use it in GitHub Desktop.
Save dukn/46d1c886c727926c8076e20599f935fd to your computer and use it in GitHub Desktop.
install anaconda with 1 line :))
#!/bin/bash
wget --quiet https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh -O ~/anaconda.sh && \
/bin/bash ~/anaconda.sh -b -p /opt/conda && \
rm ~/anaconda.sh && \
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
echo "conda activate base" >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment