Running sudo apt-get install <PACKAGE>
will install the package, its dependencies, and any other recommended packages.
However, there does not seem to be a way to install only the dependencies of a package and exclude the package itself.
How would one go about doing this?
apt-get build-dep
installs build dependencies, soapt-get -b source
works, but runtime dependencies aren't installed, sodpkg -i *.deb
fails. – Trevor Robinson Jan 26 '12 at 22:03gcc
under version control just because you want to build a package from source. – Ari B. Friedman Apr 13 '14 at 09:18