How to Install and Uninstall azure-cli Package on Debian 12 (Bookworm)
Last updated: February 17,2025
Notice
You can also install and uninstall the azure-cli on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "azure-cli" package
This tutorial shows how to install azure-cli on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
azure-cli
Copied
2. Uninstall "azure-cli" package
In this section, we are going to explain the necessary steps to uninstall azure-cli on Debian 12 (Bookworm):
$
sudo apt remove
azure-cli
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the azure-cli package on Debian 12 (Bookworm)
Package: azure-cli
Version: 2.45.0-1
Installed-Size: 17
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any, python3-azure-cli (>= 2.45.0-1)
Description: Azure Command-Line Interface (CLI)
Description-md5: e70242073dc6488304f7552a259e60a3
Homepage: https://github.com/Azure/azure-cli
Section: python
Priority: optional
Filename: pool/main/a/azure-cli/azure-cli_2.45.0-1_all.deb
Size: 5924
MD5sum: d000abef3815eb79f84768bdfcdd828d
SHA256: d768fd9de1efc4f3195d3815dd7ecd56b8c8995fff9dbd96b2bc2accb2c5abf6
Version: 2.45.0-1
Installed-Size: 17
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any, python3-azure-cli (>= 2.45.0-1)
Description: Azure Command-Line Interface (CLI)
Description-md5: e70242073dc6488304f7552a259e60a3
Homepage: https://github.com/Azure/azure-cli
Section: python
Priority: optional
Filename: pool/main/a/azure-cli/azure-cli_2.45.0-1_all.deb
Size: 5924
MD5sum: d000abef3815eb79f84768bdfcdd828d
SHA256: d768fd9de1efc4f3195d3815dd7ecd56b8c8995fff9dbd96b2bc2accb2c5abf6