Arch Linux安装执行pacstrap /mnt base base-devel需下载多少数据?
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:
- Stop the current pacstrap process (press
Ctrl+C; don’t worry, pacman will keep partial downloads and resume later) - 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
reflectortool to auto-select the fastest, recently synced mirrors:reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
- Open the mirrorlist file with nano:
- Restart pacstrap: Run
pacstrap /mnt base base-develagain. 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

