如果你在某些方面算得上是有经验的 Debian 用户 [1] 的话,你可能遇上过这样的情况:
如果你想要创建一个 Debian 软件包来满足你的需求,并将你的工作与社区分享,你便是本篇指南的目标读者,即未来的 Debian 维护者。[2] 欢迎来到 Debian 社区。
Debian has many social and technical rules and conventions to follow since it is a large volunteer organization with history. Debian also has developed a huge array of packaging tools and archive maintenance tools to build consistent sets of binary packages addressing many technical objectives:
These make it somewhat overwhelming for many new prospective Debian maintainers to get involved with Debian. This guide tries to provide entry points for them to get started. It describes the following:
作者在更新原有的使用 dh-make 软件包的“新维护者手册”时感受到了文档的局限性。因此,作者决定创建一个替代工具并编写其对应的文档以解决某些现代的需求。其成果便是 debmake(当前版本:4.3.0))软件包,以及这篇更新的“Debian 维护者指南”,可从 debmake-doc(当前版本:1.10-1)软件包获取。
许多杂项事务和小提示都集成进了 debmake 命令,以使本指南内容简单易懂。本指南同时提供了许多打包示例。
![]() |
小心 |
---|---|
合适地创建并维护 Debian 软件包需要占用许多时间。Debian 维护者在接受这项挑战时一定要确保 既能精通技术又能勤勉投入精力。 |
某些重要的主题会详细进行说明。其中某些可能看起来和你没什么关系。请保持耐心。某些边角案例会被跳过。某些主题仅使用外部链接提及。这些都是有意的行文安排,目标是让这份指南保持简单而可维护。
[1] 你的确需要对 Unix 编程有所了解,但显然没必要是这方面的天才。在 Debian 参考手册 中,你可以了解到使用 Debian 系统的一些基本方法和关于 Unix 编程的一些指引。
[2] 如果你对分享 Debian 软件包不感兴趣,你当然可以在本地环境中将上游的源码包进行编译并安装至 /usr/local 来解决问题。