PYTHON-BUILD(1)
π python-build β the manual, but make it slay β¨
okay bestie, so this is the python-build page from the User Commands section of the manual (it's PYTHON-BUILD(1), iykyk) and honestly? it's giving "let me install literally any Python version for you". sit down, hydrate, we're doing this π«Ά
πΈ NAME πΈ
python-build β build and install a Python version using pyenv πβ¨
π SYNOPSIS π
python-build [options] <definition> <prefix>
π¦ DESCRIPTION π¦
So the whole vibe here is: python-build builds and installs a specified version of Python using the pyenv tool. That's it, that's the main character energy.
It gives you a flexible and easy way to install different Python versions into the prefix directory you specify. Multiple Pythons, one prefix at a time, no chaos. periodt π
β¨ OPTIONS β¨
-k,--keepβ do not remove the source tree after installation. like, keep it around, let it live, it's part of the family now π₯Ή-p,--patchβ apply a patch from stdin before building. yes, stdin, feed it the patch through the pipe, slay π©Ή-v,--verboseβ verbose mode: print compilation status to stdout. every last little compile message, right on your screen, no secrets here ππ₯-4,--ipv4β resolve names to IPv4 addresses only. four on the floor, nothing else π-6,--ipv6β resolve names to IPv6 addresses only. six, and only six, bestie π--definitionsβ list all built-in definitions. the whole menu, every entry, iconic π--versionβ show version ofpython-build. who am I? what am I? let's find out β-g,--debugβ build a debug version. for when you want to see the raw, unfiltered truth ππ
π EXAMPLES π
Wanna install a specific version of Python? say less:
$ python-build 3.8.5 /usr/local
Wanna install a Python version with verbose output? the commentary track, basically:
$ python-build --verbose 3.9.0 /usr/local
Wanna force the installation of a Python version? bold of you, love that:
$ python-build --force 3.7.9 /usr/local
π SEE ALSO π
pyenv(1), pyenv-install(1) β the rest of the friend group, go say hi π«Ά
πΈ AUTHORS πΈ
Written by Yamashita, Yuu <peek824545201@gmail.com>, Sam Stephenson <sam@sls.name>. legends, honestly π
This manual page was written by Josenison F. da Silva <nilsonfsilva@hotmail.com> for the Debian project (but may be used by others). okay generous queen, we see you π
this is thepython-buildmanual, February 2025,PYTHON-BUILD(1)β and that's the whole page bestie, go install something, ily, bye πβ¨π¦
π¦ where this page comes from
- debian trixie: pyenv 2.5.4-1 Β· MIT
- ubuntu questing: pyenv 2.5.4-1build1
- ubuntu resolute: pyenv 2.6.8-1 Β· MIT
- ubuntu stonking: pyenv 2.7.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms