-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install for Ubuntu 24.04 #28872
Comments
Hi @dixonwille
Possible solution: Please confirm if this resolves your issue. |
Ubuntu 24.04 support is planned in our next sprint. |
While the bot may have found a solution to my problem for now. With Ubuntu 24.04 being LTS and publicly released (no longer in preview), would love to see an official .deb package in the PPA (https://packages.microsoft.com/repos/azure-cli/dists/) with |
I can also confirm the same issue. Azure cli in previous 22.04 LTS had a release file and was working fine. But in latest 24.04 there is no way to get cli working. It is causing problem for developers who work in azure and want to be on the latest Ubuntu distro.
|
@rakibmirza I wrote the following work around to get it installed. It assumes it is ran as root. azureEnv="/usr/local/share/azure-cli-env"
python3 -m venv "$azureEnv"
"$azureEnv/bin/python" -m pip install --upgrade pip
"$azureEnv/bin/python" -m pip install --upgrade setuptools
"$azureEnv/bin/python" -m pip install azure-cli
ln -s "$azureEnv/bin/az" /usr/local/bin/az
|
The install script is deprecated. We'll release a package for 24.04 |
@bebound Do we have an ETA on this? If not do we have any workaround? |
It will be released on May 21. |
See this comment for a workaround I am currently using. |
Describe the bug
With Ubuntu 24.04 being released, I first checked to see if
noble
was available in https://packages.microsoft.com/repos/azure-cli/dists/.Since it is not available yet, I tried to use the install script instead
curl -L https://aka.ms/InstallAzureCli | bash
.Using the defaults for everything in the script (not specifying any strange paths for install directory or bin directory), I receive an error.
Related command
Errors
Issue script & Debug output
N/A
Expected behavior
I would expect to either setup the PPA or use the Install script to successfully get a working version of the Azure CLI.
Environment Summary
Additional context
No response
The text was updated successfully, but these errors were encountered: