summaryrefslogtreecommitdiffstats
path: root/software/debian.page
diff options
context:
space:
mode:
Diffstat (limited to 'software/debian.page')
-rw-r--r--software/debian.page14
1 files changed, 14 insertions, 0 deletions
diff --git a/software/debian.page b/software/debian.page
index 8b32dfd..4e64ae4 100644
--- a/software/debian.page
+++ b/software/debian.page
@@ -59,7 +59,21 @@ Debian Package Tools
``dkpg -S somefile`` shows what packages a given file were installed by. ``dpkg
-L somepackage`` lists all the files installed by that package.
+``apt-rdepends -r somepackage`` shows all packages depending on a given
+package, recursively. You probably just want the first group, not the full
+recursive tree.
+
To *not* install "recommended" or "suggested" packages, pass ``-R`` as an
argument to ``aptitute``. To find out *why* a package has been installed (or
guess why it might be?) use the ``aptitude why <package>`` command.
+To extract the contents of a .deb file, use the ``ar`` command, then extract
+data.tar.gz:
+
+ ar vx somepackage.deb
+ tar xvf data.tar.gz
+
+Debian Packaging
+-------------------
+
+sudo aptitude install gcc-4.4-arm-linux-gnueabi