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
|
.TH PYTHON-BUILD 1 "February 2025" "python-build manual" "User Commands"
.SH NAME
\fBpython-build\fR \- Build and install a Python version using pyenv
.SH SYNOPSIS
\fBpython-build\fR [\fBoptions\fR] <\fBdefinition\fR> <\fBprefix\fR>
.SH DESCRIPTION
The \fBpython-build\fR command builds and installs a specified version of Python using
the \fBpyenv\fR tool. It provides a flexible and easy way to install different Python
versions in the specified \fBprefix\fR directory.
.SH OPTIONS
.TP
\fB-k\fR, \fB--keep\fR
Do not remove source tree after installation.
.TP
\fB-p\fR, \fB--patch\fR
Apply a patch from stdin before building.
.TP
\fB-v\fR, \fB--verbose\fR
Verbose mode: print compilation status to stdout.
.TP
\fB-4\fR, \fB--ipv4\fR
Resolve names to IPv4 addresses only.
.TP
\fB-6\fR, \fB--ipv6\fR
Resolve names to IPv6 addresses only.
.TP
\fB--definitions\fR
List all built-in definitions.
.TP
\fB--version\fR
Show version of python-build.
.TP
\fB-g\fR, \fB--debug\fR
Build a debug version.
.SH EXAMPLES
To install a specific version of Python:
.EX
\fB$ python-build 3.8.5 /usr/local\fR
.EE
To install a Python version with verbose output:
.EX
\fB$ python-build --verbose 3.9.0 /usr/local\fR
.EE
To force the installation of a Python version:
.EX
\fB$ python-build --force 3.7.9 /usr/local\fR
.EE
.SH SEE ALSO
.MR pyenv 1 ,
.MR pyenv-install 1
.SH AUTHORS
Written by Yamashita, Yuu <peek824545201@gmail.com>, Sam Stephenson <sam@sls.name>.
This manual page was written by Josenison F. da Silva <nilsonfsilva@hotmail.com>
for the Debian project (but may be used by others).
|