Skip to content

Feedback #5533

@coendewit

Description

@coendewit

Type of issue

Typo

Feedback

The Linux script is broken because it uses distutils which has been removed starting with Python 3.12.

The following script will work (verified on Linux Arch):

python3 -m venv ~/lib/azure-cli
source ~/lib/azure-cli/bin/activate
pip install --upgrade pip
pip install azure-cli

ln -s ~/lib/azure-cli/bin/az ~/bin/az

Page URL

https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?view=azure-cli-latest&pivots=script

Content source URL

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/Latest-version/install-azure-cli-linux.md

Author

@mikefrobbins

Document Id

8d644a96-8431-d5d0-0f2f-f2a7d48f82e6

Platform Id

031eb491-f1cf-0c10-2303-cca55905c545

Metadata

Metadata

Assignees

Labels

product-bugDescribes a product bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions