debian-apt.rst
changeset 820 f4e4c7bef954
parent 735 5c437e2d5fe1
child 821 6dfed9a6cf5f
--- 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
+