debian

Debian中fetchdebian的命令行参数有哪些

小樊
41
2025-12-17 05:52:38
栏目: 智能运维

fetchdebian 是一个用于从 Debian 存储库下载软件包的工具。它允许用户获取 Debian 存储库中的软件包元数据和实际软件包文件。以下是一些常用的 fetchdebian 命令行参数:

基本参数

高级参数

示例用法

# 下载 Debian 11 (Bullseye) 的 main 组件的所有软件包到当前目录
fetchdebian -d bullseye -c main -a amd64

# 下载特定软件包到指定目录
fetchdebian -d bullseye -c main -a amd64 package_name -o /path/to/output

# 仅下载镜像列表
fetchdebian -d bullseye -c main -a amd64 --mirror-only

请注意,fetchdebian 的参数可能会随着版本的更新而发生变化。在使用前,建议查阅最新的官方文档或使用 fetchdebian --help 查看当前版本的参数列表。

0
看了该问题的人还看了