Is there a command that installs all the unmet build dependencies that
dpkg-checkbuilddeps would list?
I tried to
sed the output and give it to
apt-get install, but it seems very hacky and for some reason didn't work in some environments.
sudo apt-get install --yes $(dpkg-checkbuilddeps | sed 's/([^)]*)//g' | sed 's/dpkg-checkbuilddeps:\serror:\sUnmet build dependencies://g')
Is there a better way?