Skip to content

Instantly share code, notes, and snippets.

@starkfell
Last active September 27, 2023 11:52
Show Gist options
  • Select an option

  • Save starkfell/28fe840a3e686ab9d5edd57038561bff to your computer and use it in GitHub Desktop.

Select an option

Save starkfell/28fe840a3e686ab9d5edd57038561bff to your computer and use it in GitHub Desktop.
#!/bin/bash
# wget -O - {URL} | bash
apt-get update -fq && \
apt-get install -q openssl libffi python clang make && \
apt-get install -q openssh nano && \
pip install --user virtualenv
cat << EOF > ~/.bashrc
PATH=$PATH:~/.local/bin
export PATH
EOF
source ~/.bashrc
virtualenv ~/.local/lib/azure-cli
cd ~/.local/lib/azure-cli
source ./bin/activate
pip install cffi
pip install azure-cli
pip freeze > requirements.txt
@joy-joel
Copy link

Will this work for both 32 bit and 64 bit device?

@starkfell
Copy link
Author

@joy2323 - I'm not sure, but I don't see any reason why it should not.

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