LinuxCommandLibrary

py3versions

List installed Python 3 interpreter versions

TLDR

List installed Python 3 versions

$ py3versions -i
copy
Show supported versions
$ py3versions -s
copy
Show default version
$ py3versions -d
copy
Show all versions
$ py3versions -v
copy

SYNOPSIS

py3versions [options]

DESCRIPTION

py3versions reports information about Python 3 interpreter versions available on Debian and Ubuntu systems. It distinguishes between installed versions, supported versions for the distribution, and the default version used by the system.
The tool is part of Debian's python3-minimal package and is primarily used by packaging tools and maintainer scripts to determine which Python versions to compile against or clean up. The -i flag shows installed versions, -s shows supported versions, and -d shows the default.

PARAMETERS

-i

Installed versions.
-s
Supported versions.
-d
Default version.
-v
All versions info.
-r
Requested versions.

CAVEATS

Debian/Ubuntu specific. Part of python3-minimal.

HISTORY

py3versions is a Debian utility for Python 3 version management.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community