Created
July 13, 2021 10:21
-
-
Save thinhha/bd0c6cd6beadec31f73baa1e2721189e to your computer and use it in GitHub Desktop.
install-clouddq-env-ubuntu.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install sandboxfs | |
sudo apt install libfuse2 | |
curl -Lo /tmp/sandboxfs-0.2.0.tgz https://github.com/bazelbuild/sandboxfs/releases/download/sandboxfs-0.2.0/sandboxfs-0.2.0-20200420-linux-x86_64.tgz | |
sudo tar xzv -C /usr/local -f /tmp/sandboxfs-0.2.0.tgz | |
rm /tmp/sandboxfs-0.2.0.tgz | |
sandboxfs | |
# Install Python dependencies | |
sudo apt-get update; sudo apt-get install make build-essential libssl-dev zlib1g-dev \ | |
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \ | |
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev | |
# Install golang for building Bazelisk | |
wget https://golang.org/dl/go1.16.5.linux-amd64.tar.gz | |
sudo rm -rf /usr/local/go | |
sudo tar -C /usr/local -xzf go1.16.5.linux-amd64.tar.gz | |
export PATH=$PATH:/usr/local/go/bin | |
go version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment