Install Azure CLI in Linux CentOS 7
Jump to navigation
Jump to search
Preparation
Before we install Azure CLI, we need to make sure we already have these installed :
1. Python 3.6.x, 3.7.x or 3.8.x 2. libffi 3. OpenSSL 1.0.2
If we have now it, install it like below :
root@gejoreuy:~# yum install -y gcc libffi-devel python37u-devel openssl-devel
Step by Step Install Azure CLI
Install the CLI by running curl.
root@gejoreuy:~# curl -L https://aka.ms/InstallAzureCli | bash
If no issue, set the az cli can be run from anywhere.
root@gejoreuy:~# exec -l $SHELL
Check to make sure az cli installed successfully.
root@gejoreuy:~# az --version