FetchDebian 是一個用于下載 Debian 操作系統鏡像的工具。它可以幫助你快速找到并下載所需的 Debian 鏡像文件。以下是在 Debian 系統中使用 FetchDebian 的步驟:
更新包列表:
sudo apt update
安裝 FetchDebian:
sudo apt install fetchdebian
列出可用的 Debian 版本和架構:
fetchdebian list
這將顯示所有可用的 Debian 版本及其對應的架構(如 amd64, arm64 等)。
搜索特定的 Debian 版本:
fetchdebian search <version>
例如,如果你想查找 Debian 11 的鏡像,可以運行:
fetchdebian search buster
下載特定的 Debian 鏡像:
fetchdebian download <version> <architecture>
例如,下載 Debian 11 amd64 版本的鏡像:
fetchdebian download buster amd64
下載最新的 Debian 鏡像:
fetchdebian latest <architecture>
例如,下載最新的 Debian 11 amd64 版本的鏡像:
fetchdebian latest amd64
使用 FetchDebian 下載 ISO 文件: FetchDebian 還支持直接下載 ISO 文件。你可以使用以下命令:
fetchdebian iso <version> <architecture>
例如,下載 Debian 11 amd64 版本的 ISO 文件:
fetchdebian iso buster amd64
FetchDebian 允許你配置一些選項,例如默認的下載路徑和鏡像服務器。你可以通過編輯 ~/.fetchdebianrc 文件來進行配置。
例如,設置默認的下載路徑:
download_path = /path/to/download
設置默認的鏡像服務器:
mirror = https://deb.debian.org/debian
--help 選項獲取更多幫助信息。通過以上步驟,你應該能夠在 Debian 系統中順利使用 FetchDebian 來下載所需的 Debian 鏡像文件。