From 0c37ed220df9e7f5c72c39c2793f433de882f324 Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Tue, 14 Feb 2023 15:43:27 +0800 Subject: [PATCH 1/5] Init --- docs-ref-conceptual/includes/cli-install-linux-apt.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs-ref-conceptual/includes/cli-install-linux-apt.md b/docs-ref-conceptual/includes/cli-install-linux-apt.md index 5adcfaca8f..8b14c38751 100644 --- a/docs-ref-conceptual/includes/cli-install-linux-apt.md +++ b/docs-ref-conceptual/includes/cli-install-linux-apt.md @@ -21,8 +21,6 @@ The `apt` package manager contains an x86_64 package for the Azure CLI that has > [!WARNING] > Ubuntu 20.04 (Focal Fossa) and 20.10 (Groovy Gorilla) include an `azure-cli` package with version `2.0.81` provided by the `universe` repository. This package is outdated and not recommended. If this package is installed, remove the package before continuing by running the command `sudo apt remove azure-cli -y && sudo apt autoremove -y`. See [Ubuntu package management](https://ubuntu.com/server/docs/package-management) or [ask ubuntu](https://askubuntu.com/search?q=apt+autoremove) for more information on `apt remove`. -> -> The `azure-cli` deb package does not support ARM64 architecture. ## Installation Options From 8e93ed6e2953fb433b9d407f5e9f059d072c5ee7 Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Tue, 28 Feb 2023 11:43:19 +0800 Subject: [PATCH 2/5] Add note --- docs-ref-conceptual/install-azure-cli-linux.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs-ref-conceptual/install-azure-cli-linux.md b/docs-ref-conceptual/install-azure-cli-linux.md index d470ba4465..771b47bde3 100644 --- a/docs-ref-conceptual/install-azure-cli-linux.md +++ b/docs-ref-conceptual/install-azure-cli-linux.md @@ -21,6 +21,10 @@ When you are ready to install the Azure CLI on Linux, it is recommended to use a [!INCLUDE [current-version](includes/current-version.md)] +> [!NOTE] +> +> The `azure-cli` package supports ARM64 architecture from `2.46.0`. + ::: zone pivot="dnf" [!INCLUDE [cli-install-linux-dnf](includes/cli-install-linux-dnf.md)] From bba45475613247f3519ac3b81770309c4acaabbc Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Wed, 1 Mar 2023 14:58:14 +0800 Subject: [PATCH 3/5] Revert #3505 --- docs-ref-conceptual/includes/cli-install-linux-apt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-ref-conceptual/includes/cli-install-linux-apt.md b/docs-ref-conceptual/includes/cli-install-linux-apt.md index 695e95dae5..75ef058abd 100644 --- a/docs-ref-conceptual/includes/cli-install-linux-apt.md +++ b/docs-ref-conceptual/includes/cli-install-linux-apt.md @@ -57,7 +57,7 @@ If you prefer a step-by-step installation process, complete the following steps sudo chmod go+r /etc/apt/keyrings/microsoft.gpg ``` -3. Add the Azure CLI software repository: +3.
Add the Azure CLI software repository: ```bash AZ_REPO=$(lsb_release -cs) From aef29f14e0ffc596a45f5985d655f6664839e8d3 Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Thu, 2 Mar 2023 15:56:46 +0800 Subject: [PATCH 4/5] Only provides arm64 package for apt dnf tdnf --- docs-ref-conceptual/includes/cli-install-linux-apt.md | 4 ++++ docs-ref-conceptual/includes/cli-install-linux-dnf.md | 4 ++++ docs-ref-conceptual/includes/cli-install-linux-tdnf.md | 4 ++++ docs-ref-conceptual/install-azure-cli-linux.md | 4 ---- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs-ref-conceptual/includes/cli-install-linux-apt.md b/docs-ref-conceptual/includes/cli-install-linux-apt.md index 75ef058abd..8760772c57 100644 --- a/docs-ref-conceptual/includes/cli-install-linux-apt.md +++ b/docs-ref-conceptual/includes/cli-install-linux-apt.md @@ -22,6 +22,10 @@ The `apt` package manager contains an x86_64 package for the Azure CLI that has > [!WARNING] > Ubuntu 20.04 (Focal Fossa) and 20.10 (Groovy Gorilla) include an `azure-cli` package with version `2.0.81` provided by the `universe` repository. This package is outdated and not recommended. If this package is installed, remove the package before continuing by running the command `sudo apt remove azure-cli -y && sudo apt autoremove -y`. See [Ubuntu package management](https://ubuntu.com/server/docs/package-management) or [ask ubuntu](https://askubuntu.com/search?q=apt+autoremove) for more information on `apt remove`. +> [!NOTE] +> +> The `azure-cli` package supports ARM64 architecture from `2.46.0`. + ## Installation Options There are two options to install the Azure CLI on your system. You can download an install script that will run the install commands for you, or you can execute the install commands yourself in a step-by-step process if you prefer. Both methods are provided below. diff --git a/docs-ref-conceptual/includes/cli-install-linux-dnf.md b/docs-ref-conceptual/includes/cli-install-linux-dnf.md index b6831421a8..8240840d27 100644 --- a/docs-ref-conceptual/includes/cli-install-linux-dnf.md +++ b/docs-ref-conceptual/includes/cli-install-linux-dnf.md @@ -24,6 +24,10 @@ For Linux distributions with `dnf` such as RHEL 8/9 or CentOS Stream 8/9, there > > Use the `yum` package manager if you are using Linux systems that does not support the `dnf` package manager. +> [!NOTE] +> +> The `azure-cli` package supports ARM64 architecture from `2.46.0`. + ## Install 1. Import the Microsoft repository key. diff --git a/docs-ref-conceptual/includes/cli-install-linux-tdnf.md b/docs-ref-conceptual/includes/cli-install-linux-tdnf.md index ba0b943cd1..b288a95180 100644 --- a/docs-ref-conceptual/includes/cli-install-linux-tdnf.md +++ b/docs-ref-conceptual/includes/cli-install-linux-tdnf.md @@ -11,6 +11,10 @@ ms.custom: devx-track-azurecli RPMs are released for [CBL-Mariner](https://github.com/microsoft/CBL-Mariner) 2.0. +> [!NOTE] +> +> The `azure-cli` package supports ARM64 architecture from `2.46.0`. + ## Install Install with the `tdnf install` command: diff --git a/docs-ref-conceptual/install-azure-cli-linux.md b/docs-ref-conceptual/install-azure-cli-linux.md index 771b47bde3..d470ba4465 100644 --- a/docs-ref-conceptual/install-azure-cli-linux.md +++ b/docs-ref-conceptual/install-azure-cli-linux.md @@ -21,10 +21,6 @@ When you are ready to install the Azure CLI on Linux, it is recommended to use a [!INCLUDE [current-version](includes/current-version.md)] -> [!NOTE] -> -> The `azure-cli` package supports ARM64 architecture from `2.46.0`. - ::: zone pivot="dnf" [!INCLUDE [cli-install-linux-dnf](includes/cli-install-linux-dnf.md)] From 8a0c7762ccb41e6bd7f3c95c09c0417c1596fa08 Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Wed, 8 Mar 2023 16:05:43 +0800 Subject: [PATCH 5/5] Minor fix --- docs-ref-conceptual/includes/cli-install-linux-apt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-ref-conceptual/includes/cli-install-linux-apt.md b/docs-ref-conceptual/includes/cli-install-linux-apt.md index 8760772c57..9055b63ce2 100644 --- a/docs-ref-conceptual/includes/cli-install-linux-apt.md +++ b/docs-ref-conceptual/includes/cli-install-linux-apt.md @@ -9,7 +9,7 @@ ms.custom: devx-track-azurecli ## Overview -The `apt` package manager contains an x86_64 package for the Azure CLI that has been tested on the following distributions. +The `apt` package manager contains x86_64 and ARM64 packages for the Azure CLI that has been tested on the following distributions. There is no ARM64 package for Ubuntu 18.04. | Distribution | Version | |:-------------|:--------|