summaryrefslogtreecommitdiff
path: root/docs/packaging/basics.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/packaging/basics.md')
-rw-r--r--docs/packaging/basics.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/packaging/basics.md b/docs/packaging/basics.md
index 6eafa91..19fdb16 100644
--- a/docs/packaging/basics.md
+++ b/docs/packaging/basics.md
@@ -43,6 +43,15 @@ To remove:
hydractl remove-dep package
+Another way to get dependencies:
+
+ aptitude search '!~i?reverse-depends("^package$")' -F "%p" | xargs aptitude install -y
+
+References:
+
+* [How to install only the dependencies of a package? - Ask Ubuntu](https://askubuntu.com/questions/74478/how-to-install-only-the-dependencies-of-a-package)
+* [How to list/download the recursive dependencies of a debian package? - Stack Overflow](https://stackoverflow.com/questions/22008193/how-to-list-download-the-recursive-dependencies-of-a-debian-package)
+
## Creating the `debian/` structure
If the package wasn't debianized, proceed with