Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Oct 052010
 

Lists the package to which a particular file belongs in Ubuntu

Answer:

Sometimes, you want to know which package contains a file, e.g. "php5.conf", you can try

# dpkg -S php5.conf
libapache2-mod-php5: /etc/apache2/mods-available/php5.conf

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>