Hi Folks. When will the CLI be available for Ubuntu 24.04? Thanks.

MarkofTheKanes 20 Reputation points
2024-05-03T14:46:41.24+00:00

Hi Folks. When will the CLI be available for Ubuntu 24.04? Thanks.

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
705 questions
{count} votes

Accepted answer
  1. Prrudram-MSFT 26,841 Reputation points
    2024-05-14T08:43:39.2+00:00

    Hi @MarkofTheKanes
    Answer by @Spencer Young is correct. As of the latest information available, the Azure CLI package specifically for Ubuntu 24.04 has not yet been released. However, afaik the install script has been deprecated and is confirmed by the product team on this GitHub thread https://github.com/Azure/azure-cli/issues/28872https://github.com/Azure/azure-cli/issues/28791

    The team is addressing the issue and confirmed that they'll be releasing a package for 24.04 soon.

    If I have answered your query, please click "Accept as answer" as a token of appreciation

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Spencer Young 0 Reputation points
    2024-05-10T21:51:11.2333333+00:00

    There is no specific release for Ubuntu 24 (noble) yet, but using the install script provided in the documentation works:

    curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
    

    If you look carefully at the script though, you'll find it simply uses the jammy release for all Ubuntu distributions indiscriminately. Nevertheless, you can confirm this works by running this dockerfile:

    FROM ubuntu:noble
    
    RUN apt update && apt install -y curl
    
    RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
    
    RUN az --version
    

    Alternatively, you can follow the distribtuion-specific install instructions, but simply replace $(lsb_release -cs) simply with jammy.

    0 comments No comments

  2. MarkofTheKanes 20 Reputation points
    2024-05-14T10:46:09.0766667+00:00

    Thanks for the help folks. I went with using a docker image while I wait for the CLI to be supported for 24.04.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.