File: pyenv-install.1

package info (click to toggle)
pyenv 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,176 kB
  • sloc: sh: 4,727; python: 402; makefile: 70; ansic: 60
file content (77 lines) | stat: -rw-r--r-- 1,941 bytes parent folder | download | duplicates (2)
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).