Using dpkg to find package names on Debian Linux 7 (wheezy)


Warning: Undefined array key "socialize_RedditWidget" in /home/phpacd/websites/shkodenko.com/wp-content/plugins/socialize/frontend/socialize-services.php on line 166

To discover what package a file belongs to use command:

# dpkg -S /bin/dash
dash: /bin/dash

We find several packages related to what we’re looking for, together with brief descriptions. To get more information about a specific package, I can then use:

# apt-cache show dash

Read more at https://www.debian.org/doc/manuals/apt-howto/ch-search.en.html