Blame SOURCES/unversioned-python.1

1163ee
.\" unversioned-python.8
1163ee
.TH UNVERSIONED-PYTHON 8 "17 September 2018"
1163ee
.SH NAME
1163ee
unversioned-python \- info on how to set up the `python` command.
1163ee
.SH SYNOPSIS
1163ee
.B unversioned-python
1163ee
.SH DESCRIPTION
1163ee
.B unversioned-python
1163ee
The "unversioned" `python` command (/usr/bin/python) is missing by default.
1163ee
We recommend using `python3` or `python2` instead.
1163ee
If using the explicit versioned command is inconvenient,
1163ee
you can use `alternatives` to configure `python` to launch
1163ee
either Python 3 or Python 2.
1163ee
1163ee
Note: The `python3` or `python2` package needs to be installed before its
1163ee
functionality is selected.
1163ee
1163ee
.SH EXAXPLES
1163ee
.B alternatives
1163ee
.B --config
1163ee
.IR python
1163ee
1163ee
    Interactively select what the `python` command runs.
1163ee
1163ee
1163ee
.B alternatives
1163ee
.B --set
1163ee
.IR python
1163ee
.IR /usr/bin/python3
1163ee
1163ee
    Configure the `python` command to run Python 3
1163ee
1163ee
    Note: this is non-standard behavior according to [PEP 394].
1163ee
1163ee
1163ee
.B alternatives
1163ee
.B --set
1163ee
.IR python
1163ee
.IR /usr/bin/python2
1163ee
1163ee
    Configure the `python` command to run Python 2
1163ee
1163ee
    Note: please review the support lifecycle of python2 before relying on it
1163ee
1163ee
1163ee
.B alternatives
1163ee
.B --auto
1163ee
.IR python
1163ee
1163ee
    Undo configuration changes and revert to the default (missing `python` command)
1163ee
1163ee
1163ee
.SH LINKS
1163ee
1163ee
.B [PEP 394]:
1163ee
.IR https://www.python.org/dev/peps/pep-0394/
1163ee