• buildpy is a utility for compiling and installing python3 source binaries on Linux.
  • Automatically downloads and compiles Python 2.7 to 3.7+ from source.
  • Manages the installation of Linux OS dependencies to enable python3 advanced runtime features.
  • Optional quiet mode for fully automated, unattended installs.

System-level Python3

  • buildpy compiles, installs, and configures Python binaries for the entire system.
  • If you wish to build Python for a single user, consider pipenv

Back to Table Of Contents

Getting Started

Before starting, we recommended reviewing the following:


Back to Table Of Contents



Download: Available via download in the formats below

Source Code

Back to Table Of Contents

Supported Linux Distributions

Ubuntu, Ubuntu-based Variants

Redhat, Redhat-based Variants


Older versions than listed above may be compatible, but not have not been tested

Back to Table Of Contents


To display the help menu:

$ buildpy --help

Back to Table Of Contents


Code is provided “as is”. No liability is assumed by either the code’s originating author nor this repo’s owner for their use at AWS or any other facility. Furthermore, running function code at AWS may incur monetary charges; in some cases, charges may be substantial. Charges are the sole responsibility of the account holder executing code obtained from this library.

Additional terms may be found in the complete license agreement.

Table Of Contents