Thursday, July 28, 2016

Installing Azure CLI on Slackware Linux

The first thing I wanted to do was to get the Azure CLI running on Slackware Linux. I am using the NEW Slackware 14.2 (64 bit) version so I went to Slackbuilds to download from nodejs (NOT node and DO NOT install both - they conflict).

nodejs consists of node-4.4.7.tar.gz and nodejs.SlackBuild. Just Follow the instructions for installing Slackbuilds.

# chmod +x nodejs.SlackBuild
# ./nodejs.SlackBuild (this takes a LOT of time)
# cd /tmp # installpkg nodejs-4.4.7-x86_64-1_SBo.tgz

Download Azure CLI for Linux.  I chose the Nodejs version

This is what you do with it:

# npm install -g azure-cli.0.10.2.linux.tar.gz

Now, do the dual login verification...

# azure login (then follow instructions)

...  and you're ready to manage Azure from your Linux console!

No comments:

Post a Comment