【问题标题】:How to install build dependencies directly from the debian/control file?如何直接从 debian/control 文件安装构建依赖项?
【发布时间】:2013-06-30 10:23:14
【问题描述】:

我有一个 Debian 源代码包,它包含一个标准的 debian/control 文件,其中列出了“Build-Depends:”字段。

如何在不进行大量复制和粘贴的情况下安装这些构建依赖项?

该软件包不在 Debian 存储库中。所以 apt-get build-dep 不起作用。

【问题讨论】:

    标签: dependencies controls package debian apt


    【解决方案1】:

    尝试使用 devscripts 包中的 mk-build-deps。

    mk-build-deps --install <controfile>
    

    PS:确保你也安装了包equivs

    【讨论】:

    • 是否可以以非交互方式执行此操作?例如--yes?
    • 覆盖默认工具:mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
    猜你喜欢
    • 2012-01-18
    • 2021-08-17
    • 2014-06-24
    • 1970-01-01
    • 2017-03-31
    • 1970-01-01
    • 1970-01-01
    • 2020-10-17
    • 1970-01-01
    相关资源
    最近更新 更多