You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Arch Linux安装执行pacstrap /mnt base base-devel需下载多少数据?

Estimating pacstrap Download Size for base + base-devel & Fixing Slow Network

Hey there, fellow Arch newbie! I feel your pain—slow downloads during installation are the worst, especially when you're excited to get your system up and running. Let's break this down for you:

Total Download Size for base + base-devel

The combined download size for the base and base-devel package groups (including all their dependencies) typically falls between 300–350 MB (this can vary slightly depending on your mirror and current package versions).

Quick Time Estimate

At your current speed of 10 KiB/s:

  • 1 MB = 1024 KiB, so 300 MB = 307200 KiB
  • Total time needed at steady speed: ~307200 / 10 = 30720 seconds ≈ 8.5 hours
  • If you’ve already been downloading for 2 hours, you’ve likely transferred ~72000 KiB (~70 MB), leaving ~230–280 MB remaining. That’s roughly 6–7.5 more hours at your current rate.

Fixing the Slow Network (Critical Tip!)

Your 10 KiB/s speed is way below normal—this is almost certainly a mirror issue, not your internet connection. Here’s how to fix it mid-install:

  1. Stop the current pacstrap process (press Ctrl+C; don’t worry, pacman will keep partial downloads and resume later)
  2. Update your mirrorlist to use faster sources:
    • Open the mirrorlist file with nano: nano /etc/pacman.d/mirrorlist
    • Add a fast domestic mirror (if you’re in China) to the top of the list (this ensures pacman uses it first):
      Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
      Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
      
    • Or use the reflector tool to auto-select the fastest, recently synced mirrors:
      reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
      
  3. Restart pacstrap: Run pacstrap /mnt base base-devel again. Pacman will automatically resume downloading any partial packages, and you should see a massive speed boost.

This should cut your installation time from hours to minutes—trust me, it’s worth the detour!

内容的提问来源于stack exchange,提问作者Andrew.Wolphoe

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 08:21:30