Before you can use this, you need to
- install
apt-file
viaapt-get install -y apt-file
- at least have populated the database once via
apt-file update
Before you can use this, you need to
apt-file
via apt-get install -y apt-file
apt-file update
#!/bin/sh | |
exec ldd "$@" |\ | |
grep -o '=> [^ ]\+' |\ | |
awk '{print $2}' |\ | |
while read file; do | |
apt-file search -l -F $file | |
done |\ | |
sort |\ | |
uniq -u |