Skip to content

Instantly share code, notes, and snippets.

@msalvaris
Last active August 8, 2018 15:18
Show Gist options
  • Save msalvaris/073c28a9993d58498957294d20d74202 to your computer and use it in GitHub Desktop.
Save msalvaris/073c28a9993d58498957294d20d74202 to your computer and use it in GitHub Desktop.
Install AzCopy on Linux
#!/usr/bin/env bash
# Install with sudo
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
apt-get update -y
apt-get install -y dotnet-sdk-2.0.2
wget -O azcopy.tar.gz https://aka.ms/downloadazcopyprlinux
tar -xf azcopy.tar.gz
./install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment