开发者

Etiquette for adding repository during rpm/deb install

开发者 https://www.devze.com 2022-12-23 12:34 出处:网络
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 t

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

精彩评论

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