Skip to content

Instantly share code, notes, and snippets.

@cicorias
Last active March 19, 2019 14:48
Show Gist options
  • Save cicorias/17b88daf7a7696a1ce001a157f26fa4e to your computer and use it in GitHub Desktop.
Save cicorias/17b88daf7a7696a1ce001a157f26fa4e to your computer and use it in GitHub Desktop.
Azure IoT Runtime Install on Ubuntu
# Register Microsoft key and software repository feed
apt-get update
apt-get install curl gpg vim
curl https://packages.microsoft.com/config/ubuntu/$(awk -F= '$1=="DISTRIB_RELEASE" { print $2 ;}' /etc/lsb-release)/prod.list > ./microsoft-prod.list
cp ./microsoft-prod.list /etc/apt/sources.list.d/
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
cp ./microsoft.gpg /etc/apt/trusted.gpg.d/
apt-get update
apt-get install -y moby-engine moby-cli iotedge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment