Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-03-2010, 11:26 AM   #1
Registered: Nov 2009
Location: Italy actually
Distribution: Ubuntu 9.10, Fedora 12, Free BSD
Posts: 33

Rep: Reputation: 16
short question about dpkg

Hello all.

This is my first post. I hope, I won't break any rules from now.

I'd like to ask you what exactly "dpkg -S" does. I've been discovering this powerful tool recently and I realised much can be done with it.
Since "dpkg -L" look up the content of a package so it gives us an idea about where and what has been installed, but "dpkg -S"? According to the man, it should look up a filename and tell us what package it is featured with? Am I right?

Thanks and have a great Easter
Old 04-03-2010, 11:33 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You can use dpkg -S to figure out what package installed a file on your system
1 members found this post helpful.
Old 04-04-2010, 10:00 AM   #3
Registered: Nov 2009
Location: Italy actually
Distribution: Ubuntu 9.10, Fedora 12, Free BSD
Posts: 33

Original Poster
Rep: Reputation: 16
Thank you repo for explaining things


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "Short read in buffer_copy" error with "dpkg" stalefries Linux - Software 6 03-24-2010 03:19 PM
Short MySQL Question The_Messiah Linux - Networking 2 03-28-2005 03:30 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
A short question about compiling again Al Bundy Linux - Newbie 3 06-12-2003 06:48 AM
Permission question, (short) Stingreen Linux - General 5 03-14-2002 11:19 PM

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration