Blame SOURCES/unversioned-python.1

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