编写Debian / Ubuntu deb包的资源? [英] Resources on writing a Debian/Ubuntu deb package?

查看:92
本文介绍了编写Debian / Ubuntu deb包的资源?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在准备一个软件包到Ubuntu服务器的安装脚本。我想写一个脚本作为.deb包,它意识到必须事先安装的依赖项(数据库,Web服务器等)。

I'm getting started preparing an installation script for a software package onto an Ubuntu server. I would like to write a script as a .deb package that is aware of dependencies that must be installed beforehand (a database, web server, etc.).

您可以推荐任何教程/资源来帮助新手开发人员开始撰写deb包吗?

Can you recommend any tutorials/resources to help a newbie developer get started writing deb packages?

更新: Canonical有一个彻底的包装指南,它很好地解释了这个过程。

Update: Canonical has a thorough Packaging Guide which explains the process very well.

推荐答案

如果您是全新的构建Debian软件包,建议您查看Debian新维护者指南,并使用 Debian开发人员参考作为参考。作为起点, dh_make (从 dh-make 包)应该给你一个很好的模板来处理。

If you are entirely new to building Debian packages, I suggest that you look at the Debian New Maintainers' Guide and use the Debian Developer's Reference as reference. As a starting point, dh_make (from the dh-make package) should give you a good template to work with.

这篇关于编写Debian / Ubuntu deb包的资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆