LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-03-2010, 11:26 AM   #1
fuorviatos
Member
 
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
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

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
see
http://forums.spry.com/debian/1351-dpkg-s.html
 
1 members found this post helpful.
Old 04-04-2010, 10:00 AM   #3
fuorviatos
Member
 
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:46 PM.

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