Last active
March 19, 2019 14:48
-
-
Save cicorias/17b88daf7a7696a1ce001a157f26fa4e to your computer and use it in GitHub Desktop.
Azure IoT Runtime Install on Ubuntu
This file contains hidden or 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
| # 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