![]() ![]() Then build Python 3 from source: PYTHON_VERSION="3.6.9" # configure shared object lookup directory so that libssl.so.1.1 can be foundĮcho "/usr/local/ssl/lib" | sudo tee /etc/ld.so.conf.d/openssl-1.1.1d.conf config -prefix=/usr/local/ssl -openssldir=/usr/local/ssl You can use the following command to download and install the Azure CLI install script with python 3.6 built from source: curl -sL | sudo bashįirst, Azure CLI requires SSL 1.1+ and you will need to build openssl 1.1 from source before building python3: sudo dnf install gcc gcc-c++ make ncurses patch wget tar zlib zlib-devel -y ![]() Otherwise, you need to first install a python3 package then install Azure CLI without dependency. If you are able, upgrade your system to a version with official support for python 3.6+ package. Install on RHEL 7.6 or other systems without Python 3 If you experience a problem not covered here, file an issue on GitHub. Here are some common problems seen when installing with dnf. To install a specific version: sudo dnf install azure-cli-1.el7 To view available versions with command: dnf list -showduplicates azure-cli Available versions can be found at Azure CLI release notes. You must first configure azure-cli repository information as shown above. sudo rpm -import įor RHEL 9 or CentOS Stream 9, add packages-microsoft-com-prod repository: sudo dnf install -y įor RHEL 8 or CentOS Stream 8, add packages-microsoft-com-prod repository: sudo dnf install -y įor RHEL 7 or CentOS 7, add azure-cli repository: echo -e " The azure-cli package supports ARM64 architecture from 2.46.0. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |