files/Rely
zhao d0a2b653ce 更新 Rely/README.md
Signed-off-by: zhao <zhao@noreply.localhost>
2025-01-07 11:28:04 +08:00
..
init_build_environment.sh 添加 Rely/init_build_environment.sh 2025-01-07 11:24:07 +08:00
README.md 更新 Rely/README.md 2025-01-07 11:28:04 +08:00
sources-24.04.list 添加 Rely/sources-24.04.list 2024-12-28 01:59:09 +08:00
ubuntu2204 添加 Rely/ubuntu2204 2024-12-27 15:49:01 +08:00
ubuntu2404 更新 Rely/ubuntu2404 2025-01-07 11:23:10 +08:00

要求

要构建此项目Debian 11 是首选。并且您需要使用基于 AMD64 架构的 CPU至少 4GB RAM 和 25GB 可用磁盘空间。确保 Internet 可访问。

编译OpenWrt需要以下工具不同发行版的包名称有所不同

  • 以下是 Debian/Ubuntu 用户的示例:
    • 方法一 :

      通过 APT 设置依赖项
      sudo apt update -y
      sudo apt full-upgrade -y
      sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
        bzip2 ccache clang cmake cpio curl device-tree-compiler ecj fastjar flex gawk gettext gcc-multilib \
        g++-multilib git gnutls-dev gperf haveged help2man intltool lib32gcc-s1 libc6-dev-i386 libelf-dev \
        libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses-dev libpython3-dev \
        libreadline-dev libssl-dev libtool libyaml-dev libz-dev lld llvm lrzsz mkisofs msmtp nano \
        ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip python3-ply python3-docutils \
        python3-pyelftools qemu-utils re2c rsync scons squashfs-tools subversion swig texinfo uglifyjs \
        upx-ucl unzip vim wget xmlto xxd zlib1g-dev zstd
      
    • 方法二 :

      sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.org/init_build_environment.sh)'