Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Debian GNU/Linux Reference Guide
Prev Home Next

6.4.1 Information on a file

To find the package to which a particular filename pattern belongs in the installed packages:

     $ dpkg {-S|--search} pattern

Or to find the similar in the Debian archive:

     $ wget
     $ zgrep -e pattern Contents-i386.gz

Or use specialized package commands:

     # aptitude install dlocate  
                      # conflicts with slocate (secure version of locate)
     $ dlocate filename         # fast alternative to dpkg -L and dpkg -S
     # aptitude install auto-apt # on-demand package installation tool
     # auto-apt update          # create db file for auto-apt
     $ auto-apt search pattern  
                     # search for pattern in all packages, installed or not

Debian GNU/Linux Reference Guide
Prev Home Next

  Published under the terms of the GNU General Public License Design by Interspire