1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
.TH PYENV-INSTALL 1 "February 2025" "pyenv-install manual" "User Commands"
.SH NAME
\fBpyenv-install\fR \- Install a Python version using python-build
.SH SYNOPSIS
\fBpyenv install\fR [\fBoptions\fR] <\fBversion\fR>...
\fBpyenv install\fR [\fBoptions\fR] <\fBdefinition-file\fR>
\fBpyenv install\fR \fB-l\fR | \fB--list\fR
\fBpyenv install\fR \fB--version\fR
.SH DESCRIPTION
The \fBpyenv install\fR command allows you to install Python versions using
\fBpython-build\fR, a tool for compiling and installing Python versions from source.
.SH OPTIONS
.TP
\fB-l\fR, \fB--list\fR
List all available versions that can be installed.
.TP
\fB-f\fR, \fB--force\fR
Install the version even if it is already installed.
.TP
\fB-s\fR, \fB--skip-existing\fR
Skip the installation if the version is already installed.
.TP
\fB-k\fR, \fB--keep\fR
Keep the source tree in the build root directory after installation.
.TP
\fB-p\fR, \fB--patch\fR
Apply a patch from standard input before building.
.TP
\fB-v\fR, \fB--verbose\fR
Enable verbose mode, printing detailed information during installation.
.TP
\fB--version\fR
Show the version of the python-build tool.
.TP
\fB-g\fR, \fB--debug\fR
Enable debug mode for detailed logging of the installation process.
.SH EXAMPLES
To install a specific version of Python, such as Python 3.9.6:
.EX
\fB$ pyenv install 3.9.6\fR
.EE
To list all available Python versions:
.EX
\fB$ pyenv install --list\fR
.EE
To force the installation of a version even if it is already installed:
.EX
\fB$ pyenv install -f 3.8.10\fR
.EE
To install Python 3.7.9 and keep the source tree after installation:
.EX
\fB$ pyenv install -k 3.7.9\fR
.EE
.SH SEE ALSO
.MR pyenv 1 ,
.MR python-build 1
.SH AUTHORS
Written by Yamashita, Yuu <peek824545201@gmail.com>, Sam Stephenson <sam@sls.name>.
.PP
This manual page was written by Josenison F. da Silva <nilsonfsilva@hotmail.com>
for the Debian project (but may be used by others).
|