Install build dependency for package.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 19 Feb 2011 13:55:37 +0200
changeset 820 f4e4c7bef954
parent 813 34a39aae2618
child 821 6dfed9a6cf5f
Install build dependency for package.
debian-apt.rst
--- a/debian-apt.rst	Thu Feb 17 00:09:00 2011 +0200
+++ b/debian-apt.rst	Sat Feb 19 13:55:37 2011 +0200
@@ -47,3 +47,13 @@
 
   $ gpg --export 9AA38DCD55BE302B | sudo apt-key add -
 OK
+
+* Install build dependency for package.
+
+  $ apt-get install build-essential    # install dev LIBC and GCC C/C++
+  $ sudo apt-get build-dep $package
+
+If all you want is checking what packages are needed to build a given package:
+
+  $ apt-cache showsrc package
+