开发者

Etiquette for adding repository during rpm/deb install

We're distributing a commercial application for Linux and we currently make i开发者_JAVA百科t available for download as a .tar.gz, a .rpm, and a .deb. We're setting up both RPM and DEB repositories to make upgrading easier. Is it appropriate to add our repository to /etc/apt/sources.list or /etc/yum.repos.d automatically as part of the initial install? Are there any good reasons not to?


It is a perfectly viable strategy to drop files in /etc/yum.repos.d and /etc/pki/rpm-gpg for the purpose of adding a yum repo. Many popular repos do exactly this. Editing a flat file such as /etc/apt/sources.list is trickier (especially on remove), but it can be done.


Read the Debian policy manual

http://www.debian.org/doc/debian-policy/

If it's not in there, discuss it on one of the Debian developer mailing lists.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜