Skip to content

anubhavkrishna1/python3-binary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🐍 python3-binary

Binary files for Python 3.

GitHub all releases

πŸš€ Usage

This repository provides pre-built Python binaries for Linux. Follow the steps below to use them:

  1. πŸ“₯ Download the Binary
  • Navigate to the Releases section of this repository.
  • Download the appropriate binary archive (.tar.gz or .zip) for your desired Python version and architecture.
  1. πŸ“¦ Extract the Binary
  • For .tar.gz files:

    tar -xvzf python-<version>-linux-<arch>.tar.gz
    tar -xvzf python-<version>-linux-<arch>.tar.gz -C /desired/path
  • For .zip files:

    unzip python-<version>-linux-<arch>.zip
    unzip python-<version>-linux-<arch>.zip -d /desired/path
  1. πŸ”§ Set Up Environment
  • Add the extracted binary directory to your PATH:

    export PATH=/desired/path/bin:$PATH
  • Verify the installation:

    python3 --version
  1. πŸ’» Start Using Python
  • You can now use the custom Python binary for your projects.

πŸ› οΈ Building Your Own Custom Python Version

This repository provides a GitHub Actions workflow to build a custom Python version. Follow the steps below to build your own version:

  1. 🍴 Fork the Repository

    • Click the "Fork" button at the top-right corner of this repository to create your own copy.
  2. πŸ‘‰ Navigate to Actions

    • Go to the "Actions" tab in your forked repository.
  3. ▢️ 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.
  4. ⏳ Wait for the Build to Complete

    • The workflow will compile the specified Python version with optimizations and create binary archives.
  5. πŸ“€ 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.
  6. ✨ Use the Binary

    • Follow the instructions in the "Usage" section above to extract and use the custom Python binary.