diff --git a/docs-ref-conceptual/includes/cli-install-linux-apt.md b/docs-ref-conceptual/includes/cli-install-linux-apt.md index 5adcfaca8f..1275a3ac88 100644 --- a/docs-ref-conceptual/includes/cli-install-linux-apt.md +++ b/docs-ref-conceptual/includes/cli-install-linux-apt.md @@ -26,7 +26,7 @@ The `apt` package manager contains an x86_64 package for the Azure CLI that has ## Installation Options -There are two options to install the Azure CLI on your system. First, you may execute a single command that will download an install script and run the install commands for you. Or if you prefer, you can execute the install commands yourself in a step-by-step process. Both methods are provided below. +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. ## Option 1: Install with one command @@ -59,7 +59,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) @@ -74,9 +74,9 @@ If you prefer a step-by-step installation process, complete the following steps sudo apt-get install azure-cli ``` -## Install specific version +## Installing a specific version -You must first configure `azure-cli` repository information as shown above. Available versions can be found at [Azure CLI release notes](../release-notes-azure-cli.md). +Configure the `azure-cli` repository information as shown above. Available versions can be found at [Azure CLI release notes](../release-notes-azure-cli.md). 1. To view available versions with command: @@ -100,14 +100,13 @@ If you installed `azure-cli` on `Focal` without adding the Azure CLI software re ### lsb_release does not return the correct base distribution version -Some Ubuntu- or Debian-derived distributions such as Linux Mint may not return the correct version name from `lsb_release`. This value is used in the install process to -determine the package to install. If you know the code name of the Ubuntu or Debian version your distribution is derived from, you can set the `AZ_REPO` value manually when +Some Ubuntu or other Debian-derived distributions (such as Linux Mint) may not return the correct version name from `lsb_release`. This value is used in the install process to +determine the package to install. If you know the code name of the Ubuntu or Debian version that your distribution is derived from, you can set the `AZ_REPO` value manually when [adding the repository](#set-release). Otherwise, look up information for your distribution on how to determine the base distribution code name and set `AZ_REPO` to the correct value. ### No package for your distribution -Sometimes it may be a while after a distribution is released before there's an Azure CLI package available for it. The Azure CLI designed to be resilient with regards to future -versions of dependencies and rely on as few of them as possible. If there's no package available for your base distribution, try a package for an earlier distribution. +Sometimes, an updated Azure CLI package isn't immediately available following a distribution version release. The Azure CLI is designed to be resilient with regards to future versions of dependencies and rely on as few of them as possible. If there's no package available for your base distribution, try a package for an earlier distribution. To do this, set the value of `AZ_REPO` manually when [adding the repository](#set-release). For Ubuntu distributions, use the latest `jammy` repository: @@ -121,7 +120,9 @@ For Debian distributions, use the latest `bullseye` repository: AZ_REPO="bullseye" ``` -Distributions released before Ubuntu Bionic and Debian Buster are not supported. +> [!IMPORTANT] +> +> Distributions released before Ubuntu Bionic and Debian Buster are not supported. ### Elementary OS (EOS) fails to install the Azure CLI @@ -200,7 +201,7 @@ You can also use `apt-get upgrade` to update the CLI package. sudo rm /etc/apt/sources.list.d/azure-cli.list ``` -3. If you use no other packages from Microsoft, remove the signing key: +3. If you are not using other packages from Microsoft, remove the signing key: ```bash sudo rm /etc/apt/trusted.gpg.d/microsoft.gpg diff --git a/docs-ref-conceptual/includes/cli-install-linux-dnf.md b/docs-ref-conceptual/includes/cli-install-linux-dnf.md index 814e52aebc..b6831421a8 100644 --- a/docs-ref-conceptual/includes/cli-install-linux-dnf.md +++ b/docs-ref-conceptual/includes/cli-install-linux-dnf.md @@ -12,7 +12,9 @@ ms.custom: devx-track-azurecli For Linux distributions with `dnf` such as RHEL 8/9 or CentOS Stream 8/9, there are RPM packages for Azure CLI. > [!WARNING] -> Starting from Azure CLI 2.39.0 (released on 08/02/2022), no RPM packages will be released for RHEL 7 and CentOS 7. You may continue to use historical versions of Azure CLI on these systems, but there will be no updates or bugfixes. Consider upgrading to newer versions of RHEL or CentOS to use the latest Azure CLI. +> Starting from Azure CLI 2.39.0 (released on 08/02/2022), no RPM packages will be released for RHEL 7 and CentOS 7. You may continue to use historical versions of Azure CLI on these systems, but there will be no further updates or bug fixes from Microsoft for those versions. +> +> Azure CLI and the Linux [Install script](https://learn.microsoft.com/cli/azure/install-azure-cli-linux?pivots=script) will continue to be developed and supported by Microsoft. Packages provided by Red Hat and CentOS repositories are maintained and supported by their respective distributions. [!INCLUDE [current-version](current-version.md)] @@ -20,7 +22,7 @@ For Linux distributions with `dnf` such as RHEL 8/9 or CentOS Stream 8/9, there > [!NOTE] > -> Use `yum` package manager if you are using Linux systems that don't support `dnf` package manager. +> Use the `yum` package manager if you are using Linux systems that does not support the `dnf` package manager. ## Install @@ -59,7 +61,7 @@ For Linux distributions with `dnf` such as RHEL 8/9 or CentOS Stream 8/9, there sudo dnf install azure-cli ``` -## Install specific version +## Installing a specific version You must first configure `azure-cli` repository information as shown above. Available versions can be found at [Azure CLI release notes](../release-notes-azure-cli.md). @@ -69,7 +71,7 @@ You must first configure `azure-cli` repository information as shown above. Avai dnf list --showduplicates azure-cli ``` -2. To install specific version: +2. To install a specific version: ```bash sudo dnf install azure-cli-