apt build-dep <package>

Install/remove packages in an attempt to satisfy the build dependencies for a source package

Arguments

NameDescription
packageThe package you want to build dependencies for

Options

NameDescription
-d, --download-onlyFor any operation that would download packages, download them, but do nothing else
--no-downloadDo not download packages, attempt to use already downloaded packages
-yAssume yes to all prompts
--assume-noAssume no to all prompts
-s, --simulateSimulate running this command and show it's output, without actually changing anything
--host-architecture <architecture>The architecture to build for
--only-source