How to install build dependencies directly from the debian/control file?

user975135 picture user975135 · Jul 2, 2013 · Viewed 8.2k times · Source

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.

Answer

Epeli picture Epeli · Oct 17, 2013

Try mk-build-deps from devscripts package.

mk-build-deps --install <controfile>

PS: Make sure you have package equivs installed also.