2.7.12. equivs 软件包

如果你从源代码编译了一个程序来代替 Debian 软件包,最好将它做成一个真正的本地 Debian 软件包(*.deb)并使用私人档案库。

如果你选择从源代码编译一个程序并将它安装到 “/usr/local”,你可能需要使用 equivs 作为最后步骤来满足缺失的软件包依赖。

  1. Package: equivs
  2. Priority: optional
  3. Section: admin
  4. Description: Circumventing Debian package dependencies
  5. This package provides a tool to create trivial Debian packages.
  6. Typically these packages contain only dependency information, but they
  7. can also include normal installed files like other packages do.
  8. .
  9. One use for this is to create a metapackage: a package whose sole
  10. purpose is to declare dependencies and conflicts on other packages so
  11. that these will be automatically installed, upgraded, or removed.
  12. .
  13. Another use is to circumvent dependency checking: by letting dpkg
  14. think a particular package name and version is installed when it
  15. isn't, you can work around bugs in other packages' dependencies.
  16. (Please do still file such bugs, though.)