Install this package:
emerge -a dev-lang/python
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-lang/python
Or alternatively:
emerge --autounmask-write -a dev-lang/python
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.14.4 | 8 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 | $(ver_cut |
<pkgmetadata> <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> </maintainer> <use> <flag name="bluetooth"> Build Bluetooth protocol support in socket module </flag> <flag name="ensurepip"> Install the ensurepip module that uses bundled wheels to bootstrap pip and setuptools (if disabled, it will be only possible to use venv `--without-pip`) </flag> <flag name="jit"> Enable experimental Just-In-Time compilation support. </flag> <flag name="pgo"> Optimize the build using Profile Guided Optimization (PGO) by running Python's test suite and collecting statistics based on its performance. This will take longer to build. </flag> <flag name="tail-call-interp"> Enable the tail call interpreter. May lead to better performance but is still new and dependent on latest toolchain versions (Clang 19, GCC 15). </flag> <flag name="valgrind"> Disable pymalloc when running under <pkg>dev-debug/valgrind</pkg> is detected (may incur minor performance penalty even when valgrind is not used) </flag> <flag name="wininst"> Install Windows executables required to create an executable installer for MS Windows </flag> </use> <upstream> <changelog>https://docs.python.org/3/whatsnew/</changelog> <doc>https://docs.python.org</doc> <bugs-to>https://github.com/python/cpython/issues</bugs-to> <remote-id type="cpe">cpe:/a:python:python</remote-id> <remote-id type="github">python/cpython</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-lang/python |
euse -E <flag> -p dev-lang/python |
euse -D <flag> -p dev-lang/python
| Flag | Description | 3.14.4 |
|---|---|---|
| bluetooth | Build Bluetooth protocol support in socket module | ✓ |
| debug | Build with upstream's CXXFLAGS/LDFLAGS for debugging support; not recommended for normal use. ⚠️ | ✓ |
| ensurepip | Install the ensurepip module that uses bundled wheels to bootstrap pip and setuptools (if disabled, it will be only possible to use venv `--without-pip`) | ⊕ |
| examples | Install acpiexamples binary ⚠️ | ✓ |
| gdbm | ⚠️ | ✓ |
| jit | Enable experimental Just-In-Time compilation support. | ✓ |
| libedit | ⚠️ | ✓ |
| ncurses | Enable the ncurses-based console ⚠️ | ⊕ |
| pgo | Optimize the build using Profile Guided Optimization (PGO) by running Python's test suite and collecting statistics based on its performance. This will take longer to build. | ✓ |
| readline | ⚠️ | ⊕ |
| sqlite | Compile in support for portage's sqlite backend; to actually use it you need additional configuration of portage and eix ⚠️ | ⊕ |
| ssl | Enable raop-sink support (needs <pkg>dev-libs/openssl</pkg>) ⚠️ | ⊕ |
| tail-call-interp | Enable the tail call interpreter. May lead to better performance but is still new and dependent on latest toolchain versions (Clang 19, GCC 15). | ✓ |
| test | Perform tests (slow!) and install compressed test results ⚠️ | ✓ |
| tk | ⚠️ | ✓ |
| valgrind | Disable pymalloc when running under <pkg>dev-debug/valgrind</pkg> is detected (may incur minor performance penalty even when valgrind is not used) | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | Python-3.14.4.tar.xz | 23855332 bytes | 3.14.4 |
| DIST | Python-3.14.4.tar.xz.sigstore | 5219 bytes | 3.14.4 |
| DIST | python-gentoo-patches-3.14.4.tar.xz | 8012 bytes | 3.14.4 |
| Type | File | Size |
|---|