32

I have a Debian source package, it contains a standard debian/control file, which lists a "Build-Depends:" field.

How can I install those build depends without a lot copy and paste?

The package is not in Debian repository. So apt-get build-dep won't work.

1 Answers1

45

Try mk-build-deps from devscripts package.

mk-build-deps --install <controfile>

PS: Make sure you have package equivs installed also.

Hans Ginzel
  • 8,192
  • 3
  • 24
  • 22
esamatti
  • 18,293
  • 11
  • 75
  • 82
  • 5
    Is it possible to do this non-interactively? e.g. `--yes`? – jshbrntt May 26 '18 at 08:27
  • 19
    Override the default tool: `mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control` – j1elo Aug 02 '18 at 09:21