sudo apt-cache search 查找库所在的软件

转自 http://hi.baidu.com/idduqhddqervxyr/item/3909e1de19e7cd2b39f6f7c2 
sudo apt-get install 相信大家都熟用在手了
那么这条
sudo apt-cache search
会让你更得以应手,特别是在查找某个库时相当的有用
例如
creek@creek-laptop:~$ sudo apt-cache search libgtkhtml
可以得到以下:
libgtkhtml-editor-common - HTML rendering/editing library - editor widget data
libgtkhtml-editor-dev - HTML rendering/editing library - editor widget development files
libgtkhtml-editor0 - HTML rendering/editing library - editor widget
libgtkhtml2-0 - HTML rendering/editing library - runtime files
libgtkhtml2-dbg - HTML rendering/editing library - detached debugging symbols
libgtkhtml2-dev - HTML rendering/editing library - development files
libgtkhtml3.14-19 - HTML rendering/editing library - runtime files
libgtkhtml3.14-dbg - HTML rendering/editing library - debug files
libgtkhtml3.14-dev - HTML rendering/editing library - development files
libgtkhtml3.16-cil - CLI binding for GtkHTML 3.24
libgtkhtml2-ruby - GtkHTML bindings for the Ruby language
libgtkhtml2-ruby1.8 - GtkHTML bindings for the Ruby language
libgtkhtml2-ruby1.8-dbg - GtkHTML bindings for the Ruby language
libgtkhtml3.8-15 - HTML rendering/editing library - runtime files
libgtkhtml3.8-dbg - HTML rendering/editing library - debug files
libgtkhtml3.8-dev - HTML rendering/editing library - development files

你可能感兴趣的:(sudo apt-cache search 查找库所在的软件)