Binary files for Python 3.
This repository provides pre-built Python binaries for Linux. Follow the steps below to use them:
-
Download the Binary
- Navigate to the [Releases](https://github.com/ anubhavkrishna1/python3-binary/releases) section of this repository.
- Download the appropriate binary archive (
.tar.gzor.zip) for your desired Python version and architecture.
-
Extract the Binary
- For
.tar.gzfiles:
tar -xvzf python-<version>-linux-<arch>.tar.gz
tar -xvzf python-<version>-linux-<arch>.tar.gz -C /desired/path
- For
.zipfiles:
unzip python-<version>-linux-<arch>.zip
unzip python-<version>-linux-<arch>.zip -d /desired/path
- For
-
Set Up Environment
- Add the extracted binary directory to your
PATH:export PATH=/desired/path/bin:$PATH
- Verify the installation:
python3 --version
- Add the extracted binary directory to your
-
Start Using Python
- You can now use the custom Python binary for your projects.
This repository provides a GitHub Actions workflow to build a custom Python version. Follow the steps below to build your own version:
-
Fork the Repository
- Click the "Fork" button at the top-right corner of this repository to create your own copy.
-
Navigate to Actions
- Go to the "Actions" tab in your forked repository.
-
Trigger the Workflow
- Select the "Build and Release Python Binary" workflow from the list.
- Click the "Run workflow" button.
- Provide the desired Python version (e.g.,
3.11.7) in the input field. - Click "Run workflow" to start the build process.
-
Wait for the Build to Complete
- The workflow will compile the specified Python version with optimizations and create binary archives.
-
Download the Artifacts
- Once the workflow completes, navigate to the "Actions" tab.
- Select the completed workflow run.
- Download the generated binary files from the "Artifacts" section.
-
Use the Binary
- Follow the instructions in the "Usage" section above to extract and use the custom Python binary.