# Install python@3.11 with Homebrew, winget, chocolatey, dnf, MacPorts, scoop, zypper, pacman, apk, apt, Nix

Interpreted, interactive, object-oriented programming language. Version 3.11.15 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:python@3.11
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install python@3.11
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install python311
```

  Evidence: MacPorts ports tree: lang/python311/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install python3.11
```

  Evidence: Fedora Rawhide package metadata: python3.11 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install python311
```

  Evidence: openSUSE Tumbleweed package metadata: python311 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S python
```

  Evidence: Arch Linux sync databases: python from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- apk (92%):

```sh
sudo apk add pyc
```

  Evidence: Alpine Linux edge package indexes: pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install python3
```

  Evidence: Debian stable package indexes: python3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#python3
```

  Evidence: nixpkgs package indexes: python3 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- winget (92%):

```sh
winget install --id Python.Python.3.11 -e
```

  Evidence: Windows Package Manager source index: Python.Python.3.11 from https://cdn.winget.microsoft.com/cache/source.msix

- Chocolatey (92%):

```sh
choco install python311
```

  Evidence: Chocolatey community package catalog: python311 from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','pswinupdate'

- Scoop (92%):

```sh
scoop install versions/python311
```

  Evidence: Scoop official bucket manifest trees: bucket/python311.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:python@3.11
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/python@3.11>
- **Version:** 3.11.15
- **Source summary:** Interpreted, interactive, object-oriented programming language
- **Homepage:** <https://www.python.org/>
- **Repository:** <https://github.com/python/cpython>
- **Upstream docs:** <https://docs.python.org/3.11>
- **License:** Python-2.0
- **Source archive:** <https://www.python.org/ftp/python/3.11.15/Python-3.11.15.tgz>
- **Last updated:** 2026-06-25T13:38:04+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- 2to3-3.11 (cli)
- idle3.11 (cli)
- pydoc3.11 (cli)
- python3.11 (cli)
- python3.11-config (cli)
- 2to3-3.11 (alias)
- idle3.11 (alias)
- pydoc3.11 (alias)
- python3.11 (alias)
- python3.11-config (alias)

## Dependencies

- mpdecimal
- openssl@3
- sqlite
- xz

## Build dependencies

- pkgconf

## Uses from macOS

- bzip2
- expat
- libedit
- libffi
- libxcrypt
- ncurses

## Install behavior

- Post-install hook: defined
- Caveats: Python is installed as $HOMEBREW_PREFIX/bin/python3.11 Unversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to `python3.11`, `python3.11-config`, `pip3.11` etc., respectively, are installed into $HOMEBREW_PREFIX/opt/python@3.11/libexec/bin You can install Python packages with pip3.11 install <package> They will install into the site-package directory $HOMEBREW_PREFIX/lib/python3.11/site-packages `idle3.11` requires tkinter, which is available separately: brew install python-tk@3.11 gdbm (`dbm.gnu`) is no longer included in this formula, but it is available separately: brew install python-gdbm@3.11 `dbm.ndbm` changed database backends in Homebrew Python 3.11. If you need to read a database from a previous Homebrew Python created via `dbm.ndbm`, you'll need to read your database using the older version of Homebrew Python and convert to another format. `dbm` still defaults to `dbm.gnu` when it is installed. If you do not need a specific version of Python, and always want Homebrew's `python3` in your PATH: brew install python3 For more information about Homebrew and Python, see: https://docs.brew.sh/Homebrew-and-Python
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.11.15
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://www.python.org/
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for python@3.11. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** python@3.11
- **Version Scheme:** 0
- **Revision:** 3
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- winget - Python.Python.3.11: normalized package name match | Windows Package Manager source index: Python.Python.3.11 from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - python311: package manager index match | MacPorts ports tree: lang/python311/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- dnf - python3.11 - 3.11.15-4.fc45: package manager index match | Fedora Rawhide package metadata: python3.11 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Version 3.11 of the Python interpreter | https://www.python.org/
- dnf - python3.11-debug - 3.11.15-4.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3.11-debug from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Debug version of the Python runtime | https://www.python.org/
- dnf - python3.11-devel - 3.11.15-4.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3.11-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Libraries and header files needed for Python development | https://www.python.org/
- dnf - python3.11-idle - 3.11.15-4.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3.11-idle from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A basic graphical development environment for Python | https://www.python.org/
- dnf - python3.11-libs - 3.11.15-4.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3.11-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Python runtime libraries | https://www.python.org/
- dnf - python3.11-test - 3.11.15-4.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3.11-test from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The self-test suite for the main python3 package | https://www.python.org/
- dnf - python3.11-tkinter - 3.11.15-4.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3.11-tkinter from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A GUI toolkit for Python | https://www.python.org/
- zypper - python311 - 3.11.15-5.2: package manager index match | openSUSE Tumbleweed package metadata: python311 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Python 3 Interpreter | https://www.python.org/
- zypper - python311-32bit - 3.11.15-5.2: package manager index match | openSUSE Tumbleweed package metadata: python311-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Python 3 Interpreter | https://www.python.org/
- zypper - python311-curses - 3.11.15-5.2: package manager index match | openSUSE Tumbleweed package metadata: python311-curses from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Python Interface to the (N)Curses Library | https://www.python.org/
- zypper - python311-dbm - 3.11.15-5.2: package manager index match | openSUSE Tumbleweed package metadata: python311-dbm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Python Interface to the GDBM Library | https://www.python.org/
- zypper - python311-idle - 3.11.15-5.2: package manager index match | openSUSE Tumbleweed package metadata: python311-idle from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | An Integrated Development Environment for Python | https://www.python.org/
- zypper - python311-tk - 3.11.15-5.2: package manager index match | openSUSE Tumbleweed package metadata: python311-tk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | TkInter, a Python Tk Interface | https://www.python.org/
- zypper - python311-x86-64-v3 - 3.11.15-5.2: package manager index match | openSUSE Tumbleweed package metadata: python311-x86-64-v3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Python 3 Interpreter | https://www.python.org/


## Related links

- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cassandra](https://www.automicvault.com/pkg/brew/cassandra/) - Popular package that depends on this formula.
- [python@3.10](https://www.automicvault.com/pkg/brew/python-3-10/) - Package name indicates the same formula family.
- [python@3.12](https://www.automicvault.com/pkg/brew/python-3-12/) - Package name indicates the same formula family.
- [python@3.13](https://www.automicvault.com/pkg/brew/python-3-13/) - Package name indicates the same formula family.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Package name indicates the same formula family.
- [python@3.9](https://www.automicvault.com/pkg/brew/python-3-9/) - Package name indicates the same formula family.
- [python-freethreading](https://www.automicvault.com/pkg/brew/python-freethreading/) - Shares the same upstream homepage.

## Combined YAML source

View the package source record on GitHub. [combined/python@3.11.yml](https://github.com/automic-vault/db/blob/main/combined/python@3.11.yml)


## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
