# build-environment **Repository Path**: QuanbIn30/build-environment ## Basic Information - **Project Name**: build-environment - **Description**: 用于Ubuntu24.04 安装依赖环境 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-10 - **Last Updated**: 2026-06-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dev-env-bundle Ubuntu 24.04 开发环境离线安装方案。 ## 当前已实装 - system:本地 apt 离线仓库构建与安装 - python:pyenv + 多版本 CPython 离线编译安装 - nodejs:nvm + 多版本 Node.js 离线解压安装 - go:goenv + 多版本 Go 离线解压安装 - rust:rustup + 多版本 Rust 离线解压安装 ## 计划中的后续模块 - java - cpp ## 准备 bundle ```bash python3 prepare_bundle.py --langs system,python,nodejs,go,rust --clean ``` ## 安装 ```bash sudo python3 install.py --langs python,nodejs,go,rust sudo python3 install.py --online --langs python,go,rust sudo python3 install.py --all sudo python3 install.py --interactive ``` ## 联网直装(不落 bundle) 如果目标机能联网,可直接在线下载并安装,减少本地 bundle 占用: ```bash sudo python3 install.py --online --langs python,go,rust ``` ## 版本切换 ```bash modules/python/switch.sh 3.11.15 modules/nodejs/switch.sh 20.20.2 modules/go/switch.sh 1.22.8 modules/rust/switch.sh stable ```