Last active
June 3, 2019 20:10
-
-
Save rgl/6ebcc3e54949353513c74ca9840cab33 to your computer and use it in GitHub Desktop.
debian package tree graph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# XXX failed attempt at getting a single graph with all the package dependencies... | |
mkdir tmp | |
cd tmp | |
for pkg in `grep-status --not --field=Package --eq '' --show-field=Package -n`; do | |
debtree --show-installed "$pkg" >"$pkg.dot" | |
done | |
cat *.dot | grep -v digraph | grep -v '}'| (echo 'strict digraph "root" {';cat;echo '}') | dot | neato -n2 -Tpng -o example.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment