Skip to content

Instantly share code, notes, and snippets.

@rjleaf
Last active September 1, 2017 15:35
Show Gist options
  • Save rjleaf/5d2537fbc17a29e785ab0d77f9482ced to your computer and use it in GitHub Desktop.
Save rjleaf/5d2537fbc17a29e785ab0d77f9482ced to your computer and use it in GitHub Desktop.
Azure-CLI on Fedora 25+

Installing Azure-CLI on Fedora 25+

If you've tried to simply execute Microsoft's Azure-CLI installation method using curl and bash, you've probably run into errors about gcc being unable to find certain files during the build process. No fear, it's just a few dependencies that we need here.

Dependencies

From a basic Fedora 25 (or later) Workstation install, you'll need gcc, libffi-devel, python-devel, openssl-devel and redhat-rpm-config. Run this command to install:

sudo dnf -y install gcc libffi-devel python-devel openssl-devel redhat-rpm-config

Installing Azure

Once you have the required dependencies installed, all that's left to do is run Microsoft's installer for the CLI tool. Run this as your normal user without root privileges.

curl -L https://aka.ms/InstallAzureCli | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment