New answers tagged

1

@terdon's answer is great but it is even easier to do this using dpkg-query which unlike apt-file is installed by default on Debian systems. ldd /bin/bash | awk '/=>/{print $(NF-1)}' | while read n; do dpkg-query -S $n; done | sed 's/^\([^:]\+\):.*$/\1/' | uniq This produces a list of packages.



Top 50 recent answers are included