本文整理 Raspberry Pi、CubieBoard、pcDuino 等 Linux 開源硬體平台所使用的 Raspbian、Arch Linux ARM 等 ARM 次級架構發行版,在國內外的軟體源鏡像站。
歡迎國內的軟體源維護者與 Linux 愛好者留言補充。
註:全志(Allwinner)、瑞芯微(Rockchip)、德儀(TI)等核心的開發板,統稱 ARM Cortex-A 開發板。
Raspbian 源自 Debian 的 armhf 次級架構。Debian/armhf 最低要求 ARMv7,因此社群把 Debian 逆向移植到樹莓派的 ARMv6 CPU 上,形成幾乎專用的 Raspbian。
Raspbian 使用獨立的一套軟體源,但鏡像站格式與套件管理方式(APT)與 Debian 完全一致。
Arch Linux ARM 是社群分支計畫,把 Arch 完整移植到 ARM 架構。它的軟體源同時包含 ARMv6 與 ARMv7 的套件,同一個鏡像站不必調整就能用於各種開發板。
Debian 的軟體源無差別地同時包含各種架構的套件(含 armhf)。若你的 ARM Cortex-A 開發板跑的是 Debian,直接沿用桌上機那套鏡像站即可。
ARM Cortex-A 開發板架構夠高,可以直接裝 Ubuntu for ARM(通常安裝 Linaro 提供的編譯版本)。它使用獨立的一套源,與一般 Ubuntu 源不同,同步者極少但確實存在。
只要系統中 /etc/apt/sources.list 登記的上游是 https://ports.ubuntu.com/ubuntu-ports/,就能使用。CubieBoard、pcDuino、BeagleBone Black 與 Banana Pi 的使用者值得關注這個源。
Pidora 的上游源 https://pidora.ca/pidora/updates/ 目前沒有可用鏡像站;OpenWRT 同樣沒有。
| 地點 | 提供者 | URL | Rspb | alarm | deb | lnr |
|---|---|---|---|---|---|---|
| 搜狐 | https://mirrors.sohu.com/ | ✓ | ✗ | ✓ | ✗ | |
| 阿里雲 | https://mirrors.aliyun.com/ | ✓ | ✗ | ✓ | ✗ | |
| 安徽合肥 | 中國科學技術大學 | https://mirrors.ustc.edu.cn/ | ✓ [1] | ✓ | ✓ | ✗ [5] |
| 遼寧大連 | 大連東軟信息學院 | https://mirrors.neusoft.edu.cn/ | ✓ | ✗ | ✓ | ✗ |
| 湖北武漢 | 華中科技大學 | https://mirrors.hust.edu.cn/ | ✓ | ✓ | ✓ | ✗ |
| 廣東廣州 | 中山大學 | https://mirror.sysu.edu.cn/ | ✓ | ✓ | ✗ | ✗ |
| 北京海澱 | 清華大學學生網管會 | https://mirrors.tuna.tsinghua.edu.cn/ | ✓ | ✓ | ✓ | ✗ |
| 四川成都 | 電子科大凝聚工作室 | https://raspbian.cnssuestc.org/ | ✓ [2] | ✗ | ✗ | ✗ |
| 台灣桃園 | 元智大學 | https://ftp.cse.yzu.edu.tw/ | ✓ | ✗ | ✗ | ✗ |
| 台灣新北 | 淡江大學 | https://ftp.tku.edu.tw/Linux/ | ✗ | ✓ | ✓ | ✗ |
| 台灣新北 | Ubuntu 正體中文站 | https://ftp.ubuntu-tw.org/mirror/ | ✓ | ✗ | ✗ | ✓ |
| 新加坡 | 新加坡國立大學 | https://mirror.nus.edu.sg/ | ✓ | ✓ | ✓ | ✗ |
| 日本 | 北陸先端科學技術大學院大學 | https://ftp.jaist.ac.jp/pub/Linux | ✓ [3] | ✗ | ✓ | ✗ |
| 韓國 | 韓國科學技術院 | https://ftp.kaist.ac.kr/ | ✓ | ✗ | ✓ | ✗ |
| 韓國 | Neowiz Corp. [4] | https://ftp.neowiz.com/ | ✓ | ✗ | ✓ | ✗ |
| 德國 | 亞琛工業大學 | https://ftp.halifax.rwth-aachen.de/ | ✗ | ✓ | ✓ | ✗ |
| 美國 | 麻省理工學院 | https://mirrors.mit.edu/ | ✓ | ✗ | ✓ | ✓ |
| 加拿大 | 滑鐵盧大學 | https://mirror.csclub.uwaterloo.ca/ | ✗ | ✗ | ✓ | ✓ |
僅包含 Debian 的鏡像站不列入。
[1] Raspbian 只是 Debian 7 移植後的檔案集,不容易直接使用。一般使用的 Raspbian 鏡像由樹莓派基金會官方封裝,除了保留 Raspbian 源,還加入基金會自己的源 https://archive.raspberrypi.org/,補充少量由基金會而非 Raspbian 開發者提供的軟體。中科大另外鏡像了這個基金會源。
[2] 專門的 Raspbian 軟體源,從網域名稱即可看出。
[3] 同時提供樹莓派基金會作業系統鏡像下載站的鏡像(/pub/raspberrypi/)。
[4] 穿越火線(Cross Fire)。
[5] 正在討論加入此鏡像。