PYTHON-BUILD(1)

πŸ“¦
version 2.7.1 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… 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 of python-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 the python-build manual, February 2025, PYTHON-BUILD(1) β€” and that's the whole page bestie, go install something, ily, bye πŸ’–βœ¨πŸ¦‹
πŸ“¦ where this page comes from