File: install_linux_prerequisites.md

package info (click to toggle)
azure-cli 2.82.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,359,416 kB
  • sloc: python: 1,910,381; sh: 1,343; makefile: 406; cs: 145; javascript: 74; sql: 37; xml: 21
file content (22 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Linux Install Prerequisites
===========================

Some native Linux packages are required when installing the CLI with:

- Interactive installation script
- `pip`

Current supported Python versions are Python 3.10 ~ 3.13.

The commands to run to install the dependencies for some common distributions are listed below.

### Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Debian 11, Debian 12
```
sudo apt-get update && sudo apt-get install -y libssl-dev libffi-dev python-dev build-essential
```

### RHEL 8, CentOS Stream 8, RHEL 9, CentOS Stream 9
Install the latest Python 3.12 available in the software repo.
```
sudo dnf install -y gcc libffi-devel python312-devel openssl-devel
```