summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2025-03-14 14:01:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2025-03-14 14:01:16 -0300
commit88bb04de624683638ba0cb4a511a77925e5040a2 (patch)
tree27054cd54358a83041f06fa3855dc5808d0bcb77
parent55e61221a1e746fb0e8365748237c48e6d75a8b5 (diff)
downloaddebian-88bb04de624683638ba0cb4a511a77925e5040a2.tar.gz
debian-88bb04de624683638ba0cb4a511a77925e5040a2.tar.bz2
Feat: packaging: basics: another way to get dependencies, plus references
-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